#267 ✓resolved
Erik Ludwig

Load Error "sh: java: not found"

Reported by Erik Ludwig | July 23rd, 2010 @ 08:40 AM

New to Ruby/Rails and somewhat new to Linux. I installed on Kubuntu 10.04 using KDE 4.4.2. I have gotten the following messages while attempting to run after consecutive installs:

Done! You're ready to run Redcar.
erik@HP-Mini110:~$ redcar
Redcar ( i486-linux )
java -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp "/usr/lib/ruby/gems/1.8/gems/redcar-" org.jruby.Main "/usr/lib/ruby/gems/1.8/gems/redcar-" --no-sub-jruby --ignore-stdin
sh: java: not found

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft July 23rd, 2010 @ 08:53 AM

    • State changed from “new” to “resolved”

    Java is a requirement of Redcar. If you're on Kubuntu there will be packages you can install like "sun-java-jre" (actually they might have changed the names recently).


  • Erik Ludwig

    Erik Ludwig July 24th, 2010 @ 01:10 AM

    Thank you for the quick response. I eventually figured that out, and installed the openJDK Java run-time environment with the following in Kubuntu:

    sudo apt-get install openjdk-6-jre

    Now with that resolved I am getting the same error as ticket #266. I will be watching that one closely.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Referenced by