java

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0

When you learn Java,Some details of the small problems tend to be very confusing,When in receive parameters, for example。

If your program needs to receive arguments in order to run,And you did not give the default parameters,That can cause this error:

For example, your code is:
[crayon-664f0[……]

Click link to continue reading...

'Javac' is not an internal or external command solutions

These days began playing with a BlackBerry,Engineering mode,Java development environment is installed on the computer,But always after the installation prompts

'javac’ Not an internal or external command balabalabala ... ...

Google ~ solution:

  1. Right-computer--> Properties-> The left side of the "advanced system settings"-> The "Advanced" option[……]

    Click link to continue reading...