I am kinda new to programming, only in my second class. I just finished up a project that is like a game like boggle. Anywho, I wanted to export it and it's telling me that you can't export the file with program arguments. Is there a way to convert my project so that i can eventually export it.
Example:
public static void main(String[] args)
{
String fileName = args[0];
....
....
....
}
The args[0] is what holds the dictionary.txt which is the fileName that I eventually want to read into my game. Is there a way change it to an import statement or something so I can export it as an runable JAR file? Thank you for the help!!!