Solved

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

Posted on 2003-12-12
11
2,853 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

831 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