LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2011, 02:06 PM   #1
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Rep: Reputation: 16
Installing Java on Debian Lenny


Hello good folks,

Just done a fresh install of debian 5.0, took me ages to install the NVIDIA driver for my old graphics card...phew!! Next I tried to install java and I'm stuck. Read just about everything there is to read on google about installing Java on debian lenny. Got as far as putting the jre-6u26-linux-i586.bin into /usr/java and executed sh ./jre-6u26-linux-i586.bin now I see a new folder in /sr/java named jre1.6.0_26. Then I edited the /etc/profile and added:

export JAVA_PATH=/usr/java/jre1.6.0_26

Rebooted and zilch... sigh!!!

Any ideas to save my sanity?
 
Old 06-18-2011, 02:16 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Make sure you have contrib non-free in your sources.list

apt-get install sun-java6-plugin


Why did you install Lenny when Squeeze is the current Stable?
 
Old 06-18-2011, 02:40 PM   #3
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Thanks

The reason I installed lenny was because I thought that was the latest release (hence the post in the newbie section, sorry!) I also thought that apt-get upgrade would install the latest release, seems that is not the case, arggg what should I do ?
 
Old 06-18-2011, 03:00 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
http://www.howtoforge.com/upgrade-de...w-simple-steps will get you Squeeze. Make sure that you back up any personal files and settings before doing this, just in case. Also read the official line: http://www.debian.org/releases/stabl...rading.en.html
 
1 members found this post helpful.
Old 06-18-2011, 03:11 PM   #5
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Cheers

Thanks guys, on the case now! When you say "Make sure you have contrib non-free in your sources.list" what is the exact line I should add to my sources.list?

Here's what I have now


Quote:
deb http://ukdebian.mirror.anlx.net/debian/ squeeze main
deb-src http://ukdebian.mirror.anlx.net/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://volatile.debian.org/debian-volatile squeeze/volatile main
deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main

Last edited by ludo33; 06-18-2011 at 03:36 PM. Reason: Include Sources.list
 
Old 06-18-2011, 05:31 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by ludo33 View Post
Thanks guys, on the case now! When you say "Make sure you have contrib non-free in your sources.list" what is the exact line I should add to my sources.list?

Here's what I have now
There is no Volatile repo in Squeeze, just add contrib non-free to the end of the first two lines.


If you aren't sure what it should look like take a look at my Giant sources.list and

http://www.linuxquestions.org/questi...nu-linux-3073/
 
1 members found this post helpful.
Old 06-19-2011, 08:15 AM   #7
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Cheers guys,

All worked a treat!
 
  


Reply



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
LXer: Installing Nagios On Debian Lenny And Monitoring A Debian Lenny Server LXer Syndicated Linux News 0 03-08-2011 01:40 AM
[SOLVED] Java plugin does not work with 64 bit debian Lenny, 32 bit Mozilla 3.6.8, java 1.6_20 Drew Eckhardt Debian 1 02-15-2011 12:24 PM
[SOLVED] Symlink for Java on Debian Lenny riganta Linux - Desktop 10 03-11-2010 10:01 AM
debian/lenny + amd64 + java + browser Dims Linux - Newbie 4 05-19-2009 10:32 AM
How to install Sun's Java correctly on Debian/Lenny? Dims Linux - Newbie 5 05-07-2009 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 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