php with java core dump

From: Date: Wed, 01 Nov 2000 17:38:55 +0000
Subject: php with java core dump
Groups: php.install 
Request: Send a blank email to php-install+get-576@lists.php.net to get a copy of this message
Anyone seen this : I'm using: jdk1.2.2 php-4.0.3pl1 gcc version 2.8.1 Solaris 2.6 Ultra-sparc I configured PHP: configure -with-java=/path/to/java [Java] java.class.path = /export/bmet/src/php-4.0.3pl1/ext/java/php_java.jar java.home = /export/bmet/jdk1.2.2 java.library = /export/bmet/jdk1.2.2/jre/lib/sparc/classic/libjvm.so java.library.path = ./ extension=./modules/libphp_java.so Started php: php -c . < php.txt php.txt: <?php $myPoint = new Java("Point"); echo "<br>Point created at (0,0) ..."; echo $myPoint->setCoordinates(15,15); echo "<br>Point moved to (15,15)"; echo "<br>".$myPoint->display(); echo "<br>".$myPoint->sayHello(); echo "<hr>\n"; ?> (yes I have a Point.class) core dump: #0 0x0 in ?? () #1 0xef4e81e8 in sysThreadBootstrap () #2 0xef48dafc in InitializeJavaVM () #3 0xef45c6b8 in JNI_CreateJavaVM () #4 0xef3e1f7c in jvm_create () at java.c:254 #5 0xef3e2688 in java_call_function_handler (ht=1, return_value=0x149fe8, this_ptr=0x149fe8, return_value_used=1, property_reference=0xefffdd90) at java.c:436 #6 0xd2eb0 in call_overloaded_function () #7 0xd7b10 in execute () #8 0xa5eb0 in zend_execute_scripts (type=8, file_count=3) at zend.c:717 #9 0x2e320 in php_execute_script (primary_file=0xeffff180) at main.c:1200 #10 0x2c37c in main (argc=3, argv=0xeffff20c) at cgi_main.c:715 Let me know if you need more info. Thanks for any help. jim

« previous php.install (#576) next »