Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Dazed/Confused from previous posts on how to call Java method from Perl

by afoken (Chancellor)
on May 13, 2016 at 18:43 UTC ( [id://1162976]=note: print w/replies, xml ) Need Help??


in reply to Re: Dazed/Confused from previous posts on how to call Java method from Perl
in thread Dazed/Confused from previous posts on how to call Java method from Perl

Error: You have specified 'Java' as an Inline programming language. I currently only know about the following languages: C, Foo, foo ...

Is Inline::Java installed?

use Inline; use Inline ( Java => 'STUDY', STUDY => ['home.rwest.workspace....'], AUTOSTUDY => 1, ); use Inline::Java gw(caught);

There are at least two things wrong with that piece of code:

  • You need to use Inline only once.
  • There is a typo after Inline::Java, you want qw(), not gw().

Have a look at the documentation of Inline::Java, it's full of examples. Also look at the test scripts of Inline::Java, they show how Inline::Java is actually used.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1162976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-18 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found