Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Need to uninstall the previous version of java?

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Thanked 0 Times in 0 Posts

    Default Need to uninstall the previous version of java?

    when i type java -version in the command prompt i get the result as
    java version "1.3.1_01"
    But then i cant find any Java installed in control panel-add or remove programs
    Also after installing the new JDK 6 version java -version is showing the same old version
    And because of this i am not able to run java programs
    i can compile them but when i run i get java.lang.UnsupportedClassVersionError since class file is of a higher version

  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    United Kingdom
    My Mood
    Thanked 294 Times in 227 Posts
    Blog Entries

    Default Re: Need to uninstall the previous version of java?

    Hello akanksha4000.

    Welcome to the Java Programming Forums.

    What version of Windows are you on? You will need to update your Enviroment Variables.

    See if this helps - Java Programming Forums - Java Programming Tutorial - 1 - Installing the JDK
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. slow motion replays of previous games
    By WhatIsJavaAnyhow in forum Java Theory & Questions
    Replies: 10
    Last Post: December 3rd, 2010, 03:45 PM
  2. MarshallableObject for java 6 version
    By AllenK in forum Java SE APIs
    Replies: 12
    Last Post: July 5th, 2010, 02:51 AM
  3. new arrayList element overwrites all previous
    By twinkletoes in forum Object Oriented Programming
    Replies: 2
    Last Post: April 2nd, 2010, 07:45 AM
  4. "java -version" doesn't display proper value.
    By goldest in forum Java Theory & Questions
    Replies: 6
    Last Post: November 1st, 2009, 03:48 PM
  5. [SOLVED] installation procedure for java 1.6 latest version on xp
    By sriraj.kundan in forum Java Theory & Questions
    Replies: 1
    Last Post: June 25th, 2009, 08:18 AM