This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE SDK

 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was curious if Sun ONE Application Server 7 had J2EE SDK and that I can write my Java and EJB code from command line by using this SDK.
I know that I can do all this thru Sun ONE Studio but I want just command line to code.
If I can do this, do I need some special setting?
Thanks,
Rajeev.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajeev,
Why don't you just download the J2EE SDK from Sun Website and set the classpath to your system... Then you can surely use simple command line to compile and run the applications....
 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ko Ko Naing:
Hi Rajeev,
Why don't you just download the J2EE SDK from Sun Website and set the classpath to your system... Then you can surely use simple command line to compile and run the applications....

I'd appreciate if you can provide me the link for the download...(cause there are many downloadables there I'm not sure which to download)
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There you go
http://java.sun.com/j2ee/sdk_1.3/1.3_01
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very straight forward, Install, click next next next next next.
to compile your fist ejb code, the only thing HF EJB hasn't mentioned and was mentioned in the j2ee setup page is:
set J2EE_HOME to where you install your j2ee
set JAVA_HOME to where you install j2se
set PATH to the bin directory of your j2ee and j2se.
then add j2ee.jar to your classpath. That's it.
The book uses unix notation, you just have to use windows notation if you are using windows. I am running redhat 9 and I simply copy the exact same lines from the book and they run.
 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all!!!
It is such a great community !!!
Way to go!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic