Re: Java problem

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

 



On Fri, 2007-12-28 at 23:39 +0200, eng.waleed wrote:
> Hi
> I installed the jre from the file jre-6u3-linux-i586-rpm.bin and it
> give me done with no prob , but there is no java file in /usr/bin/ ,
> can any one suggest some thing about that ? 
----
look in /usr/java

if you know what you want, you can create a symbolic link in /usr/bin
but that should never be necessary.

What you probably want to do is set some environmental variables...

# cat /etc/profile.d/java.sh
#
# For java-gcj-compat package standard install of fedora
# PATH=$PATH:/usr/share/java
# CLASSPATH=/usr/share/java
# export CLASSPATH

CLASSPATH=/usr/java/jre
export J2RE_HOME=/usr/java/jre
export PATH=$J2RE_HOME/bin:$PATH
JAVA_HOME=/usr/java/jdk1.6.0_03
export JAVA_HOME

where I have created some symbolic links...

# ls -l /usr/java/
total 4
lrwxrwxrwx 1 root root   16 2007-12-17 11:50 default -> /usr/java/latest
drwxr-xr-x 9 root root 4096 2007-12-17 11:50 jdk1.6.0_03
lrwxrwxrwx 1 root root   26 2007-12-17 11:51 jre
-> /usr/java/jdk1.6.0_03/jre/
lrwxrwxrwx 1 root root   21 2007-12-17 11:50 latest
-> /usr/java/jdk1.6.0_03

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux