http://www-personal.umich.edu/~mcafee/perl/java-pm.html

Known Issues:

  Currently, Java.pm can only read uncompressed zipfiles; it will die
  if there is a member of CLASSPATH which is a compressed zipfile
  (this includes jar files). I am looking into remedying this
  deficiency.

cbell writes:
> 
> Hello everyone, has anyone had any experience with Java.pm?  There
> doesn't seem to be much info in the mail archives.  I'm trying to access
> a JAR from within perl using the Java.pm, but I always receive the
> error: 'java.lang.ClassNotFoundException'.  I can access the jar from a
> Java script at the command line, so the problem is from within Perl
> itself.
> 
> I've tried the following two methods but always end up with the same
> results...
> 
> my $class = $java->java_lang_Class("forName","Test");
> my $return_value =
> $java->static_call("MyStaticClass","<function_name>",@params);
> 
> I can't find any examples in the archives to help me set this up
> properly.  If anyone has had any experience with this is would be
> greatly appreciated.  I'm running Modperl 1.24_01, Apache 1.3.14, and
> jdk1.3.0_02 from Sun.
> 
> Thanks in advance,
> Chris.
> 

-- 
C Wayne Huling <[EMAIL PROTECTED]>

Reply via email to