Getting "The Eclipse JDT Core jar is not in the classpath" when running my BRMS 6.1 application.

Solution Unverified - Updated -

Issue

I upgraded our Drools Engine from 5.0.1 to BRMS 6.2. I did all of my development locally in Eclipse, and successfully transitioned the 5.0.1 “knowledge” calls to the “kie” calls, in addition to programmatically creating the KieModule jar with kmodule.xml and the .drl files (this is created one time, on the first call). With local testing this worked with only referencing 9 jars from the jboss-brms-6.1.0.GA-engine.zip file.

Then I installed our build onto one of our Linux boxes to test. Our tests failed on creating both the stateless and stateful engines with a message saying that it was Unable to load the dialect, then at the end it says “The Eclipse JDT Core jar is not in the classpath.

This occurs each time I run our tests in the Linux environment. It works when I run from my development environment (Eclipse). Also, when I copy the org.eclipse.jdt.core....jar file into the Linux environment it works successfully.

The question I have resides in using the Eclipse JDT Core jar. We prefer to use something that is not a FOSS product. Is there another jar or product that (ideally) exists within BRMS that we can use in place of the Eclipse JDT Core jar?

Environment

Business Rules Management System (BRMS) 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.