Installing Java JDK on debian sarge

Status
Not open for further replies.

aaronkupen

Fully Optimized
Messages
1,848
Location
Pittsburgh, PA
I was able to install it by downloading the file and then going through the installer. I then set the PATH variable and it worked, but just recently I read and someone else told me that that is not the best way to do it. I read it is better to use the apt tool to do it but I can not figure out how to do it that way.

Can someone walk me through it?
 

The General

Banned
Messages
5,191
apt-get install java-package

That's for Azureus :)

I've always done it the way you did it. They only recently added Java to the apt repository, and I think it's safe to assume its kind of buggy.

Make sure you symlink the Java plugin to Mozilla though.
 

The General

Banned
Messages
5,191
I'll post back when I'm home and have access to my Linux box...
All I have here at work is my laptop (OSX/Winblows) and my Windows box.

I'll get what you need posted in a few hours.
 

aaronkupen

Fully Optimized
Messages
1,848
Location
Pittsburgh, PA
Well this is supposadly "the better way".

apt-get install java-package
fakeroot make-jpkg jdk-1_5_0_07-linux-i586.bin
dpkg -i *.deb

but when I do the second step, it fails near the end because I don't have the necessary permissions to copy a file or something.
 
Status
Not open for further replies.
Top