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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-02-2005, 03:05 PM
|
#1
|
Member
Registered: May 2004
Posts: 178
Rep:
|
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
|
|
|
10-02-2005, 03:24 PM
|
#2
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
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)
|
|
|
10-02-2005, 03:40 PM
|
#3
|
Member
Registered: May 2004
Posts: 178
Original Poster
Rep:
|
the bin file extract and install to /usr/java right away
|
|
|
10-02-2005, 03:47 PM
|
#4
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
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.
|
|
|
10-02-2005, 03:56 PM
|
#5
|
Member
Registered: May 2004
Posts: 178
Original Poster
Rep:
|
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
|
|
|
10-02-2005, 10:41 PM
|
#6
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
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.
|
|
|
10-03-2005, 12:13 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
sure he's using the rpm.bin
|
|
|
All times are GMT -5. The time now is 12:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|