Forum: JRuby NameError: missing class or uppercase package name in 1.7.0.RC2 but not 1.6.7.2

Posted by Brendan G. (brendan_g)
on 2012-10-19 21:21
(Received via mailing list)
Hi All,

I have a strange problem. Using jruby 1.6.7.2 I am loading a jar using:

require 'path/to/jar/my_jar.jar'

then, when I call java_import 'com.testing.Test'

everything works fine. If I do the same thing using 1.7.0.RC2 I get the
following error:

NameError: missing class or uppercase package name (`com.testing.Test')
from org/jruby/javasupport/JavaUtilities.java:54:in
`get_proxy_or_package_under_package'

Any ideas?

Thanks
Brendan
Posted by Charles Nutter (headius)
on 2012-10-21 17:23
(Received via mailing list)
Very strange...perhaps a classpath/classloader problem?

File a bug please and try to provide a reproduction (zipp'ed up dir +
jar that fails under 1.7.0RC2 or something).

- Charlie

On Fri, Oct 19, 2012 at 2:20 PM, Brendan Grainger
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.