Re: PHP i need help please

From: Date: Thu, 19 Jun 2003 09:30:27 +0000
Subject: Re: PHP i need help please
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20424@lists.php.net to get a copy of this message
At 16:00 18.06.2003 -0400, you wrote:
I ment to tell you that worked. however if i did this: $myClass = new Java("myCustomJavaClass"); the application would crash with: Warning: java.lang.ClassNotFoundException: myCustomJavaClass it seems that no matter where I put the myCustomJavaClass.class file its not visible even with a hardwired CLASSPATH in the environment I tried placing the class file into each path shown below: java.class.path = c:\php\extensions\php_java.jar java.home = c:\j2sdk1.4.1_01\jre java.library = c:\j2sdk1.4.1_01\jre\bin\client\jvm.dll java.library.path = c:\php\extensions\ all the above areas... still doesnt work.
extend your classpath: java.class.path = "c:\php\extensions\php_java.jar;c:\path\to my classes" i.e. java.class.path = "c:\php\extensions\php_java.jar;c:\java\classes" when myCustomJavaClass.class is located in c:\java\classes. hope there's nothing wrong with cc-ing to the list... mit freundlichen grüßen aus berlin, daniel /*-- Daniel Beulshausen - daniel@php4win.com Using PHP on Windows? http://www.php4win.com

« previous php.windows (#20424) next »