install java on Debian Sarge Stable ?

If none of the more specific forums is the right place to ask

install java on Debian Sarge Stable ?

Postby cc » 2005-12-21 13:07

hi

howto install java on Debian Sarge Stable ?

kind regards
cc
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Postby Harold » 2005-12-21 16:01

Add the following line to /etc/apt/sources.list:
deb ftp://ftp.tux.org/java/debian/ stable non-free

Then:
apt-get update && apt-get install j2re1.4
Harold
 
Posts: 1502
Joined: 2005-01-07 00:15

Postby hakker82 » 2005-12-21 16:08

try java-package
IBM R50e
debian testing
kernel-2.6.14.4
hakker82
 
Posts: 6
Joined: 2005-10-10 14:52

Postby cc » 2005-12-21 16:13

thanks a lot

I've installed according to:
http://www.debianforum.de/wiki/JavaPackageGenerator

and it works well now.
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Postby domecq » 2005-12-27 19:27

Another option is follow the instructions in the article:

http://www.debian-administration.org/articles/142

The idea is to generate a "deb" package customized for your computer, what makes it easier to uninstall/upgrade with Synaptic, apt-get, or dpkg.

I used it and it works very well.

By the way, the main page, www.debian-administration.org, is a good source of Debian-related tips.

Cheers,

Domecq
User avatar
domecq
Moderator Team Member
 
Posts: 560
Joined: 2005-10-18 00:53
Location: Montréal, Canada

Postby Foxmuldar » 2006-05-14 00:46

Add the following line to /etc/apt/sources.list:
deb ftp://ftp.tux.org/java/debian/ stable non-free

how do i do that? :-)
Foxmuldar
 
Posts: 137
Joined: 2005-12-15 23:46
Location: Alabama

Postby Harold » 2006-05-14 00:48

What text editor do you use?
Harold
 
Posts: 1502
Joined: 2005-01-07 00:15

Postby Foxmuldar » 2006-05-14 00:53

Kate
Foxmuldar
 
Posts: 137
Joined: 2005-12-15 23:46
Location: Alabama

Postby Harold » 2006-05-14 01:47

Open a terminal.
su to root.
Launch Kate from the terminal.
In Kate, open /etc/apt/sources.list.
Add a new line at the bottom of the file: deb ftp://ftp.tux.org/java/debian/ stable non-free
Save the file.
Do apt-get update and your computer will then have a new package source.
Harold
 
Posts: 1502
Joined: 2005-01-07 00:15

Postby ajdlinux » 2006-05-14 04:44

Um, you may need to run:

xhost +

before you su.
ajdlinux
 
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Postby Guest » 2006-05-16 00:42

I did as you said Harold, and got this:

debian:/home/fm# apt-get update && apt-get install j2re1.4
E: Malformed line 17 in source list /etc/apt/sources.list (dist parse)

this is the line i added to /etc/apt/sources.list:

deb ftp://ftp.tux.org/java/debian/stable non-free
Guest
 

Postby Tylar M » 2006-05-16 03:06

New here and recently converted from ubuntu to debian :shock:

Anyways Here is what I did to get java 1.5.0.6 on sarge

http://java.sun.com/j2se/1.5.0/download.jsp
then Download jre 5.0 update 6


sudo apt-get install java-package

change to the directory where it was downloaded

DEB_BUILD_GNU_TYPE=i386-linux fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin
sudo dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb
Tylar M
 
Posts: 2
Joined: 2006-05-16 02:53
Location: Suwanee, GA, USA


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable