Solved

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

Posted on 2003-12-12
11
2,757 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
Comment Utility
try uninstalling and reinstalling the jdk.
0
 
LVL 15

Assisted Solution

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

Assisted Solution

by:CEHJ
CEHJ earned 30 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 92

Expert Comment

by:objects
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
0
 
LVL 15

Expert Comment

by:jimmack
Comment Utility
;-)
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
8-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mapBully challenge 6 88
wordappend challenge 8 83
Impossible to extract MSI from new JAVA releases 2 37
eclipse formatting 6 38
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

771 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

13 Experts available now in Live!

Get 1:1 Help Now