Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running Overture with JDK/JRE 8 on Windows #414

Closed
joey-coleman opened this issue Feb 11, 2015 · 12 comments
Closed

Problems running Overture with JDK/JRE 8 on Windows #414

joey-coleman opened this issue Feb 11, 2015 · 12 comments
Assignees
Milestone

Comments

@joey-coleman
Copy link
Member

Overture fails to launch on Windows with JDK 8 installed. The following error message was produced on Gareth's machine; he got around it by removing Java 8 and installing Java 7.

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
@joey-coleman joey-coleman added bug Incorrect behaviour of the tool urgent labels Feb 11, 2015
@joey-coleman joey-coleman added this to the v2.2.2 milestone Feb 11, 2015
@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

32-bit windows, fresh Java 8 install works.

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

Also works for 32-bit windows with Java 7 upgraded to 8.

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

Also works for 64 bit windows with concurrent 32 bit Java 8 and 64 bit java 7

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

All of the above also hold for version 2.0.6 (the version the problem was originally reported on),

@gkanos
Copy link
Member

gkanos commented Feb 11, 2015

@ldcouto
Can it be that only the 64bit version of Java 8 is causing problem? Or a specific release of Java 8?
Because from your last comments these looks the only logical possibilities.

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

Also works on 64 bit windows 7 with concurrent 64 bit java 7 and Java 8.

Both 2.2.0 and 2.0.6.

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

Everything also works on standalone 64bit Winows 64 bitJava 8

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

Also works using the JDK instead of the JRE

@ldcouto
Copy link
Member

ldcouto commented Feb 11, 2015

So...

Since all these permutations work, think there is no actual problem here.

Googling around found many instances of this problem. Blame seems to go to Oracle and the bizarre way in which multiple Java versions are set up. The official fix seems to be uninstalling all Java versions and then simply installing Java 8. Suggest adopting same policy if this comes up again.

In the meantime, think bug can be closed.

@joey-coleman joey-coleman added urgent and removed urgent bug Incorrect behaviour of the tool labels Feb 11, 2015
@joey-coleman
Copy link
Member Author

Agreed, we'll file this under 'not-our-problem' :). Thanks for testing out all of the variations.

@lausdahl
Copy link
Member

lausdahl commented Mar 9, 2015

This issue both happen for Overture and Crescendo. It is only overture which displays:

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

The solution is to delete these files from c:\Windows\System32

  • java.exe
  • javaw.exe

We have to make a note or FAQ somewhere to assist the user in solving this. It is correct that this is a Java 8 installer problem which sucks in almost all possible ways. It doesn't install the stuff it should be removed more than it is asked for - not a great installer.

@ldcouto
Copy link
Member

ldcouto commented Mar 11, 2015

Since the FAQ is a website thing, I've created an issue there: overturetool/overturetool.github.io#16

Closing this one again.

@ldcouto ldcouto closed this as completed Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants