Code Snippets Php

//get version of Java
$system = new Java("java.lang.System");
print("Java version: " . $system->getProperty("java.version") . "
\n");
?>