Java install on Window xp?

Posted on 2006-04-15
Last Modified: 2012-05-05
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.
Question by:dkim18
    LVL 86

    Accepted 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

    Author Comment

    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.


    Author Comment


    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.
    LVL 86

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    761 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

    7 Experts available now in Live!

    Get 1:1 Help Now