use Inline (
Java => 'STUDY',
AUTOSTUDY=> 1,
STUDY => [qw (java.util.Date
java.util.Calendar
java.lang.String
) ],
PACKAGE => 'main', # this exports to the main package..
SHARED_JVM => 1,
DIRECTORY => 'the directory you gave while you setup inline (for cache / temp storage I guess)',
CLASSPATH => 'full path to your jar files delimited by ':'
);
use Inline::Java qw(caught) ;


==================================================


after this you should be able to instantiate objects and call methods from the "main" package (perl space).



I'm writing with very faint memory, I think this code should work. Good luck


-ramki


Vinod Walse wrote:
I am not able to use STUDY in Inline::Java

Can you send me some samples on how to use STUDY using a class from a jar file
  • Hi Vinod Walse
    • Re: Hi ramki
    • Hi Karthika Arunkumar

Reply via email to