tags:

views:

147

answers:

2

I'm having trouble setting the command-line arguments in Eclipse.

I've searched around the Internet but can't find anything that helps people with invisible textboxes. I even tried pressing the help button and nothing came up.

How does one set the command-line arguments in Eclipse for a Java project?

Screenshot of Eclipse

Edit: I've tried blowing away Eclipse and reinstalling to no avail.

I also scanned for JREs again and switched to using the JDK instead of the JRE. This did not help matters.

+2  A: 

You need to set the main class and java runtime version first to see the text boxes. Then put the args in the "Program arguments" textbox.

abc
Zian Choy
+2  A: 

Try resizing the window to make the text boxes appear.

I tried it on my Mac and if you make the window small enough the text boxes get obscured.

Jack Leow
I wasn't going to post this, because it feels like cheating, but I figured if I didn't, you wouldn't be able to accept an answer, and that would affect your accept rate so I did. Honest! :-D
Jack Leow
works for win7 also
JustJeff
Don't fret about it. I have no problem with giving you the well-earned reputation points. :)
Zian Choy