• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a question about j2ee server

 
hello
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a j2ee begin learner and the reader of headfirst ejb.when I have read chapter1 ,I downloaded java EE 5 SDK Update 2. I cann't find the deploytool descripted in the book,although the sdk has a server.does the server in j2ee sdk is the RI server refered to in the book .what is the relation and difference among RI , the server in the sdk and the server named glassfish.thank you.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're reading the Head First EJB, then you need to download J2EE 1.3 and not Java EE 5.

You can download it from this link:
http://java.sun.com/j2ee/sdk_1.3/
 
hello
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for your answer.after having read your reply,I installed the j2ee1.3. when I enter the j2ee install directory ,and run j2ee -verbose the system shows :"error:set java_home before running this script",although I have
set java_home before I run j2ee server.what is the reason?how to solve this
problem?thank you
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I'm not sure as I never install J2EE 1.3 before. But from the error message it seems that you haven't set the JAVA_HOME.

If you use Windows, you can try this in the command prompt.
set JAVA_HOME=<installation_path>

If you use Linux, you can try this in the shell.
export JAVA_HOME=<installation_path>
 
manisha verma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
alternatively you can use the command by running cmd from your run. I mean command prompt
set classpath=.;<java installation location on your computer\lib;<J@EE server installation location>\lib\j2ee.jar
set JAVA_HOME=<java installation location on your computer>
set J2EE_HOME=<J2ee server intallation location on your computer>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic