Results 1 to 5 of 5
- 05-06-2010, 07:05 AM #1
Member
- Join Date
- May 2010
- Posts
- 3
- Rep Power
- 0
- 05-06-2010, 07:11 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 14
Replace the older version from the PATH with the new version.
- 05-06-2010, 07:23 AM #3
Member
- Join Date
- May 2010
- Posts
- 3
- Rep Power
- 0
hi r035198x,
i tried your suggesation by setting PATH to:
PATH .:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/local/bin:/usr/local/etc:/etc:/usr/etc:.:/databases/ORACLE9I/bin:/databases/SYBASE125_ASE/OCS-12_5/bin:/databases/DB2V81_64/bin:/data/ODBC5.1_64/bin:/home/dshankar/jdk1.6.0_05/bin
but still when i type "java -version" it shows :
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-44)
- 05-06-2010, 08:48 AM #4
changing the path will not help, because when you type java your os will search the command in /usr/bin and there is probably a java command that is linked to the file of gij. usually with linux the java version is set with "sudo update-alternatives --config java". you can find a small indroduction here, but you can google yourself for java for ex. linux java alternatives. good luck.
- 05-06-2010, 09:59 AM #5
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 14
Similar Threads
-
How to find java version
By roshithmca in forum New To JavaReplies: 3Last Post: 04-27-2012, 06:10 AM -
java API (SE) version confusion
By Arnold in forum New To JavaReplies: 3Last Post: 04-30-2010, 10:42 AM -
java dumps(1.6 version)
By manieie05 in forum New To JavaReplies: 0Last Post: 04-17-2009, 10:58 AM -
How to upgrade Java version in an application
By New_ToJava in forum New To JavaReplies: 37Last Post: 11-11-2008, 02:22 PM -
version of java????
By j2vdk in forum New To JavaReplies: 6Last Post: 09-07-2008, 04:34 PM
Bookmarks