LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-02-2005, 02:05 PM   #1
bbmak
Member
 
Registered: May 2004
Posts: 177

Rep: Reputation: 30
java does not install in opt but install in usr


i try to install jre in /opt but the jre install it /usr/java/jre1.5*

how can i install it in the /opt folder? i use the binary file, .bin from Sun
 
Old 10-02-2005, 02:24 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Tell me if these instructions work for you:

http://www.mjmwired.net/resources/mj...-fc4.html#java

What happens when you run the bin file?
If all that is happening is that the bin file is extracting to /usr/, then you can simply move the directory:

# mv /usr/java/jre1.5 /opt/

(make sure to use the correct directory names, the above is just an example)
 
Old 10-02-2005, 02:40 PM   #3
bbmak
Member
 
Registered: May 2004
Posts: 177

Original Poster
Rep: Reputation: 30
the bin file extract and install to /usr/java right away
 
Old 10-02-2005, 02:47 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Hmmm, I think I will have to check this out for myself. There should be no harm in moving the files as I mentioned above.

Please note, unless you plan to use the java packages included in FC4 there really in no harm in leaving the files in /usr.
 
Old 10-02-2005, 02:56 PM   #5
bbmak
Member
 
Registered: May 2004
Posts: 177

Original Poster
Rep: Reputation: 30
i think i have to install tarball because i try to make a bash file in the profile.d and specify the path, but still not working
 
Old 10-02-2005, 09:41 PM   #6
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I just updated to java version "1.5.0_05" and I did not see the behavior as you described. I used jre-1_5_0_05-linux-i586.bin, as I have documented in my link above.

Are you sure you're not using the RPM.bin file? Looks like you are.
 
Old 10-02-2005, 11:13 PM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
sure he's using the rpm.bin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to install software /opt? or /usr/local? sfwalter Linux - General 4 08-23-2013 11:22 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
/usr and /opt in 1 partition hottdogg Linux - General 6 08-16-2005 09:51 AM
/opt or /usr ? eeried Linux - Newbie 1 01-06-2005 04:49 AM
symlinking /opt to /usr/? [GOD]Anck Slackware 6 01-01-2004 11:03 PM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration