LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trying to Install Java JRE (https://www.linuxquestions.org/questions/linux-software-2/trying-to-install-java-jre-507680/)

carlosinfl 12-05-2006 12:30 PM

Trying to Install Java JRE
 
I am trying to install Java's latest JRE package on my Debian Linux box. I went to their download site and downloaded file to my "Desktop" called "jre-1_5_0_10-linux-i586.bin". I tried Google searching on how I install this file to my Debain system but I have had no luck. I have found a few suggestions however I can't figure this out.

Any suggestions?

weibullguy 12-05-2006 12:52 PM

This is the stuff from Sun's website
Code:

cd /home/<you>/Desktop
chmod +x jre-1_5_0_10-linux-i586.bin
./jre-1_5_0_10-linux-i586.bin

This will move stuff somewhere besides your Desktop. (Note: This is how I install jdk, so you may need to fiddle with the paths a little.)
Code:

cd jre1.5.0_10 &&
install -v -d /opt/jre/jre-precompiled-1.5.0_10 &&
mv -v * /opt/jre/jre-precompiled-1.5.0_10 &&
chown -v -R root:root /opt/jre/jre-precompiled-1.5.0_10 &&
ln -v -sf motif21/libmawt.so \
    /opt/jre/jre-precompiled-1.5.0_10/jre/lib/i386/ &&
ln -v -nsf jre-1.5.0_10 /opt/jre/jre


carlosinfl 12-05-2006 12:59 PM

The 1st part worked. I ran the chmod +x command and then the ./jre... command.

Now I am trying to install Java for Limewire so I am not sure if Limewire needs to have Java as a specific location. Anyone know?

craigevil 12-05-2006 03:40 PM

BAh just add Sid repo and apt-get install sun-java5-jre, unless your running Sarge you should not have any problems just pulling in the Java packages.

carlosinfl 12-05-2006 05:16 PM

If I have a SID repo in my source.list but it is commented out, how do I force APT to run the APT-GET command just that once from the SID URL that is commented out?

Xeratul 12-24-2006 12:04 PM

Quote:

Originally Posted by craigevil
BAh just add Sid repo and apt-get install sun-java5-jre, unless your running Sarge you should not have any problems just pulling in the Java packages.

"unless your running Sarge you should not have any problems"
why the case of sarge is not working... sarge too old ?
For etch only it can be done hence
:newbie:

rickh 12-24-2006 01:20 PM

Personally, I prefer the old way.


All times are GMT -5. The time now is 12:58 AM.