2 Replies Last post: Feb 24, 2013 12:49 AM by nir nir  
nir nir Newbie 2 posts since
Feb 22, 2013
Currently Being Moderated

Feb 22, 2013 11:53 PM

rubymine doesnt find JDK

i've installed jdk 1.6 and sets the JDK_HOME to /usr/java/jdk1.6.0_41

then i tried to run rubymine.sh and got an error

     ERROR: cannot start RubyMine.

     No JDK found. Please validate either RUBYMINE_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.

what am i missing?

Oleg Sukhodolsky JetBrains 391 posts since
Apr 4, 2012
Currently Being Moderated
Feb 24, 2013 12:19 AM in response to: nir nir
Re: rubymine doesnt find JDK

It is hard to say what could be wrong, but I'd suggest to double-check if /usr/java/jdk1.6.0_41 contains jdk not jre (for example jre doesn't have javac).

Second, check that neither RUBYMINE_JDK nor JAVA_HOME are set.

If both checks won't help then I'd suggest just walk through rubymine.sh to see why it thinks that this is not a jdk (I can do this for you but remote debug through forum will be too slow )

 

Hope this helps, Oleg.

More Like This

  • Retrieving data ...