Solved

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

Posted on 2003-12-12
11
2,917 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

726 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