Menu

#2692 Application require a Java Runtime Environment 1.8.0

Current Release
not-a-bug
nobody
None
normal
minor
HaveNotTried
none
1.7.9
Windows 10
x64
2021-04-24
2019-07-23
Nuke
No

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.

Discussion

  • Nuke

    Nuke - 2019-07-23

    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?

     
  • Felix Natter

    Felix Natter - 2019-07-27
    • status: new --> not-a-bug
     
  • Mario Fetka

    Mario Fetka - 2019-09-24

    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
  • Tippenring

    Tippenring - 2020-03-05

    A symlink to AdoptOpenJDK's installation worked for me.

    mklink /d "c:\Program Files (x86)\java" "c:\Program Files (x86)\AdoptOpenJDK"

     
  • ion000

    ion000 - 2021-04-07

    Another solution: use the batch instead of launch4j's freeplane.exe.

    java -Xmx512m -Dorg.freeplane.userfpdir="%APPDATA%\\Freeplane" -jar "c:\Program Files\Freeplane\freeplanelauncher.jar" %*
    

    Note that I put absolute path to freeplane.jar, as otherwise starting batch via file association does not work.

    HTH.

     
  • olv

    olv - 2021-04-24

    after set the environment variable, it works.

    FREEPLANE_JAVA_HOME=C:\Program Files\AdoptOpenJDK\jdk-11.0.8.10-hotspot\