Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Inline::Java and jar files?

by mpeters (Chaplain)
on May 01, 2007 at 01:07 UTC ( #612896=note: print w/ replies, xml ) Need Help??


in reply to Inline::Java and jar files?

Make sure your .jar file is found in a directory listed in your CLASSPATH variable. It's sort of like the PERL5LIB var for Perl as a mechanism to extend @INC.


-- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier


Comment on Re: Inline::Java and jar files?
Select or Download Code
Re^2: Inline::Java and jar files?
by blue_cowdawg (Prior) on May 01, 2007 at 05:00 UTC
        Make sure your .jar file is found in a directory listed in your CLASSPATH variable.

    Hmmm... actually CLASSPATH points directly at the jar file... Changing to point to the directory the jar sits in did not change the misbehavior of the script...


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Then org.bcdc.hbm.services doesn't exist, or doesn't provide PeopleService ....
      Not the CLASSPATH environment variable. The one you tell Inline::Java aboout:
      use Inline Java => <<'END', CLASSPATH => '/path/to/my.jar'; /* java code here */ END
      Phil
      The Gantry Web Framework Book is now available.

        Tried it that way too... same result.


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-04-17 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls