[TYPO3-50-general] JavaBridge and PHP6

Andreas Förthner Andreas.Foerthner at netlogix.de
Sat Jun 30 16:40:00 CEST 2007


Hi all,

I tried to compile the JavaBridge once again. I still can't get it 
running. I compiled it many times with different configure options 
(changed the java path, as I'm not really sure what is needed). 
Compilation works great, and apache comes up fine. This is what phpinfo 
  tells me about the java extension:

java support 	Enabled
java bridge 	4.1.5
java.java_home 	/usr/lib/java
java.java 	/usr/lib/java/bin/java
java.log_file 	<stderr>
java.log_level 	no value (use back-end's default level)
java.persistent_connections 	On
java.security_policy 	Off
java command 	JAVA_HOME=/usr/lib/java 
LD_LIBRARY_PATH=/usr/local/php6/lib/php/extensions: 
/usr/lib/java/bin/java 
-Djava.library.path=/usr/local/php6/lib/php/extensions 
-Djava.class.path=/usr/local/php6/lib/php/extensions/JavaBridge.jar 
-Djava.awt.headless=true 
-Dphp.java.bridge.base=/usr/local/php6/lib/php/extensions 
php.java.bridge.Standalone LOCAL:9267 1
java status 	running
java server 	9267

That seems to be ok, and the java path is definitely ok, at least the 
java executeable lies exactly there.
But still, all unittests that use java classes are running in a segfault.
Also I'm not really sure what the install.sh should do. It doesn't 
really find the php installation I think, at least it doesn't copy the 
java.so and .jar files into the extension directory, but "make install" 
does this.

I really have no idea what's going on there. Has anybody found a 
solution to compile this bridge with php6 under debian or at least linux?

I'm at the end of my ideas.

These are the exact configure options:

./configure --with-java=/usr/lib/java,/usr/lib/java

I don't rellay know where the sdk lies, but it compiles with these 
options, so I think the path is correct.

So any help would be really great!

Greets Andi


More information about the TYPO3-project-5_0-general mailing list