Hi,

I am working on a program for one of my courses.

The program requires the use of a command line argument.

I am using JCreator and as such my code does not work.

Is it not possible to run a program with a command line prompt from JCreator?

Thanks

Yes it is. Instead of simply pushing on the blue (right pointing) triangle, click next to it to get the pull down, and select something like "configuration" and play around in there a while.

You would be better off, however, since you are learning, programming with a simple, highlight capable, editor and the compiling on the command line, rather than using an IDE.

If you are using the JCreator IDE : "To change JCreator to take command line arguments:

Configure>Options>JDK Tools
Change "Select Tool Type" to "Run Application"
Click on "" and then click the "Edit.." button
Change to the parameters tab, and then click the box that says
"Prompt For Main Method Arguments"

Comments
You just rewrote what was already stated in the link provided by me...

What is wrong with reading the documentation of the IDE?

In any case, closing this three year dead zombie.

This question has already been answered. Start a new discussion instead.