[cmake-developers] [CMake 0014389]: Find package Java should look first in the JAVA_HOME env var.

Mantis Bug Tracker mantis at public.kitware.com
Wed Sep 4 10:21:20 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14389 
====================================================================== 
Reported By:                ycollet
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14389
Category:                   (No Category)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-09-04 10:21 EDT
Last Modified:              2013-09-04 10:21 EDT
====================================================================== 
Summary:                    Find package Java should look first in the JAVA_HOME
env var.
Description: 
Actually, find_package(Java) look first into windows registry and last in the
JAVA_HOME environment variable.
It should look first in JAVA_HOME env var and then in the registry.
This will allow a user to select the version of java he wanted to use (32 / 64
bits, 1.7 / 1.6).
Today, if a java sdk has been correctly installed, it will be always selected by
find_package.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-09-04 10:21 ycollet        New Issue                                    
======================================================================




More information about the cmake-developers mailing list