kaikramer / keystore-explorer

KeyStore Explorer is a free GUI replacement for the Java command-line utilities keytool and jarsigner.
https://keystore-explorer.org/
GNU General Public License v3.0
1.7k stars 275 forks source link

Application does not start with OpenJDK J9 V8 #174

Closed trknz closed 5 years ago

trknz commented 5 years ago

Describe the bug The application does not start on Windows 10 with Eclipse OpenJDK J9. The error message "This application requires a Java Runtime Environment 1.7.0" is shown.

To Reproduce Steps to reproduce the behavior:

  1. Install OpenJDK V8 with J9 VM
  2. Run the application

Environment

kaikramer commented 5 years ago

This is probably a duplicate of https://github.com/kaikramer/keystore-explorer/issues/52

You can find workarounds for this problem in that ticket.

trknz commented 5 years ago

Probably, yes. I just would like to confirm that the application fails to start despite the JAVA_HOME and PATH are configured correctly. So, the temporary workaround I'm using is just running the jar rather than .exe .

kaikramer commented 5 years ago

KSE uses launch4j for the .exe and launch4j right now only checks the registry for Oracle's Java installations but completely ignores JAVA_HOME (or the PATH). That's going to change in the next release of launch4j (see https://sourceforge.net/p/launch4j/feature-requests/127/). When the next launch4j release is out, I'll update KSE and then all the problems with running KSE under Windows should vanish.

Anyway, thanks for taking the time to create a bug report. I'll close this as a duplicate of #52.