|
From: <php...@li...> - 2008-10-12 16:39:36
|
Hi David,
> Well I'm starting using php-java-bridge under linux.
I assume that you don't want to use Java. The linux binary is a native binary and has been compiled against the standard library path, which is /usr/lib. However, I doubt that matlab will work with GNU Java.
Please use a real Java implementation instead.
> When I implement Matlab Java export in Java, there is no
> problem, after
> I have define LD_LIBRARY_PATH with "export".
Fine.
> indicating that it does not find Matlab PATH.
Well, just start a real JVM and set the LD_LIBRARY_PATH before starting your Java application. After that you can call your app methods from PHP, as usual.
> However, I try "export", php putenv function and
> exec() without success.
I don't understand. There is no putenv() procedure in Java, so java("java.lang.System")->putenv(...) will almost certainly not work.
Regards,
Jost Boekemeier
|