Solved

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

Posted on 2003-12-12
11
2,819 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 68
create a gui in perl 3 72
How to simplify a groovy script that reads a WS because the result being sent back is simpler 1 47
diffSum example 4 27
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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 …
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…

864 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now