Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkim18
dkim18

ASKER

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.

Avatar of dkim18

ASKER

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.
;-)