Java install on Window xp?

I had a problem with oracle 9i and uninstalled it.

I had 1.3, 1.4, 1.5 java on my machine and 1.5 was default.
It looks like when i uninstalled oracle it must have deleted my java..
so reinstalled 1.5 and 1.4.

I set my class path to 1.4.

But from my dos, when i do java -version, i get 1.3. Even thoug there is no java 1.3.

How can i change it to 1.4??
Because my eclipse is asking for 1.4 and won't launch.
Spend 4 hours today trying to fix this..

Please help.
dkim18Asked:
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.

CEHJCommented:
>>I set my class path to 1.4.

The version doesn't have anything to do with the classpath

If you want to compile and run from the command line, then place the path to 1.4 bin first in your PATH variable. For Eclipse, add it as a JRE

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
dkim18Author Commented:
I did.

I set path = C:\j2sdk1.4.2_11\bin

From my cmd, when I do jave -version, i still see java 1.3 instead and when i try to compile, it doesn't know javac command.

For the eclipse, i can't even open the eclipse, it won't launch it, i get a little pop up saying, require java 1.4.1 available:java 1.3.

I don't know what to do.

dkim18Author Commented:
fixed.

in the path variable, there was one oracle path which uses java 1.3 and this was sitting before the java 1.4.
I just moved it to the front.
Thanks much anyway.
CEHJCommented:
;-)
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.