Re: Java SDK on unstable
On Sun, Jan 02, 2005 at 12:21:32AM +0100, John Plate wrote:
> Hi
>
> I tried to install Java SDK (j2sdk1.4), but dselect claims that there
> is no j2se-common file available.
>
> How to get J2EE running on Debian unstable?
Download a JRE or SDK from
http://java.sun.com/j2se/1.5.0/download.jsp, the SDK is required by
some packages (like tomcat4).
Install java-package ->
apt-get install java-package fakeroot sun-j2sdk1.5debian
Now it's just as easy as building a kernel the-Debian-way ->
fakeroot make-jpkg /path/to/self-extracting_java_file
Answer the questions, fill in your name & email and accept the
_NONFREE_ license, just wait for some Debian Magic to finish. If no
errors show up in your console, there should be a
sun-j2sdk1.5_1.5.0+update01_i386.deb laying around in your current
directory.
Just ->
dpkg -i sun-j2sdk1.5_1.5.0+update01_i386.deb
Test if it works with ->
java -version
You're ready when the following appears->
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
JR
Reply to: