[cmake-developers] [CMake 0012056]: Java: option to disable windows-registry in hints for FindJava and FindJNI
Mantis Bug Tracker
mantis at public.kitware.com
Thu Apr 7 13:52:31 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12056
======================================================================
Reported By: Oliver Buchtala
Assigned To:
======================================================================
Project: CMake
Issue ID: 12056
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-04-07 18:52 WAT
Last Modified: 2011-04-07 18:52 WAT
======================================================================
Summary: Java: option to disable windows-registry in hints
for FindJava and FindJNI
Description:
In some cases it is necessary to have full control over the actual JDK version
used for building. E.g., when hosting a JVM in a C++ app the jvm library version
to link against is important. Otherwise can crash if jvm dynamic library found
at runtime is incompatible.
On windows, the Java search modules treat registry entries as first class hints.
More control could be provided if JAVA_HOME would be first here.
If this order (registry before JAVA_HOME) is of importance, then an option to
disable the registry hints would be handy.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-04-07 18:52 Oliver BuchtalaNew Issue
======================================================================
More information about the cmake-developers
mailing list