• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me!!!!!

 
Arron Zhang
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed the J2EE_SDK on my computer,but it can't run with command line.
If use "j2ee -verbose",there's an exception:
java.lang.NoClassDefFoundError: Files\Common
If use the Start_J2EE in start_menu,it run successfully.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you've setup the PATH (or CLASSPATH) environment variable to c:\program files\... without putting quotes around it?
Simon
 
Arron Zhang
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System: win2k professional
environment variable:
JAVA_HOME=E:\sun_studio\j2sdk1.4.1
J2EE_HOME=E:\j2sdkee1.4
ANT_HOME=F:\ANT1.5.1
path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;E:\Sun_studio_sdk\j2sdk1.4.1\bin;E:\j2sdkee1.4\bin;E:\Mysql\bin
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a CLASSPATH variable set?
Simon
[ January 07, 2003: Message edited by: Simon Brown ]
 
Arron Zhang
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CLASSPATH=.;E:\j2sdkee1.4\lib\j2ee.jar;E:\Sun_studio_sdk\j2sdk1.4.1\lib\tools.jar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic