Skip to content

Instantly share code, notes, and snippets.

@Neurogami
Created July 13, 2009 22:36
Show Gist options
  • Save Neurogami/146502 to your computer and use it in GitHub Desktop.
Save Neurogami/146502 to your computer and use it in GitHub Desktop.
[james@host jruby]$ jruby --version
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main
Caused by: java.lang.ClassNotFoundException: org.jruby.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.jruby.Main. Program will exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment