Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid Flag message

503022Jan 18 2012 — edited Jan 18 2012
I am attempting to compile (using jdk1.6.0_24 in Windows 7) and get the following error:
C:\Program Files\tech\_restful\WEB-INF\classes\com\mcnz\ws>javac -classpath "C:
Program Files\tech\_restful\WEB-INF\lib\*" HelloWorldResource.java
javac: invalid flag: C:\Program Files\tech\_restful\WEB-INF\lib\jackson-core-as
-1.7.1.jar
Usage: javac <options> <source files>
use -help for a list of possible options
The jackson-core-as-1.7.1.jar is located in the C:\Program Files\tech\_restful\WEB-INF\lib directory.

Please advise.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2012
Added on Jan 18 2012
3 comments
588 views