2 Replies Latest reply: Jun 23, 2010 6:57 PM by EJP RSS

    Changing java version from 4 to 5 using command prompt

    843810
      My default java version is 1.4 . I want to change to jdk 5 for a particular command prompt session alone. i used the following commands
      java - version
      java version "1.4.2_07"
      set path = C:\java\jdk150_06\bin;%path%
      .C:\bea92\jdk150_04\bin;C:\WINNT\system32;C:\WINNT;
      java - version
      java version "1.4.2_07"

      The version still points to 1.4. What is the method to change it from 1.4 to 1.5 ?

      Thanks..