Question:

Have the programs compiled?

by Guest61377  |  earlier

0 LIKES UnLike

Hey,I am trying to compile 2 programmes in Command promt. I set the class path and the classpath

set path=c:\jdk1.5\bin\;%path%

setclasspath=.;c:\jspservlets;c:\tomca...

common\lib\servlet.jar;c:\jdk1.5\commo...

\tools.jar;%classpath%

Before that I did C:\ JAVA_HOME.bat to run the batch file

I then inputted C:\javac QueryBean

I got javac: invalid flag:QueryBean then under

where possible options include .........

If it helps the program is located in C:\jspservlets\WEB-INF\classes

Please help,I'm confused.

 Tags:

   Report

2 ANSWERS


  1. I don't know the answer and if no one helps quick enough you might try www.codeguru.com  it is mostly C and C++ but I think they can help.


  2. It looks like the options on the command line are wrong try typing: javac -? which will give help on how to structure the command line arguments.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.