• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

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.
  • 2
  • 2
1 Solution
>>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
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:

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.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now