This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compilation Using Argfiles" Watch "Compilation Using Argfiles" New topic

Compilation Using Argfiles

Timmy Chen

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?
I agree. Here's the link:
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