views:

25

answers:

1

Hi all! I'm useing netbeans and Jruby. When I want to build a project I got the following message: SEVERE: library `socket' could not be loaded: java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "org/jruby/ext/socket/RubySocket"

Can anybody help to me what could be the problem ? Thanks

A: 

It's a known issue with jdk6u18 or higher. The workaround currently is to downgrade to jdk6u17. You can find more information here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6923688

I'd highly suggest voting so that Oracle fixes it. We're already at u20 and they still haven't addressed the problem.

Nicholas C