| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|Install Java on PHP|
| 9:33 pm on Nov 13, 2003 (gmt 0)|
I have Apache and PHP running on a Windows XP Pro box. Everything works fine. I need to install Java so that PHP can interact with a Java file.
I installed the Java SDK and at the comand prompt everything looks okay with a version check. When I try to run a basic PHP program with a Java call through the browser I keep getting the following:
Fatal error: Cannot instantiate non-existent class: java in C:\mainfolder\htdocs\listing1.php on line 3
Im sure it has something to do with the php.ini file but Ive tried everything and now Im stuck.
Here's what is in the php.ini file under java:
java.class.path = "c:\mainfolder\php\extensions\php_java.jar;"
java.home = C:\jdk1.3.1_09
java.library = C:\jdk1.3.1_09\jre\bin\hotspot\jvm.dll
java.library.path = c:\php\extensions
what am I doing wrong?
| 1:58 am on Nov 15, 2003 (gmt 0)|
I don't really know the answer have you looked through this
PHP / Java Integration [ca.php.net]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved