Java and Debian
phew! ok, running 2.6 kernel. Basis: I want to install everything I need the run and compile java. I've searched these boards, made a coast int he software forum, and googled it. I'm getting more confuzzled by the moment. I assume I need to start by installing the runtime environment. Please, can anyone help with a clear and chronological rundown of how to achieve my goals? I am just totally confuzzled right now. Thanks everyone.
|
Re: Java and Debian
Quote:
Their download page is here: http://www.blackdown.org/java-linux/...atus.html#debs |
I personally wanted to use the Java from Sun, be able to choose the version I want and use it the Debian way (clean packaging solution).
So far, the best documentation I found is available at: http://serios.net/content/debian/java.php It is top notch! In my opinion the best documetation about installing Sun Java on Debian :) This is worth reading as well (first doc that directed me to the previous link) http://www.martinfowler.com/bliki/DebianJava.html Enjoy! ;) |
The Sun route is a decent way to go as well. I have just had problem after problem with using the Sun implementation, most likely because of the way that they want you to install it. If there were a proper .deb package out there for the Sun implementation, I would use it. The nice thing about the Blackdown version (which appears to simply be a repackaged version of the Sun software...it is Java after all) is that it comes in a .deb package that works beautifully with simple installation.
|
The doc I've posted is actually a procedure on how to use java-package to create your own .deb from the Sun installation, in the same way that kernel-package is making a clean .deb from the kernel source.
:study: Please take some time to read it, it's not very long, and it's very clear and easy to implement. :study: Here's the link again, just in case: http://serios.net/content/debian/java.php |
thanks legrosbouc, after a little tinkering it worked like a charm and java -version actually tells me I have java! yay! Now for an ide...
|
My pleasure mate.
I'm even more happy because I opened an account there just to be useful on this particular problem :) Bye |
Quote:
getting Java installed on Sarge in less than 5 minutes without any problems whatsoever. Have fun. |
I agree to the above. to read my installation problems and (in second and third post) succes see:
Java install Good luck installing, just taking the steps will get you there, no doubt! |
I followed the steps but had a some problems.
I'm running 'testing'. To get java-package, I did what was outlined here, http://serios.net/content/debian/java_testing.php. But then, when I proceeded to make the deb, I get that "no plug-in" error. On the serios link, it says "at least version 0.17 is required for everything to go smoothly." I ran the "apt-cache policy java-package | grep Installed" as he said, and it is in fact 0.17 so I'm at a loss. I tried to make the debs on both 1.4.2 and the 1.5 jdks from Sun. Does anyone have any ideas? If not, maybe I'll just try Blackdown. Is there a big difference between Sun and Blackdown? I'm just doing this to learn Java. |
Burgin, the filename formats of the .bins from Sun have changed slightly as they updated the version, and (again) the java-package fails to work with this newer format.
I have now updated the instructions on the page to reflect the new reality. Quick summary of the workaround: rename jdk-1_5_0_01-linux-i586.bin to jdk-1_5_0-linux-i586.bin (or the corresponding change for the JRE) and then run the make-jpkg again. |
Thanks for updating your site. Now from SUN, I downloaded the binary that bundled jdk 1.4.2 and Netbeans.
I was wondering if that procedure will work if I naively rename the binary named j2sdk-1_4_2_04-nb-3_6-bin-linux.bin to jdk-1_1_4-linux-i586.bin. I haven't yet gotten the chance to try and see. |
All times are GMT -5. The time now is 01:25 AM. |