Krichmar*!

On Wed, Oct 10, 2018, 8:48 AM Eric 'Siggy' Scott <[log in to unmask]> wrote:
Sean,

It's an ECJ problem class and assorted helper classes that I wrote a couple years ago for use with CARLsim while I was on a project with Giorgio and Jeff Kirchmar.

Glad to hear someone will be dusting it off!

Siggy

On Wed, Oct 10, 2018, 7:20 AM Sean Luke <[log in to unmask]> wrote:
Wait, explain CARLSim's ECJ interface.

Sean

> On Oct 10, 2018, at 3:33 AM, Vladislav Sekulic <[log in to unmask]> wrote:
>
> Hi all,
>
> Thank you for the prompt assistance! I've disabled the tests as per Siggy's suggestion and it all works fine now!
>
> I've been slow to follow up due to lab demands but I'm looking forward to start using ECJ! (For reference, I'll be using the CARLsim simulator along with its ECJ interface for parameter-tuning.)
>
> Thanks again!
> Vlad
>
>
> On Fri, Oct 5, 2018 at 5:07 AM Eric 'Siggy' Scott <[log in to unmask]> wrote:
> Vlad,
>
> You're right—the test instrumentation plugin crashes on a fresh Ubuntu install.  I'll try and fix this when I get a chance.
>
> For now, if you want to use Maven, you can get around it by skipping tests:
>
> mvn clean package -DskipTests

> Everything else seems to work smoothly on Ubuntu.
>
> Thanks,
> Siggy
>
> On Thu, Oct 4, 2018 at 10:07 AM Eric 'Siggy' Scott <[log in to unmask]> wrote:
> 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/
>
>
> --
>
> Doctoral Candidate, George Mason University
> Web Director, Journal of Mason Graduate Research
> http://mason.gmu.edu/~escott8/