Problem when trying to run Autoleveller on Mint 19.3 + Linuxcnc.

More
19 Nov 2020 00:28 #189744 by aparecido
Hello everyone, everything good? I'm trying to run the autoleveller software, but it is giving me an error with the installed java, I couldn't solve it, the author of the software suggests installing the JRE version 11 or earlier, I followed tutorials that found and it didn't work with.
I gave permissions using the command #chmod + x AutolevellerAE-0.9.5u2.jar, but it didn't work.
On windows the AutolevellerAE-0.9.5u2.jar file works normally, but on Mint it doesn't open ...
Thanks.

Please Log in or Create an account to join the conversation.

More
19 Nov 2020 01:01 #189746 by tommylight
In synaptics package manager there is a way to lock an older version of installed software
vitux.com/how-to-downgrade-packages-on-ubuntu/
The same is valid for any software under Linux, so choose and lock the JRE.
The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

More
19 Nov 2020 01:07 - 19 Nov 2020 01:11 #189747 by aparecido
I just read the tutorial of the link you posted, in a little while I will be able to test it on the Linuxcnc PC and return the result, thanks a lot.
Last edit: 19 Nov 2020 01:11 by aparecido.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
19 Nov 2020 01:55 #189748 by aparecido
I followed the tutorial to downgrade and fix the version, tested it with the two versions below:
root @ cnc: / home / appeared / Downloads # java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1 ~ 18.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)

root @ cnc: / home / appeared / Downloads # java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1 + 1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1 + 1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

By double-clicking on the file, nothing happens.
Right-clicking and choosing to run with Java 11 or 8, nothing happens either.

In the terminal, running manually, returns this message:
appeared @ cnc: ~ / Downloads $ java -jar AutolevellerAE-0.9.5u2.jar
Error: The main class com.cncsoftwaretools.autoleveller.Autoleveller could not be found or loaded
Caused by: java.lang.NoClassDefFoundError: javafx / application / Application

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 18:38 #189907 by jbraun
Does G-Code Ripper do what you need ?
www.scorchworks.com/Gcoderipper/gcoderipper.html
Or you could google that error

Caused by: java.lang.NoClassDefFoundError: javafx / application / Application

The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 19:27 #189916 by aparecido
I will test, thanks for the indication. On the site I found no tutorial on how to use it with Linuxcnc, would you also have any tutorial on how to use it on linuxcnc?
Thank you again.

Please Log in or Create an account to join the conversation.

More
21 Nov 2020 02:45 #189942 by jbraun
I don't know a guide specific to linux but there is documentation on the scorchworks website and several youtube videos.
If the question is how to run it just download the 'python only zip. Open a terminal and enter
python  name_of_file.py
or
python  /path/to/file/name_of_file.py
If the question is something else feel free to ask as I use the program regularly.
The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

More
21 Nov 2020 09:13 - 21 Nov 2020 09:13 #189964 by aparecido
Thank you again. The probe, did you assemble one or buy a ready one? Do you power what on your machine? Acrylic, wood, printed circuit board?
Last edit: 21 Nov 2020 09:13 by aparecido.

Please Log in or Create an account to join the conversation.

More
21 Nov 2020 20:28 #190007 by jbraun

Self made. The plunger on the dial indicator breaks the beam of the photo interrupter. This is fancier than needed. The only necessary parts are a spring loaded plunger and some way to make/break a circuit. A momentary switch will work if you can find a suitable unit.
If the material you're cutting conducts electricity a switch is not necessary. I cut metals, woods, plastics and some other materials.
Attachments:
The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

More
22 Nov 2020 15:28 #190052 by aparecido
Wow, so a comparator watch ... the accuracy of your probe is very high ...
I'm researching youtube for more probe models, I'll make one and try to use the Gcode reaper.
Thank you again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum