note 40826 deleted from ref.java by nlopess
| From: | nlopess@php.net | Date: | Tue, 16 Mar 2004 14:12:43 +0000 |
| Subject: | note 40826 deleted from ref.java by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66914@lists.php.net to get a copy of this message | ||
Note Submitter: thewizards11 at netscape dot net
----
hi,
after following through everything, i made all possible changes.. but i was still getting the error
:
Fatal error: Unable to load Java Library /opt/java/j2sdk1.4.2/jre/lib/i386/libjava.so, error:
/opt/java/j2sdk1.4.2/jre/lib/i386/libjava.so: symbol JVM_GetClassName, version SUNWprivate_1.1 not
defined in file libjvm.so with link time reference in /usr/local/apache/htdocs/java.php on line 3
i had export statement for ld path in my apachectl and i commented out java.library and
java.library.path directives (so it could use them from ld path)
anyway.. then.. i ran this command into the command line:
ldd -d /opt/java/j2sdk1.4.2/jre/lib/i386/server/libjvm.so
and changed java.library to:
java.library = "/opt/java/j2sdk1.4.2/jre/lib/i386/server/libjvm.so"
and now i dont get any errors : ).. but i dont get expected output either..
the output i get is:
Java version=1.4.2<br />Java vendor=Sun Microsystems Inc.<br />OS=Linux 2.4.20-30.9 on
i386 <br />ZoneInfo: /opt/java/j2sdk1.4.2/lib/zi/ZoneInfoMappings (No such file or directory)
ZoneInfo: /opt/java/j2sdk1.4.2/lib/zi/ZoneInfoMappings (No such file or directory)
Tuesday, March 16, 2004 at 3:39:38 AM GMT-05:00
the code i tried to run (from command line) was one of the example codes provided above .. i will
let u guys know if i come up with something