File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compilation Error - INVALID FLAG" Watch "Compilation Error - INVALID FLAG" New topic

Compilation Error - INVALID FLAG

Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
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

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 ':'
I agree. Here's the link:
subject: Compilation Error - INVALID FLAG
It's not a secret anymore!