Skip to content

Instantly share code, notes, and snippets.

@lukeholder
Created August 27, 2012 06:29
Show Gist options
  • Save lukeholder/3486251 to your computer and use it in GitHub Desktop.
Save lukeholder/3486251 to your computer and use it in GitHub Desktop.
jruby error after jruby -v
getting the error below after fresh install jruby on windows 7
C:\Users\lholder>jruby -v
jruby 1.7.0.preview2 (1.9.3p203) 2012-08-07 4a6bb0a on Java HotSpot(TM) 64-Bit S
erver VM 1.7.0_05-b05 [Windows 7-amd64]
2012-08-27T14:24:18.995+08:00: Ruby: org.objectweb.asm.ClassReader
java.lang.ClassNotFoundException: org.objectweb.asm.ClassReader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:92)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:156)
at org.jruby.javasupport.JavaSupport.loadJavaClassVerbose(JavaSupport.ja
va:165)
at org.jruby.javasupport.JavaClass.forNameVerbose(JavaClass.java:1194)
at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:94
0)
at org.jruby.javasupport.Java.get_proxy_or_package_under_package(Java.ja
va:969)
at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_packag
e(JavaUtilities.java:54)
at org.jruby.javasupport.JavaUtilities$INVOKER$s$2$0$get_proxy_or_packag
e_under_package.call(JavaUtilities$INVOKER$s$2$0$get_proxy_or_package_under_pack
age.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
201)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.ja
va:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:112)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:158)
at org.jruby.javasupport.util.RuntimeHelpers$MethodMissingMethod.call(Ru
ntimeHelpers.java:489)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:200)
at org.jruby.runtime.callsite.CachingCallSite.callMethodMissing(CachingC
allSite.java:379)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:289)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
135)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:226)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:
123)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:113)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.jav
a:104)
at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpr
eter.java:271)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.ja
va:348)
at org.jruby.ext.jruby.JRubyLibrary.load(JRubyLibrary.java:80)
at org.jruby.runtime.load.LoadService.reflectedLoad(LoadService.java:590
)
at org.jruby.ext.LateLoadingLibrary.load(LateLoadingLibrary.java:48)
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadServ
ice.java:895)
at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java
:533)
at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:417
)
at org.jruby.runtime.load.LoadService.require(LoadService.java:381)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1032)
at org.jruby.RubyKernel.require19(RubyKernel.java:1024)
at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$
s$1$0$require19.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.c
all(JavaMethod.java:327)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.load(LoadService.java:327)
at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1058)
at org.jruby.RubyKernel.load19(RubyKernel.java:1050)
at org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0
$1$load19.gen)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:208)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:204)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.IfNode.interpret(IfNode.java:116)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.ja
va:348)
at org.jruby.Ruby.initRubyKernel(Ruby.java:1579)
at org.jruby.Ruby.init(Ruby.java:1133)
at org.jruby.Ruby.newInstance(Ruby.java:264)
at org.jruby.Main.internalRun(Main.java:249)
at org.jruby.Main.run(Main.java:231)
at org.jruby.Main.run(Main.java:215)
at org.jruby.Main.main(Main.java:195)
C:\Users\lholder>jruby -v > jruby.txt
2012-08-27T14:25:12.073+08:00: Ruby: org.objectweb.asm.ClassReader
java.lang.ClassNotFoundException: org.objectweb.asm.ClassReader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:92)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:156)
at org.jruby.javasupport.JavaSupport.loadJavaClassVerbose(JavaSupport.ja
va:165)
at org.jruby.javasupport.JavaClass.forNameVerbose(JavaClass.java:1194)
at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:94
0)
at org.jruby.javasupport.Java.get_proxy_or_package_under_package(Java.ja
va:969)
at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_packag
e(JavaUtilities.java:54)
at org.jruby.javasupport.JavaUtilities$INVOKER$s$2$0$get_proxy_or_packag
e_under_package.call(JavaUtilities$INVOKER$s$2$0$get_proxy_or_package_under_pack
age.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
201)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.ja
va:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(Interpreted
Method.java:112)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:158)
at org.jruby.javasupport.util.RuntimeHelpers$MethodMissingMethod.call(Ru
ntimeHelpers.java:489)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:200)
at org.jruby.runtime.callsite.CachingCallSite.callMethodMissing(CachingC
allSite.java:379)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:289)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
135)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:226)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:
123)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:113)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.jav
a:104)
at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpr
eter.java:271)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.ja
va:348)
at org.jruby.ext.jruby.JRubyLibrary.load(JRubyLibrary.java:80)
at org.jruby.runtime.load.LoadService.reflectedLoad(LoadService.java:590
)
at org.jruby.ext.LateLoadingLibrary.load(LateLoadingLibrary.java:48)
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadServ
ice.java:895)
at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java
:533)
at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:417
)
at org.jruby.runtime.load.LoadService.require(LoadService.java:381)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1032)
at org.jruby.RubyKernel.require19(RubyKernel.java:1024)
at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$
s$1$0$require19.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.c
all(JavaMethod.java:327)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.load(LoadService.java:327)
at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1058)
at org.jruby.RubyKernel.load19(RubyKernel.java:1050)
at org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0
$1$load19.gen)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:208)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:204)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSi
te.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:
169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.IfNode.interpret(IfNode.java:116)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java
:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.ja
va:348)
at org.jruby.Ruby.initRubyKernel(Ruby.java:1579)
at org.jruby.Ruby.init(Ruby.java:1133)
at org.jruby.Ruby.newInstance(Ruby.java:264)
at org.jruby.Main.internalRun(Main.java:249)
at org.jruby.Main.run(Main.java:231)
at org.jruby.Main.run(Main.java:215)
at org.jruby.Main.main(Main.java:195)
C:\Users\lholder>systeminfo
Host Name: CI01341
OS Name: Microsoft Windows 7 Professional
OS Version: 6.1.7601 Service Pack 1 Build 7601
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: Doric
Registered Organization: Hewlett-Packard Company
Product ID: 00371-OEM-8992671-00008
Original Install Date: 18/05/2012, 2:04:59 PM
System Boot Time: 27/08/2012, 10:45:21 AM
System Manufacturer: Hewlett-Packard
System Model: HP Z210 Workstation
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 42 Stepping 7 GenuineInt
el ~1584 Mhz
BIOS Version: Hewlett-Packard J51 v01.35, 10/01/2012
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-au;English (Australia)
Input Locale: en-us;English (United States)
Time Zone: (UTC+08:00) Perth
Total Physical Memory: 8,150 MB
Available Physical Memory: 4,888 MB
Virtual Memory: Max Size: 16,298 MB
Virtual Memory: Available: 12,580 MB
Virtual Memory: In Use: 3,718 MB
Page File Location(s): C:\pagefile.sys
Domain: doric.au.com
Logon Server: \\DORIC-EX
Hotfix(s): 99 Hotfix(s) Installed.
[01]: 982861
[02]: KB971033
[03]: KB2425227
[04]: KB2479943
[05]: KB2484033
[06]: KB2488113
[07]: KB2491683
[08]: KB2492386
[09]: KB2496898
[10]: KB2503665
[11]: KB2505438
[12]: KB2506014
[13]: KB2506212
[14]: KB2506928
[15]: KB2507618
[16]: KB2509553
[17]: KB2510531
[18]: KB2511250
[19]: KB2511455
[20]: KB2515325
[21]: KB2522422
[22]: KB2529073
[23]: KB2532531
[24]: KB2533552
[25]: KB2536275
[26]: KB2536276
[27]: KB2541014
[28]: KB2544893
[29]: KB2545698
[30]: KB2547666
[31]: KB2552343
[32]: KB2559049
[33]: KB2560656
[34]: KB2563227
[35]: KB2564958
[36]: KB2567680
[37]: KB2570947
[38]: KB2579686
[39]: KB2584146
[40]: KB2585542
[41]: KB2588516
[42]: KB2603229
[43]: KB2604115
[44]: KB2607576
[45]: KB2618444
[46]: KB2618451
[47]: KB2619339
[48]: KB2620704
[49]: KB2620712
[50]: KB2621440
[51]: KB2631813
[52]: KB2633952
[53]: KB2639417
[54]: KB2640148
[55]: KB2641690
[56]: KB2644615
[57]: KB2645640
[58]: KB2647753
[59]: KB2653956
[60]: KB2654428
[61]: KB2655992
[62]: KB2656356
[63]: KB2656373
[64]: KB2656411
[65]: KB2658846
[66]: KB2659262
[67]: KB2660075
[68]: KB2660649
[69]: KB2664825
[70]: KB2667402
[71]: KB2675157
[72]: KB2676562
[73]: KB2677070
[74]: KB2679255
[75]: KB2685939
[76]: KB2686831
[77]: KB2688338
[78]: KB2690533
[79]: KB2691442
[80]: KB2695962
[81]: KB2698365
[82]: KB2699779
[83]: KB2699988
[84]: KB2705219
[85]: KB2709162
[86]: KB2709630
[87]: KB2709715
[88]: KB2712808
[89]: KB2718523
[90]: KB2718704
[91]: KB2719177
[92]: KB2719985
[93]: KB2722913
[94]: KB2729094
[95]: KB2731847
[96]: KB2732487
[97]: KB2732500
[98]: KB976902
[99]: KB982018
Network Card(s): 1 NIC(s) Installed.
[01]: Intel(R) 82579LM Gigabit Network Connection
Connection Name: Local Area Connection
DHCP Enabled: Yes
DHCP Server: 192.168.4.6
IP address(es)
[01]: 192.168.4.80
[02]: fe80::6035:a27:67f1:3543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment