LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Sun Java repositories in apt-get.org (https://www.linuxquestions.org/questions/debian-26/sun-java-repositories-in-apt-get-org-328487/)

vharishankar 05-30-2005 05:59 AM

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)?

Artik 05-30-2005 06:09 AM

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/

vharishankar 05-30-2005 06:16 AM

1.4.x is more than sufficient. Thanks.

bobbens 05-30-2005 03:57 PM

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.

rickh 05-30-2005 05:17 PM

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.

vharishankar 05-31-2005 05:20 AM

Thanks. I installed the 1.5 version using the steps outlined in the link given in this post by Artik.

craigevil 05-31-2005 06:35 PM

"Java Linux Download Sites"
http://www.blackdown.org/java-linux/java-linux-d2.html

johnMG 05-31-2005 11:38 PM

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.)

Dead Parrot 06-01-2005 03:56 AM

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.

vharishankar 06-01-2005 04:02 AM

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.


All times are GMT -5. The time now is 03:16 PM.