Oracle installed new version and hosed my Java environment
Oracle installed a new version a day or two ago. Now I go to use it and I get:
C:JavaTools>java -version
Error: opening registry key 'SoftwareJavaSoftJava Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
(I find 'SoftwareJavaSoftJava Development Kit' in the registry, but no 'Java Runtime Environment'.)
No doubt something has been hosed in my path or registry or whatever, but I haven't a clue what. Any ideas?
(I did find this but it doesn't appear to address quite the same case. I didn't intentionally muck with any of the Java config, just said "OK" when Oracle asked to update my existing config.)
Cygwin finds these versions of java.exe -- I have no idea which one Oracle has supposedly been updating:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/java.exe
/cygdrive/c/Program Files/Java/jdk1.7.0_07/jre/bin/java.exe
/cygdrive/c/Program Files (x86)/Java/jre7/bin/java.exe
/cygdrive/c/Windows/System32/java.exe
/cygdrive/c/Windows/SysWOW64/java.exe
The only version of javac.exe I could find was at:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/javac.exe
%path% includes:
C:"Program Files"Javajdk1.7.0_07bin
(I know I shouldn't have said "OK" when Oracle asked to update, but I was busy with something else and wanted to get it out of the way. That'll teach me!!)
Update: I finally just deleted and reloaded Java. One thing I was unsure of is whether I should touch the java.exe instances in WindowsSystem32 and WindowsSysWOW64 -- the old ones are still there, but don't seem to cause trouble. (I did delete the other paths, finally, after finding and killing the background job that was referencing some of he files.) Had to manually update %path% with the new version number. But Java seems to be working again.
java dll windows-registry runtime
migrated from stackoverflow.com Jul 24 '14 at 0:21
This question came from our site for professional and enthusiast programmers.
add a comment |
Oracle installed a new version a day or two ago. Now I go to use it and I get:
C:JavaTools>java -version
Error: opening registry key 'SoftwareJavaSoftJava Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
(I find 'SoftwareJavaSoftJava Development Kit' in the registry, but no 'Java Runtime Environment'.)
No doubt something has been hosed in my path or registry or whatever, but I haven't a clue what. Any ideas?
(I did find this but it doesn't appear to address quite the same case. I didn't intentionally muck with any of the Java config, just said "OK" when Oracle asked to update my existing config.)
Cygwin finds these versions of java.exe -- I have no idea which one Oracle has supposedly been updating:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/java.exe
/cygdrive/c/Program Files/Java/jdk1.7.0_07/jre/bin/java.exe
/cygdrive/c/Program Files (x86)/Java/jre7/bin/java.exe
/cygdrive/c/Windows/System32/java.exe
/cygdrive/c/Windows/SysWOW64/java.exe
The only version of javac.exe I could find was at:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/javac.exe
%path% includes:
C:"Program Files"Javajdk1.7.0_07bin
(I know I shouldn't have said "OK" when Oracle asked to update, but I was busy with something else and wanted to get it out of the way. That'll teach me!!)
Update: I finally just deleted and reloaded Java. One thing I was unsure of is whether I should touch the java.exe instances in WindowsSystem32 and WindowsSysWOW64 -- the old ones are still there, but don't seem to cause trouble. (I did delete the other paths, finally, after finding and killing the background job that was referencing some of he files.) Had to manually update %path% with the new version number. But Java seems to be working again.
java dll windows-registry runtime
migrated from stackoverflow.com Jul 24 '14 at 0:21
This question came from our site for professional and enthusiast programmers.
1
In Java control panel make sure the path forUser
andSystem
set asC:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this settingjava -version
is working fine.
– Ĭsααc tիε βöss
Jul 31 '14 at 11:00
add a comment |
Oracle installed a new version a day or two ago. Now I go to use it and I get:
C:JavaTools>java -version
Error: opening registry key 'SoftwareJavaSoftJava Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
(I find 'SoftwareJavaSoftJava Development Kit' in the registry, but no 'Java Runtime Environment'.)
No doubt something has been hosed in my path or registry or whatever, but I haven't a clue what. Any ideas?
(I did find this but it doesn't appear to address quite the same case. I didn't intentionally muck with any of the Java config, just said "OK" when Oracle asked to update my existing config.)
Cygwin finds these versions of java.exe -- I have no idea which one Oracle has supposedly been updating:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/java.exe
/cygdrive/c/Program Files/Java/jdk1.7.0_07/jre/bin/java.exe
/cygdrive/c/Program Files (x86)/Java/jre7/bin/java.exe
/cygdrive/c/Windows/System32/java.exe
/cygdrive/c/Windows/SysWOW64/java.exe
The only version of javac.exe I could find was at:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/javac.exe
%path% includes:
C:"Program Files"Javajdk1.7.0_07bin
(I know I shouldn't have said "OK" when Oracle asked to update, but I was busy with something else and wanted to get it out of the way. That'll teach me!!)
Update: I finally just deleted and reloaded Java. One thing I was unsure of is whether I should touch the java.exe instances in WindowsSystem32 and WindowsSysWOW64 -- the old ones are still there, but don't seem to cause trouble. (I did delete the other paths, finally, after finding and killing the background job that was referencing some of he files.) Had to manually update %path% with the new version number. But Java seems to be working again.
java dll windows-registry runtime
Oracle installed a new version a day or two ago. Now I go to use it and I get:
C:JavaTools>java -version
Error: opening registry key 'SoftwareJavaSoftJava Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
(I find 'SoftwareJavaSoftJava Development Kit' in the registry, but no 'Java Runtime Environment'.)
No doubt something has been hosed in my path or registry or whatever, but I haven't a clue what. Any ideas?
(I did find this but it doesn't appear to address quite the same case. I didn't intentionally muck with any of the Java config, just said "OK" when Oracle asked to update my existing config.)
Cygwin finds these versions of java.exe -- I have no idea which one Oracle has supposedly been updating:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/java.exe
/cygdrive/c/Program Files/Java/jdk1.7.0_07/jre/bin/java.exe
/cygdrive/c/Program Files (x86)/Java/jre7/bin/java.exe
/cygdrive/c/Windows/System32/java.exe
/cygdrive/c/Windows/SysWOW64/java.exe
The only version of javac.exe I could find was at:
/cygdrive/c/Program Files/Java/jdk1.7.0_07/bin/javac.exe
%path% includes:
C:"Program Files"Javajdk1.7.0_07bin
(I know I shouldn't have said "OK" when Oracle asked to update, but I was busy with something else and wanted to get it out of the way. That'll teach me!!)
Update: I finally just deleted and reloaded Java. One thing I was unsure of is whether I should touch the java.exe instances in WindowsSystem32 and WindowsSysWOW64 -- the old ones are still there, but don't seem to cause trouble. (I did delete the other paths, finally, after finding and killing the background job that was referencing some of he files.) Had to manually update %path% with the new version number. But Java seems to be working again.
java dll windows-registry runtime
java dll windows-registry runtime
edited May 23 '17 at 12:41
Community♦
1
1
asked Jul 23 '14 at 20:31
Daniel R HicksDaniel R Hicks
5,48222145
5,48222145
migrated from stackoverflow.com Jul 24 '14 at 0:21
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Jul 24 '14 at 0:21
This question came from our site for professional and enthusiast programmers.
1
In Java control panel make sure the path forUser
andSystem
set asC:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this settingjava -version
is working fine.
– Ĭsααc tիε βöss
Jul 31 '14 at 11:00
add a comment |
1
In Java control panel make sure the path forUser
andSystem
set asC:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this settingjava -version
is working fine.
– Ĭsααc tիε βöss
Jul 31 '14 at 11:00
1
1
In Java control panel make sure the path for
User
and System
set as C:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this setting java -version
is working fine.– Ĭsααc tիε βöss
Jul 31 '14 at 11:00
In Java control panel make sure the path for
User
and System
set as C:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this setting java -version
is working fine.– Ĭsααc tիε βöss
Jul 31 '14 at 11:00
add a comment |
1 Answer
1
active
oldest
votes
Reinstall JDK and sets system variable. See link
https://www.java.com/en/download/help/path.xml
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f787187%2foracle-installed-new-version-and-hosed-my-java-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Reinstall JDK and sets system variable. See link
https://www.java.com/en/download/help/path.xml
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
add a comment |
Reinstall JDK and sets system variable. See link
https://www.java.com/en/download/help/path.xml
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
add a comment |
Reinstall JDK and sets system variable. See link
https://www.java.com/en/download/help/path.xml
Reinstall JDK and sets system variable. See link
https://www.java.com/en/download/help/path.xml
answered Jul 23 '14 at 21:23
user3765901
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
add a comment |
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
That doesn't seem to be much help.
– Daniel R Hicks
Jul 23 '14 at 21:39
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
I'm sorry, but if you want to get your Java RE up and running in a quickest way possible, you will reinstall. Takes max 10 minutes and is proven to work (for me at least).
– Kitet
Jul 30 '14 at 20:07
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f787187%2foracle-installed-new-version-and-hosed-my-java-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
In Java control panel make sure the path for
User
andSystem
set asC:Program Files (x86)Javajre7binjavaw.exe
screenshot here, with this settingjava -version
is working fine.– Ĭsααc tիε βöss
Jul 31 '14 at 11:00