Using Janino Compiler with Drools to get round Java 8 wrong class format error

Add -Ddrools.dialect.java.compiler=JANINO to Java VM options

  • e.g.  -ea -Ddrools.dialect.java.compiler=JANINO

Add Janino to maven dependencies

[code language=”xml”]
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.5.16</version>
</dependency>
[/code]

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.