Two Laptop Bag*
The moose likes Beginning Java and the fly likes Compilation Using Argfiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compilation Using Argfiles" Watch "Compilation Using Argfiles" New topic
Author

Compilation Using Argfiles

Timmy Chen
Greenhorn

Joined: Nov 19, 2005
Posts: 3
I am experinmenting with the compilation through javac in the command lines window in Windows XP. Everything works fine untile I start using argfiles.

Here is my command line:


This works perfectly until I try to use argfiles:


where options file contains:


and classes file contains:



Somehow, when I use the argfiles command line, javac is telling me that I am having invalid flag. I think it is probably due to the white space that I have. If that is the case, how do I have javac regorgnize the white space in argfiles?
 
Consider Paul's rocket mass heater.
 
subject: Compilation Using Argfiles
 
Similar Threads
Classpath in Command line
compiling servlet
Cannot find symbol
How To Compile Servlet
Problem Compiling Beer servlet example in HF