0

Following are the needed configuration details,

Java Version - 9.0.4

MAC OS Version - 10.12

RubyMine - 7.1.4

When I am clicking on RubyMine IDE, its breaking and giving errors,

java.lang.NoClassDefFoundError : sun/misc/resource

I have googled it and tried to apply solution to set "JAVA_HOME" variable path, but still its breaking.

Please share your thoughts.

Thanks

enter image description here

Mansi Shah
  • 517
  • 5
  • 15

1 Answers1

0

For my case, it was an issue of Java version. I have installed Java version 1.6 and added to ~/.bash_profile [and for zsh shell add it to ~/.profile file]

export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)"

After restarting PC, Rubymine is started working.

Mansi Shah
  • 517
  • 5
  • 15