-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 9 internal conflict #21
Comments
Same problem here.. did u solve it? |
Could you provide more information on your systems? Linux distribution, CMake version, Java version (JDK/JRE) etc. |
Solved. |
The Java detection on CMake's side may be improvable, but it is difficult to do that without the same system, and without breaking it for other people. The whole search can be improved by providing |
I am running into this same issue with Java detection. Sorry bit of a noob here, this is the error message
Is there a reliable way to get around this? Running 5.8.10-arch -1 |
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
CMake Warning at /usr/share/cmake-3.5/Modules/FindJava.cmake:158 (message):
regex not supported: openjdk version "9-internal"
OpenJDK Runtime Environment (build
9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src,
mixed mode). Please report
Call Stack (most recent call first):
CMakeLists.txt:64 (FIND_PACKAGE)
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE
Java_JAVADOC_EXECUTABLE Development) (found version "..")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindJava.cmake:244 (find_package_handle_standard_args)
CMakeLists.txt:64 (FIND_PACKAGE)
The text was updated successfully, but these errors were encountered: