What are some alternatives?
When comparing Ruby and Java, you can also consider the following products
Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
PHP - A popular general-purpose scripting language that is especially suited to web development
Scala Lang - Scala is a pure-bred object-oriented language that runs on the JVM
Haskell - An advanced purely-functional programming language
C - One of the most widely used programming languages of all time