• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

j2ee install 1.3.1 on dapper

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

It keep popping from time to time as you can see from here,here,here,here and here
I have downloaded j2ee from sun "1.3.1 FCS Release" but I am not getting any .bin file what I get is a tar that I started to install using this
but my default shell is bash and I don't know where to go once I've extracted the tar in my usr/local please guide me beyond this

Cheers

["Your links go nowhere" Oops]
[ April 04, 2007: Message edited by: prateek urmaliya ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your links go nowhere, so I don't really know what you are talking about.
After installing the J2EE, the instructions recommend several starting points.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure you want to install j2ee and not j2sdk?
And why 1.3 and not 1.5 or 1.6?

The provided gcj-Java is not at all up to date.
There is a sun-java5-sdk (=1.5) available with synaptic/aptitude too.
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Are you sure you want to install j2ee and not j2sdk?


Yes

And why 1.3 and not 1.5 or 1.6?


because I am reading a book that uses that version,
I have the JDK(sun) in place but on wiki there is no instruction for j2ee !!
Please let me know if you have done it on dapper for j2ee 1.3.1
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks joe,

I guess I can use the same
bash$ MYVAR=widget
bash$ export MYVAR
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well i guess the problem is not fixed fully
I am not able to run j2ee from terminal
it is giving NoClassDefFoundError , I found this


You should go to at least J2EE1.4 (EJB 2.1) or, even better JEE 5


I am using 5.0 but it seems it is not compatible with j2ee1.3
which jdk I should use (I can't move to j2ee 1.4)?
[ April 05, 2007: Message edited by: prateek urmaliya ]
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the download page it appears the supported configurations are either JDK 1.3.1_02 or 1.4.
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks joe
I'll try with 1.4
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic