You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irb(main):006:0> org.lwjgl.glfw.GLFW
NameError: cannot link Java class org.lwjgl.glfw.GLFW (java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.glfw.GLFW)
from org/jruby/javasupport/JavaUtilities.java:54:in `get_proxy_or_package_under_package'
from file:/Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14:in `method_missing'
from (irb):6:in `evaluate'
from org/jruby/RubyKernel.java:1079:in `eval'
from org/jruby/RubyKernel.java:1479:in `loop'
from org/jruby/RubyKernel.java:1242:in `catch'
from org/jruby/RubyKernel.java:1242:in `catch'
from /Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
from /Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
from /Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
from /Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/jinlee/.rbenv/versions/jruby-1.7.23/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands.rb:17:in `(root)'
from org/jruby/RubyKernel.java:1040:in `require'
from bin/rails:4:in `(root)'
jruby-9.0.5.0:
irb(main):004:0* org.lwjgl.glfw.GLFW
NameError: cannot link Java class org.lwjgl.glfw.GLFW (java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path)
from org/jruby/javasupport/JavaUtilities.java:54:in `get_proxy_or_package_under_package'
from uri:classloader:/jruby/java/java_package_module_template.rb:14:in `method_missing'
from (irb):4:in `<eval>'
from org/jruby/RubyKernel.java:976:in `eval'
from org/jruby/RubyKernel.java:1287:in `loop'
from org/jruby/RubyKernel.java:1096:in `catch'
from org/jruby/RubyKernel.java:1096:in `catch'
from /Users/jinlee/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
from /Users/jinlee/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
from /Users/jinlee/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
from /Users/jinlee/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/jinlee/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top>'
from org/jruby/RubyKernel.java:937:in `require'
from bin/rails:4:in `<top>'
Environment
jruby-1.7.23, jruby-9.0.5.0
Expected Behavior
The java class is defined and available for use in jruby
Actual Behavior
Ex: java class loading properly (because it is camel cased):
Ex: java class with all caps:
jruby-1.7.23:
jruby-9.0.5.0:
The class in question:
http://javadoc.lwjgl.org/org/lwjgl/glfw/GLFW.html
The text was updated successfully, but these errors were encountered: