Re: [PHP4BETA] strange effect when calling Java

From: Date: Mon, 22 May 2000 17:01:56 +0000
Subject: Re: [PHP4BETA] strange effect when calling Java
Groups: php.version4 
Request: Send a blank email to php-version4+get-15435@lists.php.net to get a copy of this message
Christian Wenz wrote: > If I call this script via http://localhost/php4/jver.php , I > get > the following output: > Java version=1.1.3 > > I also have Tomcat 3.1 running. If I copy my php4 script directory > into the webapps/examples directory and call the script via > http://localhost:8080/examples/php4/jver.php, I get the > following > output: > Java version=1.1.8 It is possible that they could be finding and loading two different JVMs. I presume that the first example is using ext_java, in which case it will look in your path for javai.dll (jvm.dll for JDK 1.2+ users). With Tomcat, you will use the JVM associated with the java.exe that you use to launch Tomcat. As many products ship JVMs these days, it is possible that you are finding another one and using it... - Sam Ruby

« previous php.version4 (#15435) next »