Re: [PLUG] Java errors

2023-10-06 Thread John Jason Jordan
Didn't make any difference. The net came up with other possibilities (swing?), but so far I haven't hit on one that makes any difference. The window size is also a bit too big, but my attempts there have also failed. Michael Ewan dijo: >Try removing the -Dsun.java2d.uiScale=3 option and let the

Re: [PLUG] Java errors

2023-10-06 Thread Michael Ewan
Try removing the -Dsun.java2d.uiScale=3 option and let the JVM choose. On Fri, Oct 6, 2023 at 1:57 AM John Jason Jordan wrote: > SUCCESS!! > > This command did the job: > > PATH=/usr/java/jre1.8.0_381/bin/ > > followed by the launch script. > > The above path is for Oracle Java 8 which

Re: [PLUG] Java errors

2023-10-06 Thread John Jason Jordan
SUCCESS!! This command did the job: PATH=/usr/java/jre1.8.0_381/bin/ followed by the launch script. The above path is for Oracle Java 8 which I downloaded and installed manually myself. I could probably just as easily have used openjdk17 or Oracle 17, both of which are also installed,

Re: [PLUG] Java errors

2023-10-02 Thread John Jason Jordan
This little app is currently running fine on Xubuntu 22.04.3, as it always has, but the Java versions installed there are somewhat different. I decided to experiment, and for my fist venture I uninstalled Oracle JDK 21. Afterwards the error message changed: Exception in thread "main"

Re: [PLUG] Java errors

2023-10-01 Thread Michael Ewan
Unfortunately it sounds like there is a static string in the Java source or possibly in the jar file. You can disassemble the jar file with the "jar" command from the Java runtime. On Sat, Sep 30, 2023 at 6:31 PM John Jason Jordan wrote: > I opened the launch script in a text editor and all it

Re: [PLUG] Java errors

2023-09-30 Thread John Jason Jordan
I opened the launch script in a text editor and all it says is cd /home/jjj/Software/TreeForm103/TreeForm/ java -Xmx256m -Xms64m -jar TreeForm.jar With the command line in ~/Software/TreeForm103/TreeForm I just copied the above line and ran it, and I got the same error message.

Re: [PLUG] Java errors

2023-09-30 Thread Michael Ewan
Your start script may be calling for a specific path rather than a relative path in your JRE. Also try using OpenJDK instead of Oracle Java. Do a text search in your source code for that path. On Sat, Sep 30, 2023 at 2:13 PM John Jason Jordan wrote: > I have a little application for drawing

[PLUG] Java errors

2023-09-30 Thread John Jason Jordan
I have a little application for drawing phrase structure trees that was written in Java, in roughly 2013. The author included a launch script, and it runs fine on Xubuntu 22.04.3, but on Sparky Linux I get: $ ./TreeForm_launch_script Error: could not open