When Drools could support JDK 8

1,176 views
Skip to first unread message

lusha...@gmail.com

unread,
Feb 25, 2015, 4:53:08 AM2/25/15
to drools-de...@googlegroups.com
Anyone tell me when Drools would support JDK 8?

Mario Fusco

unread,
Feb 25, 2015, 9:48:48 AM2/25/15
to drools-de...@googlegroups.com
Hi,

As far as I know Drools already supports JDK 8. Which Drools version did you try? Did you find any issue?

Cheers,
Mario

On Wed, Feb 25, 2015 at 10:53 AM, <lusha...@gmail.com> wrote:
Anyone tell me when Drools would support JDK 8?

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-developm...@googlegroups.com.
To post to this group, send email to drools-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-development/6d04ed7a-7485-4469-b1e2-614465f48b2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lusha...@gmail.com

unread,
Feb 26, 2015, 3:29:28 AM2/26/15
to drools-de...@googlegroups.com
We are now using Drools <drools-compiler-6.1.0.Final.jar> in JBoss 8.2.0 Final with ecj 4.3.1
All we got is
java.lang.RuntimeException: wrong class format
    at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:279)
    at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:219)
 

在 2015年2月25日星期三 UTC+8下午10:48:48,Mario Fusco写道:
Hi,

As far as I know Drools already supports JDK 8. Which Drools version did you try? Did you find any issue?

Cheers,
Mario
On Wed, Feb 25, 2015 at 10:53 AM, <lusha...@gmail.com> wrote:
Anyone tell me when Drools would support JDK 8?

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsub...@googlegroups.com.

Mario Fusco

unread,
Feb 26, 2015, 3:32:52 AM2/26/15
to drools-de...@googlegroups.com
Hi,

ecj 4.3.1 is the same version already imported by drools-compiler, so that one should be fine.
Can you please send a reproducer for this problem, so I could give a look at it?

Thanks,
Mario

To unsubscribe from this group and stop receiving emails from it, send an email to drools-developm...@googlegroups.com.

To post to this group, send email to drools-de...@googlegroups.com.

Edward Cai

unread,
Jun 24, 2016, 4:20:36 PM6/24/16
to Drools Development
Hi Mario,

I'm trying to upgrade Drools dependencies to run on JRE 1.8. We are using 5.4.0 Final with mvel2. Do we have to upgrade to Drools 6 to support JRE 1.8? Thank you!!

Edward


On Thursday, February 26, 2015 at 3:32:52 AM UTC-5, Mario Fusco wrote:
Hi,

ecj 4.3.1 is the same version already imported by drools-compiler, so that one should be fine.
Can you please send a reproducer for this problem, so I could give a look at it?

Thanks,
Mario
On Thu, Feb 26, 2015 at 9:29 AM, <lusha...@gmail.com> wrote:
We are now using Drools <drools-compiler-6.1.0.Final.jar> in JBoss 8.2.0 Final with ecj 4.3.1
All we got is
java.lang.RuntimeException: wrong class format
    at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:279)
    at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:219)
 

在 2015年2月25日星期三 UTC+8下午10:48:48,Mario Fusco写道:
Hi,

As far as I know Drools already supports JDK 8. Which Drools version did you try? Did you find any issue?

Cheers,
Mario
On Wed, Feb 25, 2015 at 10:53 AM, <lusha...@gmail.com> wrote:
Anyone tell me when Drools would support JDK 8?

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsub...@googlegroups.com.
To post to this group, send email to drools-de...@googlegroups.com.

Edward Cai

unread,
Jun 24, 2016, 4:26:35 PM6/24/16
to Drools Development
I guess I want to find out first... if our current 5.4.0 FINAL version supports JRE 1.8? Our dependencies setting is as follows:

<!-- Drools dependencies -->
            <dependency>
                <groupId>org.drools</groupId>
                <artifactId>knowledge-api</artifactId>
                <version>5.4.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.drools</groupId>
                <artifactId>knowledge-internal-api</artifactId>
                <version>5.4.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.drools</groupId>
                <artifactId>drools-core</artifactId>
                <version>5.4.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.drools</groupId>
                <artifactId>drools-compiler</artifactId>
                <version>5.4.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.drools</groupId>
                <artifactId>drools-spring</artifactId>
                <version>5.4.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.mvel</groupId>
                <artifactId>mvel2</artifactId>
                <version>2.2.2.FINAL</version>
            </dependency>
            <dependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr-runtime</artifactId>
                <version>3.4</version>
            </dependency>

Mario Fusco

unread,
Jun 24, 2016, 5:47:09 PM6/24/16
to drools-de...@googlegroups.com

Sorry to let you notice this, but Drools 5.4 has been released 5 years ago. Do you really expect Java 8 support (or any other kind of support from the Drools team) on that release?

Mario

To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-developm...@googlegroups.com.

To post to this group, send email to drools-de...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-developm...@googlegroups.com.

To post to this group, send email to drools-de...@googlegroups.com.

Edward Cai

unread,
Jun 24, 2016, 5:50:51 PM6/24/16
to Drools Development
Generally speaking not, but I read rumors here about how people run JRE 1.8 on Drools 5.6... so I think 5.4 might be possible. I guess 6.2.0 FINAL would probably support JRE 1.8...

Edward
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsub...@googlegroups.com.
To post to this group, send email to drools-de...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-development+unsub...@googlegroups.com.
To post to this group, send email to drools-de...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages