[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how can export java?



chloe K wrote:
>   I edit .bash_profile. but it can't work
>    
>   PATH=$PATH:$HOME/bin
> JAVA_HOME="/opt/SUN/jdk/bin"
> export PATH JAVA_HOME
>    
>   what wrong I am?
>    
>   and why I use ln -s /usr/sbin/java /opt/SUN/jdk/bin/java
>    
>   it won't work properly

Why don't you just yum install java-1.6.0-openjdk?

        Kevin Kofler


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]