aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Help me!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help me!!!!!" Watch "Help me!!!!!" New topic
Author

Help me!!!!!

Arron Zhang
Greenhorn

Joined: Dec 27, 2002
Posts: 15
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.


novelist & programmer
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Perhaps you've setup the PATH (or CLASSPATH) environment variable to c:\program files\... without putting quotes around it?
Simon
Arron Zhang
Greenhorn

Joined: Dec 27, 2002
Posts: 15
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

Joined: May 10, 2000
Posts: 1913
    
    6
Do you have a CLASSPATH variable set?
Simon
[ January 07, 2003: Message edited by: Simon Brown ]
Arron Zhang
Greenhorn

Joined: Dec 27, 2002
Posts: 15
CLASSPATH=.;E:\j2sdkee1.4\lib\j2ee.jar;E:\Sun_studio_sdk\j2sdk1.4.1\lib\tools.jar
 
jQuery in Action, 2nd edition
 
subject: Help me!!!!!