I am using OpenJDK 1.7 to run Planner (which requires at least 1.6) and therefore drools.
All planner stuff is compiled -source 1.6 and -target 1.6.

I haven't tried a drools using project with -source 1.7 and -target 1.7 yet.
If that fails (and you can verify that -source 1.6 and -target 1.6 solves it) then please raise a jira and link that jira here.

Op 01-03-13 21:26, André Fróes schreef:
I'm implementing my model with drools 5.5.0.Final and JDK 1.7 without any issue, my only problem is the lack of knowledge on drools hehe.


2013/3/1 rbiller <billers@verizon.net>
Does anyone know of a compatibility matrix that shows what JDK versions are
compatible with Drools 5.5? The documentation mentions at least Java 1.5 is
needed, and says some examples may need 1.6.

I have encountered a problem when classes are compiled with Java 1.7, in
that if they are referenced by a DRL file, the rules compiler gives the
error "[Class] cannot be resolved to a type" for the classes that were
compiled (actually the whole jar) with Java 1.7.

Here is my post when I was trying to resolve that compile issue:
Previous post on [Class] cannot be resolved to a type error
<http://drools.46999.n3.nabble.com/Converting-Drools-3-x-to-5-5-A-JBoss-Rules-compilation-error-MyClassHelper-cannot-be-resolved-to-a-te-td4022529.html>

The rule compiler error went away when I recompiled the classes and deployed
the jar using Java 1.6. Anyone else have an issue with 1.7, or know if
Drools 5.5 is supposed to be compatible?

Thanks,
rb



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-5-and-Java-1-6-versus-1-7-Question-tp4022660.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users