It's workin
I'll list here the steps involved lest I forget
1. I wanted to install j2ee for reading and practicing head first ejb on dapper drake.
2. I need to have j2ee 1.3.1 coz first chapter admonished so
3. So I went to
sun and downloaded j2sdkee-1_3_1-linux.tar.gz
4.copied it to /usr/local (you can choose whatever suits you)
5.
this will create a directory with the name j2sdkee1.3.1 in /usr/local
6.had
java 5.0 on my machine that can cause
this problem removed it using synaptic
7. got java 1.4
java 1.4courtesy
joe note it's j2sdk-1_4_2_14-linux-i586.bin one without "rpm"
8.
9.didn't had fakeroot,make,java-package
which created j2sdk-1_4_2_14-linux-i586.deb in same directory where .bin was
10.just to make sure gcj will not be used
11.did java -version
12.need to set environment variable
* J2EE_HOME - the directory where you've installed this release.
* JAVA_HOME - the directory where the Java 2 SDK Standard Edition is installed.
* PATH - include the bin directory beneath the directory where you've installed this release.
hmmm..
I found
this 13.created file pu_env in /etc
and added these lines to /etc/bash.bashrc and /etc/X11/Xsession.d/55gnome-session_gnomerc
courtesy
NeTo 14.did j2ee
Thanks Joe
Stefan
NeTo
Please suggest if something could be done in better way
[ April 06, 2007: Message edited by: prateek urmaliya ]