Custom JDK for JRuby in IDEA + Ruby Plugin
When I run my Rails project that uses JRuby, IDEA starts
"c:\dev\intellij idea 9.0.2\jre\jre\bin\java.exe" -Xverify:none -da -Xmx500m -Xss1024k -cp ... -p 3000 -b 127.0.0.1 -e development
It works fine, but can I use java.exe from JDK that I specify, not the one that comes with IDEA?
请先登录再写评论。
Hi,
Please use File | Project structure menu item, add your custom Java SDK and set it as a default one for your project.
Regards,
Oleg
> Please use File | Project structure menu item, add your custom Java SDK and set it as a default one for your project.




I already have this
.
And I have it as a module SDK as well.
This is how I run it
But this is what I get
Any thoughts?
Hello Pavel,
Thank you, you are right. I filed an issue - http://youtrack.jetbrains.net/issue/RUBY-6119
Workaround - specify "jruby.java.home" system property which points on correct sdk.