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

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.
russell_2463Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
try uninstalling and reinstalling the jdk.
0
jimmackCommented:
Move to JDK1.4.2 at the same time (if you can) :-)
0
CEHJCommented:
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
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

russell_2463Author Commented:
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
Mick BarryJava DeveloperCommented:
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
Mick BarryJava DeveloperCommented:
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
russell_2463Author Commented:
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
Mick BarryJava DeveloperCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mick BarryJava DeveloperCommented:
0
jimmackCommented:
;-)
0
CEHJCommented:
8-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.