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 - [EMAIL PROTECTED]
Using PHP on Windows? http://www.php4win.com



-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to