Hi, I just downloaded textpad to use on my computer. For programming I usually use the secure shell client in the computer lab at my school to access the linux computers. I am used to typing javac filename.java to compile and java filename to run the program. They way I run a program that does something like multiply an integer is java filename then the integer. However with textpad I dont know how to enter that integer I want to be multiplied. Also the programs that do tasks such as multiply integers compile fine, but I always get an error message when I try to run the application. The error message says:
"exception in the thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at Double.main(Double.java:4)
Press Any Key to Continue...
Im not sure what this means, but I assume its due to the fact that the program is made to double an integer and I didnt enter an integer to be doubled. Can anyone help me with how to input this integer.
New to textpad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard