Closed markus2330 closed 6 years ago
Another Java related issue when compiled with Java 9:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Another Java related issue when compiled with Java 9
That seems to be related to maven, as our bindings don't use the guice library. On OSX i have maven 3.5.2 which doesn't show this issue, on ubuntu i have maven 3.5.0 which shows the issue, so i guess this got fixed already. Anyway its just a warning for now, and out of our scope to fix. Once Java10 gets released we can require a minimum maven version if old maven versions are still common.
java not correctly detected
fixed in #1530
Works perfectly now. Without javac (with java) you get:
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Exclude Plugin jni because jni not found
-- Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.8.0.141")
-- Exclude Binding jna because javac (java compiler) not found, which is only included in a jdk
Describe what you wanted to do
Compile Elektra with:
java is installed, but not javac.
Describe what you expected
That binding is excluded, because javac is missing, like jni already does:
Describe what actually happened
Workaround:
~e/scripts/configure-debian -DBINDINGS="ALL;-jna" ~e
or install java-sdk.System Information