install trouble on Ubuntu 8.10
Hello All,
I have been using the current release on Windows XP, and really enjoy the Ruby IDE. I am starting to use Ubuntu more, and i'm in the process of setting up my development machine. When i try to install the RubyMine app, i get the following error:
jason@jason-ubuntu-vm:/usr/bin/rubymine558/bin$ ./rubymine.sh
ERROR: cannot start RubyMine.
No JDK found to run RubyMine. Please validate either RUBYMINE_JDK or JDK HOME points to valid JDK installation
exec: 60: /bin/java: not found
i installed thd JDK via the Synaptic package manager.
thank you,
Jason
Please sign in to leave a comment.
Hi Jason,
You should at first set environment variable JDK_HOME or RUBYMINE_JDK (see rubymine.sh)
E.g.
Use verify that the variable is set by the “env” command or “echo $JDK_HOME“
probably java is already installed in /usr/bin (try which java command) so you probably will be able to set it as fiollows
export JDK_HOME="/usr"
I put thuis line in rubymine.sh for convenience
Hi all,
Most likely java is installed on ubuntu 8.10 in /usr/lib/jvm/java-6-sun or something like this.
Thanks,
Oleg