I built a xulrunner-1.9 with "Conflicts: j2re1.4 (<< 1:0)" and got the following results when trying to install various j2re1.4 packages:
Firstly the package downloaded from the Ubuntu archive:
$ sudo dpkg -i j2re1.4_1.4.2.02-1ubuntu3_i386.deb
Selecting previously deselected package j2re1.4.
dpkg: regarding j2re1.4_1.4.2.02-1ubuntu3_i386.deb containing j2re1.4:
xulrunner-1.9 conflicts with j2re1.4 (<< 1:0)
j2re1.4 (version 1.4.2.02-1ubuntu3) is to be installed. xu
dpkg: error processing j2re1.4_1.4.2.02-1ubuntu3_i386.deb (--install):
conflicting packages - not installing j2re1.4
Errors were encountered while processing:
j2re1.4_1.4.2.02-1ubuntu3_i386.deb
Then the package built using make-jpkg from the patched java-package:
$ sudo dpkg -i sun-j2re1.4_1.4.2+17_i386.deb
(Reading database ... 291495 files and directories currently installed.)
Preparing to replace sun-j2re1.4 1:1.4.2+17 (using sun-j2re1.4_1.4.2+17_i386.deb) ...
Unpacking replacement sun-j2re1.4 ...
Setting up sun-j2re1.4 (1:1.4.2+17) ...
Which is the desired result. Archive packages still conflict, built packages can be installed.
I built a xulrunner-1.9 with "Conflicts: j2re1.4 (<< 1:0)" and got the following results when trying to install various j2re1.4 packages:
Firstly the package downloaded from the Ubuntu archive: 1.4.2.02- 1ubuntu3_ i386.deb 1.4.2.02- 1ubuntu3_ i386.deb containing j2re1.4: 1.4.2.02- 1ubuntu3_ i386.deb (--install): 4_1.4.2. 02-1ubuntu3_ i386.deb
$ sudo dpkg -i j2re1.4_
Selecting previously deselected package j2re1.4.
dpkg: regarding j2re1.4_
xulrunner-1.9 conflicts with j2re1.4 (<< 1:0)
j2re1.4 (version 1.4.2.02-1ubuntu3) is to be installed. xu
dpkg: error processing j2re1.4_
conflicting packages - not installing j2re1.4
Errors were encountered while processing:
j2re1.
Then the package built using make-jpkg from the patched java-package: 4_1.4.2+ 17_i386. deb 4_1.4.2+ 17_i386. deb) ...
$ sudo dpkg -i sun-j2re1.
(Reading database ... 291495 files and directories currently installed.)
Preparing to replace sun-j2re1.4 1:1.4.2+17 (using sun-j2re1.
Unpacking replacement sun-j2re1.4 ...
Setting up sun-j2re1.4 (1:1.4.2+17) ...
Which is the desired result. Archive packages still conflict, built packages can be installed.