简体   繁体   中英

JRuby is not working

I got the latest source code. I added the jruby-1.7.2/bin subdirectory path to $PATH.

Now when i run

$jirb

or

$jruby -v

I get the error: "The Java class is not found: org.jruby.Main

My Java version is 1.4.2

What am i missing?

http://www.oracle.com/technetwork/java/javase/index-jsp-138567.html => you should consider upgrading Java

JRuby 1.7+ only supports Java 6+ (see here : http://www.jruby.org/2012/10/22/jruby-1-7-0.html )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM