From: <php...@li...> - 2006-11-15 15:39:49
|
Am Dienstag, 14. November 2006 19:30 schrieb php...@li...: > For example the command: > > /opt/jdk1.6/bin/jrunscript -l php-intractive OK, what I did: - compiling the php-java-bridge source on my Suse Linux 10.1 x64 box from the tar.bz2 file. The used JDK was SUN JDK 1.5.0_x. - downloading Java 1.6.0 RC from SUNs website and installed the rpm - copied JavaBridge.jar php-script.jar script-api.jar to the JRE 6 extension dir - started /usr/java/jdk1.6.0/bin/jrunscript -l php-interactive Now I got a php-interactive> command prompt. Now I tried things like echo "test"; with and without the ;, with <? or <?php and so on, but always I got: php-interactive> echo "2"; script error: Could not evaluate script Is the problem that I compiled the bridge with a JDK 1.5 instead of 1.6? I tried 1.6 but there were some errors. If this might be the problem I'll post the compile errors here. I tried jrunscript with JavaScript as scripting language and this worked, so I guess the JDK is ok. Is some additional information needed? What could I do now? Regards, Verena |