unfortunately some users seem to forget to manually install the downloaded Java runtime and therefore could not start YaCy - added concept to always distribute the latest Java version via external php script git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7076 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
4f22e2df41
commit
d5ccbb99f9
@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
This file serves the latest Java version locations for the Windows installer.
|
||||||
|
|
||||||
|
JAVA VERSION
|
||||||
|
http://www.java.com/de/download/manual.jsp BundleId +1 / +2
|
||||||
|
|
||||||
|
$_GET['what'] should be 'jre'
|
||||||
|
$_GET['version'] 32 or 64 (bit)
|
||||||
|
$_GET['yacyrevnr'] not used yet
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
if ($_GET['what'] == 'jre') {
|
||||||
|
|
||||||
|
if($_GET['version'] == 32)
|
||||||
|
// jre-6u18-windows-i586.exe
|
||||||
|
header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=37718');
|
||||||
|
|
||||||
|
if($_GET['version'] == 64)
|
||||||
|
// jre-6u18-windows-x64.exe
|
||||||
|
header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=37401');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in new issue