So I'm watching a tutorial to learn how to program in Java using Eclipse. So I got a few episodes in and I had to clear out all out the errors. I looked around and found no more errors so I tried to run the program and I got errors in that were only displayed in the console, and was being displayed next to the lines it was referencing. I have completely no idea how to solve these errors I haven't seen anything like them before. Also my program is fairly simple it is just the code to display and window and then have pixels of a random colour fill that window. I really would appreciate any help I can get, because I have no clue how to fix this error.
Thanks, Nova
Error:
`Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar`
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 65536
at cpm.mime.GameP1.graphics.Screen.<init>(Screen.java:14)
at com.mime.GameP1.Display.<init>(Display.java:29)
at com.mime.GameP1.Display.main(Display.java:92)`