Java JDK 8 early access : problems to install

Hello,

I’ve been trying for few hours to install Java 8 to use later Eclipse (for Java Developers) on my TX1 board.
Java 7 worked well actually but our code uses Java 8 libraries…

I’ve seen on NVIDIA forum that Java JDK 8 early access should work so I downloaded on this website https://jdk8.java.net/download.html JDK 32-bit Linux tar.gz. Then in my Documents directory :

tar zxvf Filename.tar.gz
java -version
bash : java : command not found

According to this site https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html, it should be installed.
What steps are missing to make java work ?

Thanks in advance for your answer,

Jade

You need to add ~/Documents/jdk1.8.0_77/bin (or whatever the path to the bin directory you extracted is) to your PATH. Or specify the full path when running it instead of just “java”.