org.jruby.exceptions.RaiseException: (NameError) cannot link Java class org.eclipse.swt.widgets.Display, probable missing dependency: Could not load SWT library. Reasons: 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa-3740 in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa-3740.jnilib 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa.jnilib

Super User | socialblogsite | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How do I search/replace symbolic links?

    Super User | 4 years ago | socialblogsite
    org.jruby.exceptions.RaiseException: (NameError) cannot link Java class org.eclipse.swt.widgets.Display, probable missing dependency: Could not load SWT library. Reasons: 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa-3740 in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa-3740.jnilib 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa.jnilib
  2. 0

    Commenting line/selection is broken in Eclipse 4.4 (Luna). Ivoking either with *CTRL+/* or *Menu > Commands > Source > ...* Studio console throws: {noformat} [2014-07-06 14:44:12] An error occurred while processing the invoke block for the command Comment Line / Selection in /home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb: (NameError) cannot load Java class org.eclipse.swt.SWT org.jruby.exceptions.RaiseException: (NameError) cannot load Java class org.eclipse.swt.SWT at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54) at #<Class:0x1670e37b7>.method_missing(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51) at Ruble::Editor.[]=(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/276/0/.cp/framework/ruble/editor.rb:196) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:229) at #<Class:0x123dbcda6>.run(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/348/0/.cp/framework/ruble/ui.rb:249) at Ruble::Editor.[]=(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/276/0/.cp/framework/ruble/editor.rb:193) at LineComment.add(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/lib/comment.rb:233) at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) {noformat} Clean install of Eclipse and Aptana 3. BTW, what is the eclipse action ID for this command? For example like *org.eclipse.jdt.ui.edit.text.java.toggle.comment*, I would like to map this command to something else with some other plugin.

    Appcelerator JIRA | 3 years ago | Miki
    org.jruby.exceptions.RaiseException: (NameError) cannot load Java class org.eclipse.swt.SWT
  3. 0

    When I select Command → CSS → Insert Color… while editing a CSS file, nothing happens but I get the following error in the console: {quote} [2014-09-06 00:16:28] An error occurred while processing the invoke block for the command Insert Color... in /home/xxx/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/345/0/.cp/bundles/css.ruble/commands/insert_color.rb: (NameError) cannot load Java class org.eclipse.swt.graphics.RGB org.jruby.exceptions.RaiseException: (NameError) cannot load Java class org.eclipse.swt.graphics.RGB at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54) at #<Class:0x15115c519>.method_missing(/usr/share/eclipse/../../../home/xxx/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51) at #<Class:0x12fc106a1>.request_color(/home/xxx/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/346/0/.cp/framework/ruble/ui.rb:52) at #<Class:0x1461b713b>.define_command(/home/xxx/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/345/0/.cp/bundles/css.ruble/commands/insert_color.rb:18) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) {quote}

    Appcelerator JIRA | 2 years ago | Zsolt Szakacs
    org.jruby.exceptions.RaiseException: (NameError) cannot load Java class org.eclipse.swt.graphics.RGB
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (NameError) cannot link Java class org.eclipse.swt.widgets.Display, probable missing dependency: Could not load SWT library. Reasons: 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa-3740 in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] no swt-cocoa in java.library.path 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa-3740.jnilib 9/9/12 11:37:37 AM [0x0-0x3c04c01].compass[24163] Can't load library: /Users/sergio/libswt-cocoa.jnilib

      at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package()
    2. JRuby Main Maven Artifact
      JavaUtilities.get_proxy_or_package_under_package
      1. org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54)
      1 frame