|
From: <php...@li...> - 2009-05-04 07:18:25
|
1. You can query the available methods using echo java_inspect($objOrClass)
2. The java_require() creates a new url class loader which can load any .jar
file or directory containing jar files, provided they are accessible and
valid.
3. Classes must be loaded by one and only one class loader. Adding the same
location or copying classes to another location (moving them is okay) will
lead to a disaster. Blame sun for this.
Regards,
Jost Boekemeier
Mai 4, 2009 9:00 vorm. schrieb am <
php...@li...>:
Hello,
I get the whole time "NoSuchMethodException", but if I add
"java_require(".....")" to the php code I get another message:
javax.servlet.ServletException: java.lang.RuntimeException:
PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception:
Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)
[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)
[o:String]). Cause: java.io.IOException: Could not open jar file
WebProjekt, reason: WebProjekt (Das System kann die angegebene Datei nicht
finden) VM: 1.6.0_10@http://java.sun.com/"Why is the jar(file) not found?
Many thanks in Advance!
------------------------------------------------------------------------------
Register No...
|