0

No JDK found to run RubyMine.

I just downloaded RubyMine 558 and extracted it at /usr/local (I'm on Ubuntu 8.04 with Java6).  I set both JDK_HOME and RUBYMINE_JDK env vars in ~/.bashrc:

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JDK_HOME=$JAVA_HOME
export RUBYMINE_JDK=$JAVA_HOME

When I do the following:

cd /usr/local/rubymine558/bin
sudo ./rubymine.sh

I always get the following error:

ERROR: cannot start RubyMine.
No JDK found to run RubyMine. Please validate either RUBYMINE_JDK or JDK_HOME points to valid JDK installation
exec: 60: /bin/java: not found

Does anyone know what I'm doing wrong?  I've set both of those env vars and can echo them just fine, but clearly rubymine.sh can't see them.

Thanks,
Zach

1 comment

Please sign in to leave a comment.