JDK8 install on Debian Linux

Help for setting up and using
Post Reply
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

JDK8 install on Debian Linux

Post 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/#
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
KenH
Posts: 12
Joined: Thu Oct 03, 2013 6:29 pm

Re: JDK8 install on Debian Linux

Post 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>
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: JDK8 install on Debian Linux

Post 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'
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
KenH
Posts: 12
Joined: Thu Oct 03, 2013 6:29 pm

Re: JDK8 install on Debian Linux

Post 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>
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: JDK8 install on Debian Linux

Post 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.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
fotso
Posts: 2
Joined: Mon Nov 11, 2019 3:17 pm

Re: JDK8 install on Debian Linux

Post 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?
Post Reply