Skip to Main Content

New to Java

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!

More eclipse to command line compile problems: not taking arguments.

807599Feb 20 2007 — edited Feb 20 2007
When I use eclipse and put in commands using the "Run..." option, it works, however, my program isn't taking those arguments using the command line compiler.

My exact command is: "java readXML test"

The program does run, because it spits out the error that I coded for when there's no arguments.

I'm running into a lot of this stuff and am curious if there's a better option so my command line is more on-par with my SDK. There's gotta be some sort of guide to cross-compiler issues, but I can't find anything that's geared towards just the superficial differences. Everything I see goes so in-depth, that you have to be a guru to read (in which, you would have probably figured it out by then, anyways).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2007
Added on Feb 20 2007
1 comment
165 views