S
Shawn
Hi,
I have written a Java program. The program needs its several variables
filled with values before it can be run. This can be achieved by
hard-coded in the program. Alternatively and being nicer and easier, a
script can be used and set the Java program's variables' value and run
the Java program. In this way, if next time, I need to change the value
of the variables, I don't need to change the Java program. I only need
to edit the script.
I have no idea how to do this. I am using Eclipse and running on Windows
XP. Is the script approach only possible on linux OS?
Thank you very much.
I have written a Java program. The program needs its several variables
filled with values before it can be run. This can be achieved by
hard-coded in the program. Alternatively and being nicer and easier, a
script can be used and set the Java program's variables' value and run
the Java program. In this way, if next time, I need to change the value
of the variables, I don't need to change the Java program. I only need
to edit the script.
I have no idea how to do this. I am using Eclipse and running on Windows
XP. Is the script approach only possible on linux OS?
Thank you very much.