LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03:05 PM   #1
bbmak
Member
 
Registered: May 2004
Posts: 178

Rep: Reputation: 31
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, 03: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, 03:40 PM   #3
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
the bin file extract and install to /usr/java right away
 
Old 10-02-2005, 03: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, 03:56 PM   #5
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
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, 10: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-03-2005, 12:13 AM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
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-24-2013 12:22 AM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 09:24 PM
/usr and /opt in 1 partition hottdogg Linux - General 6 08-16-2005 10:51 AM
/opt or /usr ? eeried Linux - Newbie 1 01-06-2005 05:49 AM
symlinking /opt to /usr/? [GOD]Anck Slackware 6 01-02-2004 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration