Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Command Line Arguments

$
0
0

I cannot seem to find how to add command line arguments in IntelliJ. Here is my code:

 

publicclass BlankFiller {    publicstaticvoid main(String[] arguments) {        System.out.println("The " + arguments[0] + " " + arguments[1] + " fox " + "jumped over the " + arguments[2] + " dog.");    }}

 

I need to be able to specify these arguments. I have tried doing ALT + SHIFT + F10, going to edit, and adding my arguments in the "Program Arguments" section with no luck. I am just starting with IntelliJ, and have previously used DrJava, where there was an interactions pane and I could specify them using

 

java BlankFiller arg arg arg

 

How can I do this in IntelliJ? Thanks!

 

P.S. Please be noob friendly in responses! Thanks again!


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>