Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install Redcar on Ubuntu using RVM. I have read countless articles about it and i still get this error message.

I followed this article in particular.

Do you guys know what I am missing here?

atrosity@AtroBuntu:~$ redcar
Redcar 0.11 ( x86_64-linux )
java -Xbootclasspath/a:/home/atrosity/.redcar/assets/jruby-complete-1.5.3.jar -                   Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar --no-sub-jruby --ignore-stdin --start-time=1309244948
/home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:44:in `exec': No such file or directory - java -Xbootclasspath/a:/home/atrosity/.redcar/assets/jruby-complete-1.5.3.jar -Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar --no-sub-jruby --ignore-stdin --start-time=1309244948 (Errno::ENOENT)
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:44:in `run'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:80:in `construct_command'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:43:in `run'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar.rb:81:in `spin_up'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar:32
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/bin/redcar:19:in `load'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/bin/redcar:19
share|improve this question

migrated from Jun 28 '11 at 12:34

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

The key statement here is `exec': No such file or directory - java

Check out this thread on the RedCar mailing list. It looks like you probably don't have java installed. RedCar is a JRuby application so you need Java for it to function

The Java Ubuntu installation documentation should help you to install Java. Once that's done, it should just work

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.