LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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, 03:16 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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, 03: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, 04:00 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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, 04: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 04:36 PM. Reason: Include Sources.list
 
Old 06-18-2011, 06:31 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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, 09:15 AM   #7
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Cheers guys,

All worked a treat!
 
  


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


All times are GMT -5. The time now is 12:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration