[英]JRuby is not working
I got the latest source code. 我得到了最新的源代码。 I added the jruby-1.7.2/bin subdirectory path to $PATH.
我将jruby-1.7.2 / bin子目录路径添加到$ PATH。
Now when i run 现在当我跑步
$jirb
or 要么
$jruby -v
I get the error: "The Java class is not found: org.jruby.Main 我收到错误消息: “找不到Java类:org.jruby.Main
My Java version is 1.4.2 我的Java版本是1.4.2
What am i missing? 我想念什么?
http://www.oracle.com/technetwork/java/javase/index-jsp-138567.html => you should consider upgrading Java http://www.oracle.com/technetwork/java/javase/index-jsp-138567.html =>您应该考虑升级Java
JRuby 1.7+ only supports Java 6+ (see here : http://www.jruby.org/2012/10/22/jruby-1-7-0.html ) JRuby 1.7+仅支持Java 6+(请参见此处: http : //www.jruby.org/2012/10/22/jruby-1-7-0.html )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.