Solved

Failed reading value of registry key: Software\JavaSoft\Java Runtime

Posted on 2003-12-12
11
2,881 Views
Last Modified: 2012-05-05
I am working on windows2000 pro and using jdk1.3
It was working absolutely fine till I installed Oracle 8i on my machine.
After installing oracle when I execute my class file I get the error.
 
Failed reading value of registry key:
        Software\JavaSoft\Java Runtime Environment\CurrentVersion
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

What should I do to correct this.
0
Comment
Question by:russell_2463
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 92

Expert Comment

by:objects
ID: 9927149
try uninstalling and reinstalling the jdk.
0
 
LVL 15

Assisted Solution

by:jimmack
jimmack earned 30 total points
ID: 9927690
Move to JDK1.4.2 at the same time (if you can) :-)
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 30 total points
ID: 9928016
You could have a look to see if there any ways you could fix this through Oracle's config. AFAIK it has its own Java runtime which may have interfered with your settings.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:russell_2463
ID: 9933349
You are right CEHJ.
I uninstalled jdk1.3 and installed jdk1.4 as objects and jimmack suggested.
But now oracle is not working.When I try on to oracle I am getting the message
Shared realm memory realm does not exist.
Oracle not available.
0
 
LVL 92

Expert Comment

by:objects
ID: 9933362
May be that your db server is not starting up, try starting it to determine the cause.
COuld be a PATH issue, so check that.

0
 
LVL 92

Expert Comment

by:objects
ID: 9933379
More likely to be a windows env issue than an oracle config issue, as the reinstallation of the jdk would not have affected the oracle config.
0
 

Author Comment

by:russell_2463
ID: 9933736
Yes Objects the DB server is not starting because the memory its taking in the is very little.
But how do I start it up.
Guess this is the wrong topic are to ask this ques.
0
 
LVL 92

Accepted Solution

by:
objects earned 90 total points
ID: 9935501
0
 
LVL 92

Expert Comment

by:objects
ID: 9939984
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9940830
;-)
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9941238
8-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question