java support
| From: | miran at centrum dot cz | Date: | Thu, 23 Nov 2000 12:44:45 +0000 |
| Subject: | java support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-895@lists.php.net to get a copy of this message | ||
Hi,
I have problem with Java support - I'm using PHP4.0.3pl1 on MS
Windows98 and I need to use some code, written in Java and I
can't configure PHP. When I open php page, which contains
something like:
---------------------------
$my_class = new Java("My_class");
// file My_class.class is in the same directory as the .php file
....
---------------------------
in the browser is:
Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in
d:\www/Subscriber/connector/index.php on line 13
my java section in php looks so:
----------------------------------------------------------
[Java]
java.class.path="c:\php\extesinons\jdk1.3\php_java.jar;<path
to
My_class>"
java.home="C:\jdk1.3\bin;C:\Program
files\JavaSoft\jre\bin\;c:\jdk1.3\bin;<path to My_class>"
java.library="c:\Program Files\JavaSoft\Jre\1.3
\bin\hotspot\jvm.dll"
java.library.path="c:\jdk1.3\lib;<path to My_class>"
thanks
miran
K chatování je tu http://www.XChat.cz
Založte si svůj mail na http://mail.centrum.cz