https://issues.apache.org/bugzilla/show_bug.cgi?id=46739
Summary: java.home gives errors when it is set to a JDK
Product: Ant
Version: 1.7.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Many projects rely on java.home (ie: jboss-ws build/install ant files)
if you run these ant scripts they will give errors since java.home is being set
to the users %JAVA_HOME%/jre.
Users that add "-Djava.home=%JAVA_HOME%" when running ant will get the
following error:
can't open C:\Progra~1\Java\jdk1.6.0_04\lib\tzmappings.
ZoneInfo: C:\Progra~1\Java\jdk1.6.0_04\lib\zi\ZoneInfoMappings (The system
cannot find the path specified)
ZoneInfo: C:\Progra~1\Java\jdk1.6.0_04\lib\zi\ZoneInfoMappings (The system
cannot find the path specified)
(Note: JAVA_HOME is set to C:\Progra~1\Java\jdk1.6.0_04)
This is happening because ant assums the java.home will be the JRE.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.