|
From: <php...@li...> - 2010-03-29 15:56:27
|
Hi Jost.
First, thank you for your answer.
Let me tell you, that I'm a PHP programmer, and then I don't understand
very much the java concepts.
Let me give you more information about my problem:
. I copied the jar file in javabridge WEB-INF/lib folder.
. I have another jar that I can use in the examples: exceltest.jar
. The information that I received from the jar creator is that the
"prepago" is a class, but I don't know how I can use it.
If you need more information or the jar file, please tell me.
Thank you again. J
PD: I'm not receiving the post answer in my email. Is it normal?
De: Berlington Barnett [mailto:bba...@gm...]
Enviado el: domingo, 28 de marzo de 2010 19:06
Para: 'php...@li...'
Asunto: RE: USING JAR
Hello.
Recently I installed JAVABRIDGE without many problem. In this moment is 100%
functionally.
I receive a jar file but I can't read it, and it's very important that I
can access it.
If you want that I send you the jar file, please write me and I'll send it
you.
This is a sample to use it?
prepago.Inquire_Provider_Balance();
My PHP code is:
<?php
require_once("Java.inc");
define ("JAVA_DEBUG", true);
java_autoload("INPREPAGO_CLIENT.jar");
$prepago = new java("prepago");
?>
The result is:
Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance
failed: new prepago.
Thank you for any help that you can give me.
J
|