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 - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-30-2005, 05:59 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Sun Java repositories in apt-get.org


I just searched for the Java 2 SDK repositories in apt-get.org and I found this
http://www1.apt-get.org/search.php?q...arch%5B%5D=all

Can anybody confirm whether the first hit is the official Sun Java packages (and not third party Java packages)?
 
Old 05-30-2005, 06:09 AM   #2
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
You can find them at this repo:

Code:
deb ftp://sunsite.dk/mirrors/java-linux/debian/ testing non-free
You need to install these packages: j2re1.4 j2sdk1.4
Note - it is not latest version.

At official site you can find 1.5 - it is not avialable via Debian repositories.

You can find some instructions about installation of 1.5 there:

http://www.serios.net/
 
Old 05-30-2005, 06:16 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
1.4.x is more than sufficient. Thanks.
 
Old 05-30-2005, 03:57 PM   #4
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally posted by Harishankar
I just searched for the Java 2 SDK repositories in apt-get.org and I found this
http://www1.apt-get.org/search.php?...;arch%5B%5D=all

Can anybody confirm whether the first hit is the official Sun Java packages (and not third party Java packages)?
The best way i found to get the java packages is by using java-package, just download the *.bin from the official sun java site, and this usefull tool converts it to deb, so then you can enjoy the official package installed easily. It's done this way to not break legal things and stuff, because java is still technically sun's only and things like that. If memory servers me right just "apt-get install java-package" and then do make-jpkg *.bin. If it doesnt work just read the manual with man java-package. If you already have java working, well you can also do it other ways, but i think this is the more "debian" way. Enjoy.
 
Old 05-30-2005, 05:17 PM   #5
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
Here's another site with instructions about installing java on Debian. I followed it, and it is great. I say get ver. 1.5 from Sun.
 
Old 05-31-2005, 05:20 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Thanks. I installed the 1.5 version using the steps outlined in the link given in this post by Artik.
 
Old 05-31-2005, 06:35 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
"Java Linux Download Sites"
http://www.blackdown.org/java-linux/java-linux-d2.html
 
Old 05-31-2005, 11:38 PM   #8
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Why not just download and install right from java.sun.com?

(That is, if you want *Sun's* Java. OTOH, you could also install GCC4 to get the newest GCJ/GIJ.)
 
Old 06-01-2005, 03:56 AM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Why not just download and install right from java.sun.com?
If you think you might want to uninstall or upgrade your installed version of java at some time later on, this becomes easier if you've converted the Sun binary into a Debian package. Dpkg keeps track of all the locations of files that have been installed from a certain package and this helps to make very clean uninstalls with no unnecessary clutter left to your disk.
 
Old 06-01-2005, 04:02 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Originally posted by johnMG
Why not just download and install right from java.sun.com?

(That is, if you want *Sun's* Java. OTOH, you could also install GCC4 to get the newest GCJ/GIJ.)
Yes. The real reason is because you introduce a lot of issues like the one Dead Parrot mentioned.

I would like the dpkg package management system to keep a tab on everything that is installed in my system to prevent any dependency problems later on.

Now I can install Java related packages without any issues using apt-get. Eg. tomcat.
 
  


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
Backdoor repositories on Ubuntuguide.org Buffbannana049 Ubuntu 3 12-02-2005 01:41 AM
apt repositories????? BuffloTrace Mandriva 1 05-06-2004 12:09 AM
the best apt repositories bosewicht Linux - Newbie 1 10-07-2003 01:23 PM
CL apt-get repositories? alsosa Conectiva 4 09-15-2003 09:47 AM
APT-Get Repositories For Mandrake Igman Linux - Software 1 08-18-2003 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:39 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
Open Source Consulting | Domain Registration