in reply to inline::java problem

You're running this as a CGI script through a browser? Try running the CGI script from the command line and see if that makes a difference. It's likely to be a permissions problem. (The web server is probably running under a different user ID.)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^2: inline::java problem
by cliffrubinmusic (Novice) on Jul 16, 2012 at 19:20 UTC
    I opened up the permissions on the folders completely, just for testing purposes, so, it couldn't be permissions. Unless I'm not thinking about this correctly?
      Here's the error I get when running the script from the command line:

      main::java::lang:: NoClassDefFoundErr or=HASH(0x2242180)

      not sure what it means. I don't get this error when I run the java from the command line. any suggestions?

        This is an exception that's been thrown. Catch the exception (read up on eval and $@), and figure out which class has not been found. The exception object should have a getMessage method.

        perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

        I don't get this error when I run the java from the command line. any suggestions?

        The environment, obviously :) (classpath) Re: Environment Variables?????