Re: Java-Mess

From: Date: Mon, 23 Oct 2000 15:56:35 +0000
Subject: Re: Java-Mess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21804@lists.php.net to get a copy of this message
That error message is the Java VM saying "I can't find that class." Have you tried a more concrete class, like String? Make sure your java pathing is setup correctly as well. -Szii At 03:13 PM 10/23/00 +0200, Martin wrote: >Hello ! > >I tried to call a Java-class from php. I tried to make small steps, so >the first thing I did was: ><? >$j = new Java("java.lang.System"); // This is line 2 >?> > >With the result: >Fatal error: Cannot instantiate non-existent class: java in >/var/www/html/java.php on line 2 > >So what went wrong ? I have configured php '--with-java'. But in >phpinfo(), there is no other hint on java then this. Help ! > >Martin > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#21804) next »