LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-05-2006, 12:30 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
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?
 
Old 12-05-2006, 12:52 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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

Last edited by weibullguy; 12-05-2006 at 12:53 PM.
 
Old 12-05-2006, 12:59 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
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?
 
Old 12-05-2006, 03:40 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,889
Blog Entries: 28

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
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.
 
Old 12-05-2006, 05:16 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
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?
 
Old 12-24-2006, 12:04 PM   #6
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Rep: Reputation: 255Reputation: 255Reputation: 255
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
 
Old 12-24-2006, 01:20 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Personally, I prefer the old way.
 
  


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
Java SDK & JRE Install Avi Linux - Software 1 10-02-2005 08:32 PM
Howto install/use java(jre)? eras Linux - Newbie 5 04-12-2005 05:05 PM
Java (jre/sdk) debian install Zaskar Debian 6 04-01-2004 06:32 PM
Java jre-1.3.1_02 can't find libjava.so after install rhammack Linux - Software 0 01-17-2002 09:39 PM

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

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

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