jdk 4 path set problem
wayan adjust
wayan.adjust at gmail.com
Wed Sep 16 10:36:58 UTC 2009
Try this,
$ echo PATH=$PATH:/opt/jdk4/bin >> ~/.bashrc
$ exit
and try to login aggain.
$ java -version
$ javac -version
On Wed, Sep 16, 2009 at 5:27 PM, jiten jha <jitenjha11 at googlemail.com>wrote:
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090916/b970efd7/attachment.html>
More information about the ubuntu-users
mailing list