DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.