itemcollect

ID #

How can I get the itemcollect Debian package to work with Sun's JRE?

Sadly, Debian and Sun's JRE aren't the best of friends. You'll have to do some leg work to get a Sun's JRE working under Debian. Here's how:

1. Download Sun's jre (I recommend 1.4.2) from http://java.sun.com/j2se/1.4.2/download.html
2. Install the java-package with

% sudo apt-get install java-package

3. Build .deb from tarball

fakeroot make-jpkg j2re-1_4_2_07-linux-i586.bin

Detected product:
Java(TM) Runtime Environment (J2RE)
Standard Edition, Version 1.4.2+06
Sun Microsystems(TM), Inc.
Is this correct [Y/n]: y

Full name: You T. Debian-User
Email: you@domain.com
Press [Return] to continue:

Sun Microsystems, Inc.
Binary Code License Agreement

Do you agree to the above license terms? [yes or no] yes


The Debian package has been created in the current directory. You can install the package as root (e.g. dpkg -i sun-j2re1.4_1.4.2+06_i386.deb).

You should also install the corresponding package with Debian specific parts (e.g. apt-get install sun-j2re1.4debian).

% sudo apt-get install sun-j2sdk1.4debian
% sudo dpkg -i sun-j2re1.4_1.4.2+07_i386.deb

Try java out, see if it works.

% java -version
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
% dpkg -l | grep sun
ii sun-j2re1.4 1.4.2+07 Java(TM) 2 RE, Standard Edition, Sun Microsy
ii sun-j2re1.4deb 0.18 Debian specific parts of Java(TM) 2 RE, Stan

Got java working? Now install the itemcollect package:

% sudo apt-get update
% sudo apt-get install itemcollect

Last update: 2006-05-16 20:42
Author: Bob Tanner
Revision: 1.

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Comment of Rick Tanner (2038-01-18 21:14:07):
After installing Sun's JRE, you may have to perform the following additional step: $ sudo update-alternatives --config java This selects which of the Java alternatives you want to provide Java on your machine. Choose the one with "sun" in the name. For me it was option 3.