tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S M <iwantajav...@yahoo.com>
Subject RE: class path (UNCLASSIFIED)
Date Wed, 13 Apr 2005 15:21:29 GMT
I tried that too.. same problem...
anyways.. apart from that going as the suggestion of without spaces directory path... here
is the modified thgs
CLASSPATH=.;c:\java;c:\tomcat\common\lib\servlet.jar
CATALINAHOME=c:\tomcat
JAVA_HOME and path remaing the same.
 
Now compiling
c:/javacode>javac -classpath<c:\tomcat\common\lib\servlet.jar> HelloWorld.java
it said - Access Denied
 

then compiling like 
c:/javacode>javac HelloWorld.java 
it gives same set of errors 
 
and then again compiling like 
c:/javacode>javac -classpath<c:\tomcat\common\lib\servlet.jar> HelloWorld.java
Windows gave a error saying 'javac' encountered an error.. please close.
 

and then closing and oping cmd again and 
then  compiling like 
c:/javacode>javac HelloWorld.java 
I got no errors... but also.. no class file created. :(
 
What do you have to say now?
 



---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger
Now
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message