Hi,

I have include the directory that contains InlineJavaUserClassLink.java in the 
classpath.
Why isn't the JVM loader not able to access this class ? Could someone explain 
how the class loader loads java classes ?

The class InlineJavaUserClassLink.class is in a .jar file called
InlineJavaUser.jar that is created when you build Inline::Java. You
will find it (and therefore must place it) in the same directory where
you found/placed default_j2sdk.pl. You must NOT put InlineJavaUser.jar
in the CLASSPATH as Inline::Java takes care of this for you.


Patrick


Thanks,

-Radha



-----Original Message-----
From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 6:49 AM
To: Sisyphus
Cc: inline@perl.org
Subject: Re: Inline Integration with Perlapp

Rob,

>
> And you get:
>
> D:\pscrpt>perl try.pl
> Hello from Foo
> DONE
>
> And that runs without any dependence upon Inline at all. Can the same be
> done with Inline::Java ?
>

I don't think it can. The Inline::Java module code is required at
runtime and is invoked everytime you call a Java function. You can't
do without it at runtime.

Patrick


--
=====================
Patrick LeBoutillier
Laval, Québec, Canada




--
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to