Hi All, I finally managed to integrate Inline Java into Perlapp binary. I had to manually copy some files to the destination machine like default_j2sdk.pl. Right now, the JVM is started and the java code is called directly. However I am stuck at this point :
[java][1] loading InlineJavaUserClassLink via InlineJavaUserClassLoader [java][3] packet sent is error scalar:SW4gbWV0aG9kIFR1bmVyQXBwbGljYXRpb24gb2YgY2xhc3MgVHVuZXJBcHBsaWNhdGlvbjogSW5saW5lSmF2YVVzZXJDbGFzc0xvYWRlciBjYW4ndCBsb2FkIElubGluZUphdmFVc2VyQ2xhc3NMaW5rOiBpbnZhbGlkIGNsYXNzcGF0aCBzZXR1cCAoamF2YS5sYW5nLkNsYXNzTm90Rm91bmRFeGNlcHRpb246IElubGluZUphdmFVc2VyQ2xhc3NMaW5rKQ== [perl][3] packet recv is error scalar:SW4gbWV0aG9kIFR1bmVyQXBwbGljYXRpb24gb2YgY2xhc3MgVHVuZXJBcHBsaWNhdGlvbjogSW5saW5lSmF2YVVzZXJDbGFzc0xvYWRlciBjYW4ndCBsb2FkIElubGluZUphdmFVc2VyQ2xhc3NMaW5rOiBpbnZhbGlkIGNsYXNzcGF0aCBzZXR1cCAoamF2YS5sYW5nLkNsYXNzTm90Rm91bmRFeGNlcHRpb246IElubGluZUphdmFVc2VyQ2xhc3NMaW5rKQ== [perl][3] packet recv error: In method TunerApplication of class TunerApplication: InlineJavaUserClassLoader can't load InlineJavaUserClassLink: invalid classpath setup (java.lang.ClassNotFoundException: InlineJavaUserClassLink) [perl][4] destroying Inline::Java::Object [perl][4] destroying Inline::Java::Object::Tie [perl][2] destroying object in java (Drivers::AppMarimbaDriver::TunerApplication): [perl][4] destroying Inline::Java::Protocol [perl][4] destroying Inline::Java::Object::Private In method TunerApplication of class TunerApplication: InlineJavaUserClassLoader can't load InlineJavaUserClassLink: invalid classpath setup (java.lang.ClassNotFoundException: InlineJavaUserClassLink) at /PerlApp/Inline/Java/Object.pm line 49 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 ? 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