Re: Strange Java Extension Problem (fwd)
| From: | Xavier Noguer | Date: | Fri, 11 Jan 2002 15:00:03 +0000 |
| Subject: | Re: Strange Java Extension Problem (fwd) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80204@lists.php.net to get a copy of this message | ||
>Also, the value I set in the ini file for java.library is changed from
>libjvm.so to libjava.so. Is this suppose to happen? I was guessing as to
>what library I should use here, but the error I am getting indicates that it
>can't start the jvm, so this has me worried to. Which library is the correct
>one?
I had the same problem and in my php.ini java.library is set to libjvm.so,
since it's already working now, I think that's the correct value...
about the "Unable to create Java Virtual Machine" error, in my case I solved
it by setting the LD_LIBRARY_PATH environment variable to the apropiate
values. In your case I suppose that would be /usr/java1.2/jre/lib/sparc/ and
/usr/java1.2/jre/lib/sparc/classic or /usr/java1.2/jre/lib/sparc/client
depending on which JVM you have (java -version).
If this is usefull at all, please let me know.
Xavier