Hi Vlad, I'll set up a Xubuntu VM this afternoon and see if I can reproduce the problem! We should really be using target 1.6 anyway nowadays, so that's an easy fix—but I'll see if I can figure out what is causing the remaining "100 errors"! Thanks, Siggy On Wed, Oct 3, 2018 at 4:45 AM Vladislav Sekulic <[log in to unmask]> wrote: > Hello! > > I am attempting to install ECJ on Ubuntu 18.04 and am encountering a few > problems. I'm using the version checked out from github (26, I believe). > > When installing via the Maven method ("mvn clean package") the install > procedure fails at the tests stage, with a > java.lang.reflect.InvocationTargetException error, caused by > "java.lang.RuntimeException: Class java/util/UUID could not be > instrumented." and "java.lang.NoSuchFieldException: $jacocoAcces". > > I then tried installing using the Makefile, without the gui: > > --- > $ make > This builds the code except for gui > For other Makefile options, type: make help > > mkdir -p target/classes > javac -target 1.5 -source 1.5 -g -Xlint:deprecation -d target/classes > src/main/java//ec/*.java > > ****SNIP**** > > warning: [options] bootstrap class path not set in conjunction with > -source 5 > error: Source option 5 is no longer supported. Use 6 or later. > error: Target option 1.5 is no longer supported. Use 1.6 or later. > Makefile:115: recipe for target 'base' failed > make: *** [base] Error 2 > --- > > For reference, java -version gives me openjdk 10.0.2, and mvn -version > gives 3.5.2. I tried the lazy solution of changing the -target and -source > flags to 1.6 in the Makefile, but got 100 errors, so no go there. :) > > I may try to install an older JDK 5 but before going down that path I > thought I'd ask first in case I'm missing something very basic. Let me know > if I can provide any further troubleshooting! > > Thank you, > Vlad Sekulic > RIKEN Center for Brain Science > -- Doctoral Candidate, George Mason University Web Director, Journal of Mason Graduate Research http://mason.gmu.edu/~escott8/