As I started getting the warning from Oracle that my installation is now old and that I would need to get a commercial license, I changed to openjdk JRE 12.0.2 today. I installed the x64 version.
Since installing AdoptOpenJDK JRE 12.0.2, Freemind will not start-up and I get the error "requires a Java Runtime Environment 1.8.0."
The installer has created the PATH variable.
How do I get Freeplane back running again?
Thanks.
I solved this issue but not sure which of the following actually fixed it.
1) I removed AdoptOpenJDK JRE and installed AdoptOpenJDK (JDK).
2) I changed the default installation directory when installing AdoptOpenJDK to c:\Programs\Java instead of c:\Programs\AdoptOpenJDK.
After both of these, FreePlane started up OK.
The installer set the HOME and path variables correctly depending which directory OpenJDK was installed into. But I suspect that FreePlane only looks in c:\Program [x86]\Java and so it couldn't find my java install in \AdoptOpenJDK.
Thoughts?
i also have the same problem. it looks liek the exe cant find the openjdk jre if i only start the bat every thing is ok
after smoe testing it's working if you install java into $ProgrammFiles$/Java them the exe is able to find java.
Last edit: Mario Fetka 2019-09-24
Consider https://www.freeplane.org/wiki/index.php/Command-line_options_and_configuration#Select_Java_installation_used_to_run_Freeplane
A symlink to AdoptOpenJDK's installation worked for me.
mklink /d "c:\Program Files (x86)\java" "c:\Program Files (x86)\AdoptOpenJDK"
Another solution: use the batch instead of launch4j's freeplane.exe.
Note that I put absolute path to freeplane.jar, as otherwise starting batch via file association does not work.
HTH.
after set the environment variable, it works.