Using java-package 0.42 in Ubuntu 9.10 to create deb to install Sun jre 1.6.0_18.
It fails sooner for me.
$ sudo dpkg -i sun-j2re1.6_1.6.0+update18_amd64.deb
Selecting previously deselected package sun-j2re1.6.
(Reading database ... 241813 files and directories currently installed.)
Unpacking sun-j2re1.6 (from sun-j2re1.6_1.6.0+update18_amd64.deb) ...
Setting up sun-j2re1.6 (1.6.0+update18) ...
update-alternatives: using /usr/lib/j2re1.6-sun/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
update-alternatives: warning: skip creation of /usr/share/man/man1/ControlPanel.1.gz because associated file /usr/lib/j2re1.6-sun/man/man1/ControlPanel.1.gz (of link group ControlPanel) doesn't exist.
update-alternatives: error: alternative path /usr/lib/j2re1.6-sun/plugin/amd64/ns4/libjavaplugin.so doesn't exist.
dpkg: error processing sun-j2re1.6 (--install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
sun-j2re1.6
In addition to producing this error, I am using Firefox 3.6. Due to changes in Firefox 3.6, NPAPI version of the plugin is required. Which means I have to use /usr/lib/j2re1.6-sun/lib/amd64/libnpjp2.so instead of /usr/lib/j2re1.6-sun/lib/amd64/libjavaplugin_jni.so.
Using java-package 0.42 in Ubuntu 9.10 to create deb to install Sun jre 1.6.0_18.
It fails sooner for me.
$ sudo dpkg -i sun-j2re1. 6_1.6.0+ update18_ amd64.deb 6_1.6.0+ update18_ amd64.deb) ... alternatives: using /usr/lib/ j2re1.6- sun/bin/ ControlPanel to provide /usr/bin/ ControlPanel (ControlPanel) in auto mode. alternatives: warning: skip creation of /usr/share/ man/man1/ ControlPanel. 1.gz because associated file /usr/lib/ j2re1.6- sun/man/ man1/ControlPan el.1.gz (of link group ControlPanel) doesn't exist. alternatives: error: alternative path /usr/lib/ j2re1.6- sun/plugin/ amd64/ns4/ libjavaplugin. so doesn't exist.
Selecting previously deselected package sun-j2re1.6.
(Reading database ... 241813 files and directories currently installed.)
Unpacking sun-j2re1.6 (from sun-j2re1.
Setting up sun-j2re1.6 (1.6.0+update18) ...
update-
update-
update-
dpkg: error processing sun-j2re1.6 (--install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
sun-j2re1.6
In addition to producing this error, I am using Firefox 3.6. Due to changes in Firefox 3.6, NPAPI version of the plugin is required. Which means I have to use /usr/lib/ j2re1.6- sun/lib/ amd64/libnpjp2. so instead of /usr/lib/ j2re1.6- sun/lib/ amd64/libjavapl ugin_jni. so.