RE: Problem installing java extension on NT4.0

From: Date: Wed, 28 Jun 2000 01:08:34 +0000
Subject: RE: Problem installing java extension on NT4.0
Groups: php.windows 
Request: Send a blank email to php-windows+get-713@lists.php.net to get a copy of this message
---------------------------------------------------------------------------- ----------------- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are not the intended recipient you are hereby notified that any perusal, use, distribution, copying or disclosure is strictly prohibited. If you have received this email in error please immediately advise us by return email at postmaster@normandy.com.au and delete the email document without making a copy. ---------------------------------------------------------------------------- ----------------- I would assume that if you cant get the first example running it would be a classpath problem [java] java.class.path=C:\web\php4\php_java.jar java.home=C:\jdk1.2.2\bin java.library.path=C:\web\php4 java.library=C:\jdk1.2.2\jre\bin\classic\jvm.dll extension=php_java.dll What error are you getting with the examples i sent? Have you specified java.class.path as your path to php_java.jar? If you are trying to get the second example to work have you compiled it as a class and changed your java.class.path to include . as a valid path? Rememebering to put double quotes around the whole thing so it isnt treated as a comment? java.class.path="C:\web\php4\php_java.jar;." mn -----Original Message----- From: Joseph Okomba [mailto:Okomba@kabage.co.ke] Sent: Tuesday, June 27, 2000 5:12 PM To: Nold, Mark Cc: 'php-windows@lists.php.net' Subject: RE: Problem installing java extension on NT4.0 Hi Mark. I am sorry for bothering you again. While I was excited to have one of the Java examples run under PHP, My excitements were shorlived as the example you had send didn't run. Also I am unable to run the servlet examples. I have changed the web.xml as advised in the README. However I keep getting errors whenever I try the servlet examples. I will greatly appreciate any assistance. Thanks in advance. > -----Original Message----- > From: Joseph Okomba > Sent: Tuesday, June 27, 2000 10:37 AM > To: 'Nold, Mark' > Subject: RE: Problem installing java extension on NT4.0 > > Many thanks Mark. I am now able top run Java under PHP. > > -----Original Message----- > From: Nold, Mark [SMTP:Mark.Nold@normandy.com.au] > Sent: Tuesday, June 27, 2000 7:06 AM > To: 'Joseph Okomba'; 'php-windows@lists.php.net' > Subject: RE: Problem installing java extension on NT4.0 > > > -------------------------------------------------------------------------- > ------------------- > Disclaimer: The information contained in this email is intended only > for the use of the person(s) to whom it is addressed and may be > confidential or contain legally privileged information. If you are not the > intended recipient you are hereby notified that any perusal, use, > distribution, copying or disclosure is strictly prohibited. If you have > received this email in error please immediately advise us by return email > at postmaster@normandy.com.au and delete the email document without making > a copy. > > > -------------------------------------------------------------------------- > ------------------- > Joseph, > > Hopefully the attached helps. Just put it on your web server and > change the extension so it is parsed by PHP on your machine then read the > instructions. Just make sure you get the various directories correct for > your installation. > > The instructions should make sense and show you how to call standard > java classes (this is actually an example from the PHP teams readme's etc > which you should also look at), plus an example javaclass of my own and > how to make it work with PHP. > > From your mail it would appear that you have the > java.library=C:\jdk1.2.2\jre\bin\classic\jvm.dll incorect. > > If you have any feedback on these notes i'd love to hear em. > > mn > > > -----Original Message----- > From: Joseph Okomba [ <mailto:Okomba@kabage.co.ke>] > Sent: Monday, June 26, 2000 2:21 PM > To: 'php-windows@lists.php.net' > Subject: Problem installing java extension on NT4.0 > > > I have installed php4.0 with java extension but I keep getting the > following > error message whenever I load any of the accompanying examples: > > Fatal error: Unable to create Java Virtual Machine > > I am using JDK1.2.2 with IIS4.0. > > I will appreciate any assistance to sort out this error. > > Thanks in advance > > > > << File: javatest.htm >>

« previous php.windows (#713) next »