Page 1 of 1

JDK8 install on Debian Linux

Posted: Thu Nov 03, 2016 10:16 am
by daedelus
My LinuxCNC is running on Debian 7.9. To get Autoleveller AE to run on here you first need to install the Oracle JDK8 on your system. Not OpenJDK.

Following steps 1 and 2 here got Oracle JDK 8 installed for me, and AE ran fine...

http://tecadmin.net/install-java-8-on-debian/#

Re: JDK8 install on Debian Linux

Posted: Mon Jun 06, 2022 4:51 pm
by KenH
Hello, thank you for your post back in 2014. Then Oracle's java 8 was the new version. now it seems java 14 is the new version- will Autoleveller AE work with java 14? OR, does the java 8 need to be found and installed?

Thank you for any response.
Ken H>

Re: JDK8 install on Debian Linux

Posted: Wed Jun 08, 2022 10:27 am
by daedelus
Hi KenH,

You are correct that Java 8 was the latest version way back then. Java should be completely backwards compatible though, so you should be able to run anything using Java 8 no matter which later version you use, Oracle Java 14 should be fine.

However, I cant be 100% sure as I dont have easy access to test it. As I said though 'Oracle Java 14 should be fine'

Re: JDK8 install on Debian Linux

Posted: Thu Jun 09, 2022 8:08 pm
by KenH
Thank you for the response. I did get it working now. I currently have 5 versions of java installed
java 8-openjdk
Java-11-openjdk
java 17-openjdk
java -17-oracle
and finally java jre1.8.0.333 which works and allows me to run the AE versions just fine. Just now I changed to Java-17-oracle to attempt to run and the AE version and the AE wouldn't run, but the non-AE versions would run. So, I changed back to java jre1.8.0.333 java and now AR version runs just fine.

Again, please allow to say THANK YOU again for a wonderful and useful program.
Ken H>

Re: JDK8 install on Debian Linux

Posted: Fri Jun 10, 2022 11:30 am
by daedelus
Thanks for letting us know. I guess Java 17 is not 100% backward compatible then.

Java naming conventions are a bit confusing, but to attempt to make things a bit clearer, Java 1.8 equates to Java 8 as Java 1.4 equates to Java 4 etc. JRE is Java Runtime Environment which is what you will need installed to run any Java application. JDK is Java Development Kit which is what you need to program in Java. So to run AE most people will need Oracle JRE 8 (anything higher than 8 is not guaranteed to work). In Linux there is openJDK and Oracle versions and I found only Oracle Java 8 works for AE.

Hope that helps someone.

Re: JDK8 install on Debian Linux

Posted: Thu Dec 22, 2022 11:55 am
by fotso
Hello, thank you for your post back in 2014. Then Oracle's java 8 was the new version. now it seems java 14 is the new version- will Autoleveller AE work with java 14? OR, does the java 8 need to be found and installed?