Re: Inline Java Weird Error

2005-12-07 Thread Patrick LeBoutillier
Vishal, You can use the runtime mode (bind) in a BEGIN block to do this: BEGIN { $ENV{'CLASSPATH'} = 'C:\Sonic\MQ6.1\lib\certj.jar'; } BEGIN { eval{ require Inline ; Inline->bind(Java => 'STUDY', STUDY => ['com.rsa.certj.xml.Transformer']); }; } print "/n I came o

Re: Inline Java Weird Error

2005-12-02 Thread vmalik
Is there a way to prevent the program from dying in such a case? For example, I was trying to do the following: BEGIN { $ENV{'CLASSPATH'} = 'C:\Sonic\MQ6.1\lib\certj.jar'; } eval{ use Inline Java =>

Re: Inline Java Weird Error

2005-11-30 Thread Patrick LeBoutillier
> > [C:\sonicMQ-Perl]test.pl > java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_Exception > at com.rsa.certj.xml.Transformer.(Transformer.java:91) Seem like Inline::Java is trying to load com.rsa.certj.xml.Transformer, but during the class initialisation (static member?, static block?),

RE: Inline Java Weird Error

2005-11-30 Thread Ken.Williams
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 30, 2005 11:43 AM > To: inline@perl.org > Subject: Inline Java Weird Error > > &

Inline Java Weird Error

2005-11-30 Thread vmalik
Hi all, I tried to execute this little script: -- BEGIN { $ENV{'CLASSPATH'} = 'C:\Sonic\MQ6.1\lib\certj.jar'; } use Inline Java => 'STUDY', STUDY => ['com.rsa.certj.xml.Transformer']; --