Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's already installed. Rubymine won't start, it keeps complaining "No JDK found to run RubyMine. Please validate either IDEA_JDK or JDK_HOME points to valid JDK installation"

I've tried messing with those variables in the script to point to the install path, but I must be missing something. Most often the error changes to "Error occurred during initialization of VM. Could not find agent library on the library path or in the local directory: yjpagent"



"I've tried messing with those variables in the script to point to the install path, but I must be missing something. "

Have you set your environment variables? I think the code is going to look for ENV['JDK_HOME'] (if it's Ruby code) or $JDK_HOME (if a shell script.)


I always struggle with setting the environment variables. Can't remember if you have to do it in .profile or whereever (.bashrc?). I think I also used an application starter that explicitly configures the JDK for Eclipse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: