FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-28-2007, 08:39 PM
"eng.waleed"
 
Default Java problem

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 ?

Br
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 08:42 PM
Craig White
 
Default Java problem

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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 08:49 PM
Martin Marques
 
Default Java problem

eng.waleed escribió:

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 ?


Don't know about java but use rpm -ql to see what files came in the rpm
package.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 01:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org