> I am using php 4.0.4pl1.  I added the AS400 toolkit to the JVM so I can
> interface with an AS400. but for some reason when I go to use a class in
> the JVM it says.
> 
> Fatal error: Cannot instantiate non-existent class: java in
> c:\Inetpub\wwwroot/AS400/testtoolbox.php on line 11
> 
> Below is the code I used.
> <?
> include "c:\\Inetpub\\wwwroot\\library\\calfunction.inc";
> include "c:\\Inetpub\\wwwroot\\library\\AS400lib\\standard.inc";
> session_register('userinfo');
> $user=$userinfo->user;
> $pass=$userinfo->pass;
> $printer=$userinfo->printer;
> //java constructor is AS400("system", "user", "pass")
> $as400 = new Java("com.ibm.as400.access.AS400", "X.X.X.X", "$user",
> "$pass")
>          or die("Unable to Connect to AS400");
> ?>
> 
> Ryan Conover
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to