jdk 4 path set problem

jiten jha jitenjha11 at googlemail.com
Wed Sep 16 10:27:47 UTC 2009


Hello Friends,

I have jdk4 tar file . copy that tar file in /opt directory and un tar it .
it is create jdk4 folder . after set the path .

export JAVA_HOME=/opt/jdk4
export ANT_HOME=/opt/ant
export PATH=$PATH:${JAVA_HOME}/bin:${ANT_HOME}/bin

When i run java -version command then it is telling me java version is 1.6 .
Before installing jdk 4 in my pc java 1.6 is already installed . I just
remove path of java 6 and install jdk4
but it is not working .
How to set jdk 4 path then it is start working .

-- 
Regards
Jitendra Jha
Jr. Linux System Administrator
Hotwax Media Inc., Indore
+91-9893325765
www.hotwaxmedia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090916/88fa23f4/attachment.html>


More information about the ubuntu-users mailing list