I am setting up a brand new Lenovo IdeaPad 320 for the upcoming 2018 season. I installed Eclipse, WPILIB, the CTRE Libraries, the NavX libraries, and the Update Suite. In Eclipse, I also imported our code from last season so I could test out whether everything was working or not. Everything went smoothly, up until I tried to build the code. The compiler returned this:
Buildfile: C:\Users\anton\git\EGR2017FRC\5980 test 2\build.xml
Trying to override old definition of task classloader
C:\Users\anton\git\EGR2017FRC\5980 test 2\build.xml:28: The following error occurred while executing this line:
C:\Users\anton\wpilib\java\current\ant\build.xml:13: No Handler found for ClassLoader jdk.internal.loader.ClassLoaders$AppClassLoader and action org.apache.tools.ant.taskdefs.classloader.ClassLoaderAdapterAction@740773a3
Total time: 718 milliseconds
I searched online, and found that others have solved something like this by setting their JAVA_HOME environment variable to the location of the JRE, and I’ve also seen people set the PATH environment variable
I tried both, tried setting them to the JDK instead of the JRE, and haven’t had any luck. Has anyone else had this issue, or any ideas on how to solve it? They would be greatly appreciated.