Hi all,
Just wondering if you could help me out a bit with netBeans (the help file is no good at this).
What i want to do is just write a simple java program that takes input. Now i know how to pass arguments on their own (Build > Set Arguments) which works as if the user was typing the arguments at the command prompt, but i need to be able to do the same but the program should read from a file. Basically when you use the command prompt you would type ‘java javaFile fileToPass.txt’ to make the javaFile read input from fileToPass.txt (obviously its been compiled first).
However, i have got some problems at command prompt and would prefer to just use netBeans to read from a file.
Does anyone know how i can do this in netBeans.
Thank you.
SanjB.