PDA

View Full Version : Java extension


g7star
08-29-2002, 10:40 AM
I try to set up Java extension to work.

In php.ini (under C:\WINNT directory) I set

[Java]
java.class.path = "C:\Program Files\EasyPHP\php\extensions\php_java.jar;C:\jdk\MyClasses\"
java.home = C:\jdk\bin\
java.library = C:\WINNT\system32\jvm.dll
java.library.path = C:\Program Files\EasyPHP\php\extensions\

and uncommented following line
extension=php_java.dll

I installed jdk1.1.8 under C:\jdk
And added the path, C:\jdk in the System->Advanced->Path field.

But it shows
Fatal error: Unable to create Java Virtual Machine
message.

I'm using Windows2000 and EasyPHP(Apache, MySQL, and PHP).

Can anyone help me?

Dr. Web
08-29-2002, 02:00 PM
you need a java server... do you have one? JRUN, websphere... etc.

g7star
08-29-2002, 03:08 PM
No..
Are there any free ones?

Dr. Web
08-29-2002, 05:34 PM
well, you can do a search for free java/ jsp hosts. There are bound to be some out there. I remember finding one when I was looking the last time.... though, don't remember what it was.