There is only one main class in the eclipse source file package, but the main class cannot run variables that reference other classes in eclipse.
Problem:
Exception in thread "Main" Java. Lang. Error: compilation issues that cannot be parsed:
The arraylist type is not generic. Parameter <integer> cannot be used to parameterize it.
Syntax error. The parameterized type is available only when the source level is 5.0.
The arraylist type is not generic. Parameter <integer> cannot be used to parameterize it.
Syntax error. The parameterized type is available only when the source level is 5.0.
At puzzlepad. setisdigitplay (puzzlepad. Java: 99)
At puzzlegame. <init> (puzzlegame. Java: 48)
At puzzlegame. Main (puzzlegame. Java: 106)
Help solve it .....
Compiling and running in cmd cannot be run through eclipse
Solution:
Set Java compiler consistency level above 5.0 in preferences
In addition, if there is no compiler, only one editor, it means that the computer does not install the JRE environment,: http://java.sun.com/javase/downloads/index.jsp
Jre1.6 for the lazy: http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jre-6u14-windows-i586.exe? Bundledlineitemuuid = ib1ibe. prooaaaeifw4hlmc4 & orderid = ww1ibe. pilaaaaeicg4hlmc4 & productid = jwbibe. poo4aaaehlfup5zfr & filename =/jre-6u14-windows-i586.exe