Re: [PHP4BETA] strange effect when calling Java

From: Date: Mon, 22 May 2000 18:20:07 +0000
Subject: Re: [PHP4BETA] strange effect when calling Java
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15448@lists.php.net to get a copy of this message
Hi Sam, thanks, I think you may be right. I think that JDK1.x didn't copy all its important files (java.exe, javai.dll= into the Windows directory, so there may well be an old version. Thanks for the pointer! Regards Christian ----- Original Message ----- From: <rubys@us.ibm.com> To: "Christian Wenz" <christian.wenz@stud.tu-muenchen.de> Cc: <php4beta@lists.php.net> Sent: Monday, May 22, 2000 7:01 PM Subject: Re: [PHP4BETA] strange effect when calling Java > > > 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 (#15448) next »