Re: PHP i need help please
| From: | Kevin Ison | Date: | Thu, 19 Jun 2003 17:33:31 +0000 |
| Subject: | Re: PHP i need help please | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20431@lists.php.net to get a copy of this message | ||
danke Daniel...
apparently multiple paths need to be encapsulated with quote marks.
something i did not do.
"Daniel Beulshausen" <daniel@php4win.de> wrote in message
news:5.2.0.9.2.20030619112725.00b25db8@pop.puretec.de...
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