I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-02-16 21:57:43-08 by patl in response to 7101
Re: A bit confusion on the CLASSPATH configuration option

Here's how this works. Inline::Java creates a ClassLoader that is used to load the user's code. The idea here was to create "private" workspaces in order to prevent interaction between different user's code (in SHARED_JVM mode) or between the user's code and the Inline::Java core code.

When you use the CLASSPATH environment variable, you set the CLASSPATH for the default Java ClassLoader. If you use the CLASSPATH option, you set the CLASSPATH for the user ClassLoader. For some reason, some code doesn't work well unless it's loaded by the default ClassLoader (unfortunately I'm not proficient enough with respect to ClassLoaders to understand why).

Patrick

Note: If possible, I would appreciate if you would send any further questions regarding Inline::Java to the Inline mailing linst (inline@perl.org) instead of to this forum. I'm not a big fan of CPAN::Forum and I don't think a lot of Inline::Java users read it.

Direct Responses: Write a response