[pkg-java] r19037 - trunk/website

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 26 15:25:08 UTC 2016


Author: ebourg-guest
Date: 2016-04-26 15:25:08 +0000 (Tue, 26 Apr 2016)
New Revision: 19037

Modified:
   trunk/website/checkjdk.php
Log:
Watch the Java 9 preview releases



Modified: trunk/website/checkjdk.php
===================================================================
--- trunk/website/checkjdk.php	2016-04-26 15:01:17 UTC (rev 19036)
+++ trunk/website/checkjdk.php	2016-04-26 15:25:08 UTC (rev 19037)
@@ -2,9 +2,11 @@
 
 $JDK7_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html";
 $JDK8_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html";
+$JDK9_DOWNLOAD_URL="https://jdk9.java.net/download/";
 
 $JAVA7_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK7_DOWNLOAD_URL | /bin/sed -n 's/.*\([7]\(u[0-9]\+\)\?-b[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
 $JAVA8_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK8_DOWNLOAD_URL | /bin/sed -n 's/.*\([8]\(u[0-9]\+\)\?-b[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
+$JAVA9_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK9_DOWNLOAD_URL | /bin/sed -n 's/.*\([9]-ea.\([0-9]\+\)\?\).*/9+\\2/p' | /usr/bin/head -n 1"));
 
 ?>
 
@@ -27,6 +29,7 @@
 <p>Latest Java releases:</p>
 
 <ul>
+  <li><a href="http://hg.openjdk.java.net/jdk9/jdk9/archive/jdk-<?= $JAVA9_VERSION ?>.tar.gz">Java <?= $JAVA9_VERSION ?></a></li>
   <li><a href="http://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk<?= $JAVA8_VERSION ?>.tar.gz">Java <?= $JAVA8_VERSION ?></a></li>
   <li><a href="http://hg.openjdk.java.net/jdk7u/jdk7u/archive/jdk<?= $JAVA7_VERSION ?>.tar.gz">Java <?= $JAVA7_VERSION ?></a></li>
 </ul>




More information about the pkg-java-commits mailing list