wood burning stoves 2.0*
The moose likes Servlets and the fly likes Compilation Error - INVALID FLAG Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compilation Error - INVALID FLAG" Watch "Compilation Error - INVALID FLAG" New topic
Author

Compilation Error - INVALID FLAG

Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
Hi,
When i'm trying to compile servlet , its showing that invalid flag(classpath), please tell me how to set the classpath for compiling the servlet.
I'm using j2ee sdk 1.4 .
Thanks & Regards
Sri Gnana


Thanks & Regards
Sri Gnana
Everythings Programmed!...
Lalita Sattavat
Greenhorn

Joined: May 31, 2004
Posts: 10
on the command prompt execute following:

set CLASSPATH=C:\xyz;

Note: CLASSPATH is in Caps. Also if u are working on windows env then use ';' as the separator else if its unix/linux machines use ':'
 
 
subject: Compilation Error - INVALID FLAG
 
Similar Threads
cannot compile with -classpath
cannot import servlet apis
compile servlets ???
Error while compling
Javac:File Not Found