How Can I install Java on TK1 which version should I use?

I try to install Jdk for Linux X64 or i586, both not work. cannot execute binary file: Exec format error

I haven’t looked at what is available, but L4T on Jetson is ARMv7 architecture. Anything x86, x86_64, i386, i486, i586, i686 cannot run.

Have you tried using the package manager? Assuming your network is up and repositories and DNS are configured:

apt-get update
apt search java 2>&1 | less

From the “less” prompt, type:

/^java

(tells it to search for the word “java” at the beginning of the line)

There should be javacc, java-common, and a lot of others. From there something like:

apt-get install javacc

Some suggested packages also show up before entering “y” to accept install.