Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Inline::Java and jar files?

by mpeters (Chaplain)
on May 01, 2007 at 01:07 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Inline::Java and jar files?
by blue_cowdawg (Monsignor) 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
      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
      Then org.bcdc.hbm.services doesn't exist, or doesn't provide PeopleService ....

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2025-02-08 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (95 votes). Check out past polls.