On 16/04/14 13:27, Oliver Fairhall wrote: > Hi, > > Setting up a new machine, noticed that Sun/Oracle Java is no longer > available to Debian. > > Saw a post here with an explanation: > > http://sylvestre.ledru.info/blog/2011/08/26/sun_java6_packages_removed_from_debian_u > > > Unfortunately, there are limitations and issues with OpenJDK, and > incompatibilities with various software. > > I'm not sure how it has worked in the past, but presumably someone > manually built the installation package for Debian. Would it be possible > to do this for oneself? I assume there is no source available to > compile. Is it feasible to convert an rpm release for use with Debian? > I've tried this sort of thing before, but with mixed results.
On Wheezy you can make a debian package of the latest java. It "just works". Install "java-package" from Sid. Download the latest java package. Use java-package to make a debian package. Use dpkg -i to install the debian package. e.g. for last jre on Wheezy (after installing the Sid java-package):- Removed symbolic links to libnpjp2.so and libjavaplugin_oji.so from /plugins directories Removed previously installed versions from /usr/lib/java and /usr/lib/jvm Iceweasel → Tools → Addons → Plugins Disabled and removed earlier Java version In the same directory as the recently downloaded Oracle java package:- # make-jpkg jre-7u21-linux-i586.tar.gz su -c “dpkg -i oracle-j2re1.7_1.7.0+update21_i386.deb” Password: Selecting previously deselected package oracle-j2re1.7. (Reading database ... 243736 files and directories currently installed.) Unpacking oracle-j2re1.7 (from oracle-j2re1.7_1.7.0+update21_i386.deb) ... Setting up oracle-j2re1.7 (1.7.0+update21) ... update-alternatives: warning: alternative /usr/lib/jvm/jre1.7.0_09/bin/java (part of link group java) doesn't exist. Removing from list of alternatives. update-alternatives: warning: /etc/alternatives/java is dangling, it will be updated with best choice. update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/java to provide /usr/bin/java (java) in auto mode. update-alternatives: using /usr/lib/jvm/j2re1.7-oracle/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode. update-alternatives: using /usr/lib/jvm/j2re1.7-oracle/lib/i386/libnpjp2.so to provide /usr/lib/iceweasel/plugins/libjavaplugin.so (iceweasel-javaplugin.so) in auto mode. update-alternatives: using /usr/lib/jvm/j2re1.7-oracle/lib/i386/libnpjp2.so to provide /usr/lib/chromium/plugins/libjavaplugin.so (chromium-javaplugin.so) in auto mode. > > Sorry if this has been covered already - I couldn't see mention of it in > my email search. > > Cheers, > > Oliver > > Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/534e1670.7030...@gmail.com