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 <joh...@gmx.com> wrote:

> 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. Then I
> deleted the -Xm... options and ran it bare, and again I got the same
> error message. It might be useful to know what those options do. Window
> size, maybe? In any event, they don't seem related to the error message.
>
> Checking in Synaptic I have had OpenJDK installed the whole time. Is
> there a way to tell the java -jar command which java to use? As for
> paths, do you mean the path to the java? I know where the Oracle Java 8
> is located, because there were 'install' instructions telling me to put
> it in /usr/java/jre1.8.0_381, so that's where I put it. It must be
> correct because LibreOffice found it and listed it as available. I don't
> know where the others are.
>
> There is a Help file with TreeForm, which says at the top:
>
>         To install this software in your computer, unzip the folder in
>         any folder of your choosing.
>         This software requires Java 1.4.2 or higher to run. The Java
>         runtime can be downloaded from the <link>Java Website.</link>
>
> Michael Ewan <michaelewa...@gmail.com> dijo:
> >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.
>
> >>    $ ./TreeForm_launch_script
> >>    Error: could not open `/usr/lib/jvm/jdk-21-oracle-x64/lib/jvm.cfg'
>
>

Reply via email to