invalid flag error

Discussion in 'Java' started by priyadarke, Jan 18, 2006.

  1. priyadarke

    priyadarke Guest

    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..?
     
    priyadarke, Jan 18, 2006
    #1
    1. Advertising

  2. priyadarke

    Larry Guest

    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
     
    Larry, Jan 18, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. valentin tihomirov

    defining a flag-dependent constant

    valentin tihomirov, Nov 25, 2004, in forum: VHDL
    Replies:
    3
    Views:
    528
    Jim Lewis
    Nov 28, 2004
  2. Patrick.O.Ige
    Replies:
    1
    Views:
    1,985
    Patrick.O.Ige
    Jul 2, 2006
  3. Java Guy
    Replies:
    1
    Views:
    697
    Manish Pandit
    Oct 15, 2006
  4. kevin
    Replies:
    0
    Views:
    999
    kevin
    Jan 16, 2008
  5. Java Guy
    Replies:
    1
    Views:
    324
Loading...

Share This Page