|
38 | 38 | <property name="jdk.update" value="72" /> |
39 | 39 | <property name="jdk.build" value="14" /> |
40 | 40 | --> |
41 | | - <!-- Switching to 8 because updates end April 2015 --> |
| 41 | + <!-- Switching to 8 because updates for 7 end April 2015 --> |
42 | 42 | <property name="jdk.version" value="8" /> |
43 | | - <property name="jdk.update" value="25" /> |
44 | | - <property name="jdk.build" value="17" /> |
| 43 | + <property name="jdk.update" value="31" /> |
| 44 | + <property name="jdk.build" value="13" /> |
45 | 45 | <property name="jdk.stuff" value="${jdk.version}u${jdk.update}" /> |
46 | 46 | <property name="jdk.esoteric" value="1.${jdk.version}.0_${jdk.update}" /> |
47 | 47 |
|
|
54 | 54 | value="jre-${jdk.stuff}-${platform}-x64.tar.gz"> |
55 | 55 | <equals arg1="${sun.arch.data.model}" arg2="64" /> |
56 | 56 | </condition> |
| 57 | + |
| 58 | + <!-- for the new one that uses the special getter --> |
| 59 | + <condition property="jre.download" |
| 60 | + value="${jdk.stuff}-${platform}-i586.tar.gz"> |
| 61 | + <equals arg1="${sun.arch.data.model}" arg2="32" /> |
| 62 | + </condition> |
| 63 | + <condition property="jre.download" |
| 64 | + value="${jdk.stuff}-${platform}-x64.tar.gz"> |
| 65 | + <equals arg1="${sun.arch.data.model}" arg2="64" /> |
| 66 | + </condition> |
| 67 | + |
57 | 68 | <!-- JDK location for Mac OS X --> |
| 69 | + <!-- |
58 | 70 | <condition property="jdk.file" value="jdk-${jdk.stuff}-macosx-x64.dmg"> |
59 | 71 | <equals arg1="${platform}" arg2="macosx" /> |
60 | 72 | </condition> |
| 73 | + --> |
61 | 74 |
|
62 | 75 | <fileset dir="windows/work/java" id="jre-optional-windows"> |
63 | 76 | <include name="lib/ext/dnsns.jar" /> |
|
183 | 196 | <available file="${jdk.path.macosx}" property="macosx_jdk_found" /> |
184 | 197 |
|
185 | 198 | <fail if="macosx" unless="macosx_jdk_found" |
186 | | - message="JDK ${jdk.stuff} required.${line.separator}To build on OS X, you must install Oracle's JDK ${jdk.stuff} from${line.separator}http://www.oracle.com/technetwork/java/javase/downloads${line.separator}or http://download.processing.org/java/${jdk.file}${line.separator}Note that only ${jdk.stuff} (not a later or earlier version) will work. ${line.separator}And it must be the JDK, not the JRE. And do not try to defy me again." /> |
| 199 | + message="JDK ${jdk.stuff} required.${line.separator}To build on OS X, you must install Oracle's JDK ${jdk.stuff} from${line.separator}http://www.oracle.com/technetwork/java/javase/downloads${line.separator}Note that only ${jdk.stuff} (not a later or earlier version) will work. ${line.separator}And it must be the JDK, not the JRE. And do not try to defy me again." /> |
187 | 200 | <!-- |
188 | 201 | <fail if="linux" unless="java_tools_found" |
189 | 202 | message="The JAVA_HOME variable must be set to the location of a full JDK. For instance, on Ubuntu Linux, this might be /usr/lib/jvm/java-6-sun." /> |
|
0 commit comments