• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot start the j2ee server?

 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

C:\Program Files\j2sdkee1.3.1\bin>j2ee -verbose
ERROR: Set J2EE_HOME before running this script.


but i have already set the J2EE_HOME in my userconfig.bat file.


rem J2EE_CLASSPATH is appended to the classpath referenced by the EJB server.
rem J2EE_CLASSPATH must include the location of the JDBC driver classes
rem (except for the Cloudscape driver shipped with this release).
rem Each directory is delimited by a semicolon.
rem
rem set J2EE_CLASSPATH=C:\Program Files\j2sdkee1.3.1\lib\system\ojdbc14.jar
rem
rem JAVA_HOME refers to the directory where the Java(tm) 2 SDK
rem Standard Edition software is installed.
rem
rem set JAVA_HOME=C:\Program Files\j2sdk1.4.2_04
rem set J2EE_HOME=C:\Program Files\j2sdkee1.3.1


why is that?
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?
cause i cant do my homework as i am stuck here
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove rem from the appropriate line.
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
what do you mean?
appropriate line?
 
Rajesh Chandra
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check thisout
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rem set J2EE_HOME=C:\Program Files\j2sdkee1.3.1


should read

set J2EE_HOME=C:\Program Files\j2sdkee1.3.1

"rem" is preventing the variable from being set
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REM is short for "REMARK", meaning a comment. All these lines are comments and do nothing.
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh... i see..

thank you so much!!
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey.

still a problem :

C:\Program Files\j2sdkee1.3.1\bin>j2ee
ERROR: Set J2EE_HOME before running this script.


but i have already set the path:

set J2EE_CLASSPATH=C:\Program Files\j2sdkee1.3.1\lib\system\ojdbc14.jar

set JAVA_HOME=C:\Program Files\j2sdk1.4.2_04
set J2EE_HOME=C:\Program Files\j2sdkee1.3.1


 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?
here is a screenshot :
http://img.photobucket.com/albums/v48/differ/16.jpg

 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:


Better still, do not install software in a folder whose name contains a space.
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.

have tried that too.
but it still did not work :
http://img343.imageshack.us/img343/4577/test2ux.gif

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic