Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

invalid flag error

Thread view: 
priyadarke - 18 Jan 2006 07:35 GMT
hi,
i m trying 2 compile a servlet from the command prompt..
i change dir to the one containing the Login.java file. then i type in
javac -classpath %CATALINA_HOME%/common/lib/servlet.jar Login.java
it gives an invalid flag error "files/apache". my tomcat base dir is in
d:\program files\Apache Group.

can somebody help me with this..?
Larry - 18 Jan 2006 20:54 GMT
Looks like it may be a classpath issue.  You'd save yourself a lot of
grief and frustration by using a good Java Editor/IDE that takes the
drudgery out of Java programming, instead of using the command line
tools   :)

Here's a free, excellent  Java IDE:
http://www.jcreator.com/download.htm

Larry


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.