Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If your JAVA_HOME environment variable is set to the JRE rather than the JDK, or it is set to a JDK that is not officially provided by Oracle, your LM-X SDK will be built without Java programming language support. In such cases, when you build the LM-X SDK, you will see an error similar to the following:

 

In

...

file

...

included

...

from

...

lmxjava.c:19:0:

...

lmxjava.h:2:17:

...

fatal

...

error:

...

jni.h:

...

No

...

such

...

file

...

or

...

directory

...

#include

...

<jni.h>

...

^

compilation terminated.

makefile:28:

...

recipe

...

for

...

target

...

'all'

...

failed

To fix this problem, make sure your environment variable is set to the path of version 1.6 or newer of the JDK.