rambaut / figtree

Automatically exported from code.google.com/p/figtree
384 stars 104 forks source link

Requires Java 1.6.0? #153

Open SilentGene opened 4 years ago

SilentGene commented 4 years ago

Hi, I'm using Java 9 on Win10. According to the release log v1.4.4, Figtree is able to run on Java 9, but I got the warning This application requires a Java Runtime Environment 1.6.0 when I try to open it. Anyone knows how to fix this?

SilentGene commented 4 years ago

I found this error only shows up when I open the application by double click FigTree v1.4.4.exe. One of the workarounds is to open it by double click figtree.jar in the lib folder. Looks like the exe file gives a false alarm on the required java version.

Ash1One commented 3 years ago

I have also met this problem that Figtree raised the same error "This application requires a Java Runtime Environment 1.6.0" when I double clicked FigTree v1.4.4.exe. And my Java version is

java 14.0.2 2020-07-14
Java(TM) SE Runtime Environment (build 14.0.2+12-46)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)
kingtrw commented 3 years ago

We're prohibited from using Oracle JRE in a research environment as the license only covers home use. We use AdoptOpenJDK 11 (LTS) instead. Many other research centres may be in a similar situation - perhaps it would be a good idea to change the download prompt from Oracle JRE to OpenJDK JRE?

We also had the problem with trying to run the exe file - switching to using the .jar file has worked fine.

uglylieffy commented 7 months ago

I found this error only shows up when I open the application by double click FigTree v1.4.4.exe. One of the workarounds is to open it by double click figtree.jar in the lib folder. Looks like the exe file gives a false alarm on the required java version.

God bless you, was almost going to uninstall everything.

Lila14 commented 6 days ago

The releases seem to be out of date. What worked for me was using the source code from the repo and building with ant.