Re: JavaExtention

From: Date: Thu, 19 Feb 2004 21:22:33 +0000
Subject: Re: JavaExtention
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10800@lists.php.net to get a copy of this message
On 19 Feb 2004 at 20:12, Knut Meinke wrote: > I have try the first sample from > http://www.php.net/manual/en/ref.java.php > To test the PHP Java Extension. But PHP rais a error: > > ==> > Fatal error: Cannot instantiate non-existent class: java in > /srv/tpmt/htdocs/testJava.php on line 3 > ..<== > > This ist he line and the beginn of the document: > <?php > // In PHP Instanz der Java Klasse java.lang.System erzeugen > $system = new Java('java.lang.System'); > > //[....] > ?> > > I the sample correct? The admin say the installation is ok. But the > sample is to minimal to be wrong... Please try a minimal <? phpinfo(); ?> and see yourself if the java-extension is installed and loaded. PS: And never trust admins :-))) Regards, Stefan

« previous php.pear.general (#10800) next »