Cannot get to run on ubuntu 18.04 java 8 or 11

Report problems here
Post Reply
bixter1
Posts: 2
Joined: Mon May 13, 2019 8:57 pm

Cannot get to run on ubuntu 18.04 java 8 or 11

Post by bixter1 »

absolutely love this program. I run it on my windows box but would love to run on my linuxcnc box.

Code: Select all

java -jar AutolevellerAE-0.9.5u2.jar 
Error: Could not find or load main class com.cncsoftwaretools.autoleveller.Autoleveller

Code: Select all

java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
I tried a few different versions of Oracle Java and OpenJDK and get roughly the same class error. Any advice?
bixter1
Posts: 2
Joined: Mon May 13, 2019 8:57 pm

Re: Cannot get to run on ubuntu 18.04 java 8 or 11

Post by bixter1 »

I recompiled the source code and all is fine now. Thanks for the awesome app and look for my donation!
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Cannot get to run on ubuntu 18.04 java 8 or 11

Post by daedelus »

Thanks. I compiled it with an earlier version of java:

Code: Select all

java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode, sharing)
so maybe theres something incompatible with the two java 8 versions and is why recompiling works?
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
dmdamen
Posts: 1
Joined: Wed Jun 12, 2019 6:46 pm

Re: Cannot get to run on ubuntu 18.04 java 8 or 11

Post by dmdamen »

Hi,

I'm trying to get it to run on a Raspberry Pi and I'm getting the same error.

I have no experience with Java. Can you tell me how to recompile?

t.i.a.
Post Reply