ECJ-INTEREST-L Archives

October 2018

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Vladislav Sekulic <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 3 Oct 2018 17:32:48 +0900
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1453 bytes) , text/html (2051 bytes)
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


ATOM RSS1 RSS2