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-sunexport JDK_HOME=$JAVA_HOMEexport RUBYMINE_JDK=$JAVA_HOME
When I do the following:
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 installationexec: 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.
I set both JDK_HOME and RUBYMINE_JDK env vars in ~/.bashrc:
When you add these lines to bashrc you set up this env variables for bash shell. But if you take a look at rubymine.sh
you`ll see that it uses /bin/sh shell, NOT bash.
As for me I have executable script like