Results 1 to 2 of 2
  1. #1
    sridaran is offline Member
    Join Date
    Dec 2010
    Posts
    5
    Rep Power
    0

    Default Java Version Problem

    I have java version 1.4.2 on my Redhat Linux. I installed jdk-1_5_0_22-linux-i586-rpm.bin version. It also installed successfully on /usr/java folder. Now for the command java -version in the terminal it is displaying:

    java version "1.4.2"
    gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    I need to work on jdk-1_5_0_22 version. Please help.


    R.Sridaran

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    modify the links in the /usr/bin directory to point to the proper commands, or insert the proper bin directories into the PATH (not CLASSPATH) before /usr/bin.

Similar Threads

  1. Problem in Upgrading the RFT version 8.1.1
    By anandarora in forum Eclipse
    Replies: 0
    Last Post: 07-26-2010, 10:16 PM
  2. Version of java
    By waqar100 in forum New To Java
    Replies: 3
    Last Post: 06-04-2010, 04:29 AM
  3. java -version pointing to older version
    By deepakts in forum New To Java
    Replies: 4
    Last Post: 05-06-2010, 09:59 AM
  4. version of java????
    By j2vdk in forum New To Java
    Replies: 6
    Last Post: 09-07-2008, 04:34 PM
  5. compilation error(version problem?)
    By Ms.Ranjan in forum New To Java
    Replies: 3
    Last Post: 07-11-2008, 04:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •