You are explicitely studying the class you have problem with
(com.ibm.client.Contract). It doesn't even look like an AUTOSTUDY problem. Is
the Contract class in your classpath?
Vishal
Quoting Jay Strauss <[EMAIL PROTECTED]>:
> Hi,
>
> I can't seem to autostudy. I've looked at the archives, a
I don't know enough to answer your question, but don't you have to use
Inline::Java::Callback module to accomplish something like that?
Vishal
Quoting Jay Strauss <[EMAIL PROTECTED]>:
> Hi, I'd like my Java to call an already instantiated perl object. I tried
> the
> code below (plus other va
Oh yeah, I never noticed the PACKAGE directive in the Inline::Java
documentation. It's pretty cool. Thanks.
Vishal
Quoting Patrick LeBoutillier <[EMAIL PROTECTED]>:
> Hi,
>
> By default Inline::Java imports the symbols in the caller package. So
> if you say:
>
> package mypack;
> use Inlin
It does not recognize the class. Here is the exact error message:
Can't locate object method "new" via package "com::sonicsw::mq::mgmtapi::config:
:MQMgmtBeanFactory" (perhaps you forgot to load "com::sonicsw::mq::mg
Hi all,
What should I do to use Inline Java, if all the use statements pertaining to it
are in a different package. For example, if I want to create an object of class
com.sonicsw.mq.mgmtapi.config.MQMgmtBeanFactory in a perl script, then I will
have to say something like:
my $objectRef = new com
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 =>
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'];
--
Thanks Patrick
Quoting Patrick LeBoutillier <[EMAIL PROTECTED]>:
> On 11/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > How can I use the CLASSPATH configuration option with Inline::Java? If, at
> the
> > beginning of the perl program, I add a line like:
> >
> > use Inline
Hi,
How can I use the CLASSPATH configuration option with Inline::Java? If, at the
beginning of the perl program, I add a line like:
use Inline Java => 'CLASSPATH', CLASSPATH => 'C:\Sonic\MQ6.1\lib\broker.jar';
perl complians as follows:
-
Thanks Patrick. I had forgotten that.
I have another question. Can we always use AUTOSTUDY. For example, the following
little script would not work:
use Inline Java => 'AUTOSTUDY', AUTOSTUDY => 1;
my $hm = new java:
Hi,
I was wondering if it is possible to call a static method from a class which has
been studied by Inline::Java, if there is no constructor available for the
class. For example, I have written the following script:
---
I agree with Andy's idea. It would be much easier to use it on Win32 if
directories like "Documents and Settings" did not create any problems owing to
the spaces in the name.
Vishal
Quoting Ingy dot Net <[EMAIL PROTECTED]>:
> Hi All,
>
> I'm thinking about releasing a new version of Inline in
Thanks Nitin,
That was it. It worked when I tried to run the script from a directory without
any space in the name.
Quoting Nitin Madnani <[EMAIL PROTECTED]>:
> Hmm, I am thinking that it somehow truncated the "Documents and
> Settings" folder name to "Documents". Try installing it under a one
Hi,
I am a novice at using Perl. I just built and installed Inline 0.44 and
Inline::Java 0.49 on top of an ActiveState Perl 5.8.7 installation on Win32.
Then, I tried to use the Inline::Java module with the following script found on
the author's documentation page:
--
14 matches
Mail list logo