Java installs on Debian/Lenny
Until Debian 5.0, installing full Sun Java JRE or JDK onto Debian was a little bit of a pain, usually requiring some fakeroot fiddling-about and .DEB package creation. Happily now the full Java5 and Java6 packages are available as part of the non-free APT repositories at debian.org under sun-java5-xxx or sun-java6-xxx.
Make sure you have contrib and non-free added to your APT source.list file entries for both deb and deb-src. Default Lenny netinstalls usually only have the main branch. Simply add the words “contrib” and “non-free” at the end of each line starting “deb” or “deb-src” in the /etc/apt/sources.list file; then….
run apt-get update
run apt-get install sun-java5-jre
to install the JRE, for example.
Related articles by Zemanta
- Fixing Java on Mac Snow Leopard (nofluffjuststuff.com)
- Writing Java Multithreaded Servers – whats old is new (PDF Slides) (paultyma.blogspot.com)
- Community inertia in Debian and Ubuntu (mdzlog.alcor.net)
- FindBugs™ – Find Bugs in Java Programs (findbugs.sourceforge.net)