bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
854 stars 99 forks source link

Running this in Ubuntu Linux? #816

Closed randyrue closed 1 month ago

randyrue commented 1 month ago

I'm having a tough time getting this to launch in Ubuntu 22.04 Desktop LTS with the openjdk-17.

Extracted the zip file to a directory on my desktop, added the +x bit for diylc.jar and tried both double-clicking and right-clicking "open with openjdk-17" with no response.

Tried adding the +x bit for run.sh and running it from a terminal. First I got "Error opening zip file or JAR manifest missing : lib/jar-loader.jar" So it seems to be looking in a subdirectory for jar-loader.jar, which is actually in the extracted root directory. Removed the lib subdirectory from that argument in the run.sh line and that error went away.

Next error is "Error: Unable to initialize main class org.diylc.DIYLCStarter Caused by: java.lang.NoClassDefFoundError: org/diylc/common/IPlugInPort"

I've also tailed journalctl while trying it from the terminal and also by double-clicking diylc.jar, with the same errors in the logs.

Tried simpler shell calls like (from within the dir) exec java ./diylc.jar That one actually crashes my terminal window

Is there a howto somewhere on running this in linux?

Update: I found the documentation for installing including Linux and tried the flatpak install with no luck: "error: No remote refs found similar to ‘flathub’"

And the instructions otherwise say to do what I already tried with the +x bit and running run.sh

randyrue commented 1 month ago

found instructions for adding the flathub repo and installing launching DIYLC at flathub.org