hi ramki,
thanks for the reply, i just tried but it didn't work, inline::java
stop at the same position as i post in my first email.
now i am using a stupid sulotion, use a system call in my pm
`perl /path/to/test1.pl`;
but i don't like to do in this way.
still looking for help.
On Mon, 20 Dec 2004 11:33:07 +0530, ramki
<[EMAIL PROTECTED]> wrote:
> Hi --
>
> Kelvin Wu wrote:
> > ---------- PKG1.pm ----------
> ...
> > $ENV{CLASSPATH} .= ":/path/to/my.jar";
>
> Why not try the CLASSPATH of Inline::Java?
>
> I had problems when I tried to do your way ($ENV{CLASSPATH}) initially,
> then I switched over to using the Inline::Java's CLASSPATH. My problem
> was solved.
>
> May be you can try the following :
>
> use Inline (
> Java => 'STUDY',
> AUTOSTUDY=> 1,
> STUDY => [qw (
> java.lang.String
> ) ],
> PACKAGE => 'main',
> DIRECTORY => '/path/to/.Inline/',
> CLASSPATH => ':/path/to/your.jar:'
> );
>
> Remember to see the CLASSPATH in the above code!
>
> hth,
> -ramki
>