Problem installing rubymine-2.0.1

Hello everyone,

I have to install rubymine-2.0.1 for studies. My Operating System is Linux 9.10 Karmic Koala.

Iam not very experienced with Linux, so please explain all you steps in helping me install rubymine.
So it seems to me that their is an IDE integrated in rubymine ?
whatsoever, here is my problem:

First I downloaded the File

rubymine-2.0.1-tag.gz

into the DIR

/tmp

Then I exctracted it to the DIR

/tmp/rubymine93.95

Then I ran on the console:

cd /tmp/rubymine93.95/bin
sh ./rubymine.sh

In resulting with following error:

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

(Do you need more information ? I mean I can copy the code from the file rubymine.sh in here but I guess its likely uninteressting for you)

So I googled and found out that I have to point in the rubymine.sh file to the JDK...

So my Question how do I find out where JDK is installed ?
which line do I have to edit that it'll work ?

Thank you in advance for your help.

I stay tuned for feedback.

Thanks
Martin

5 comments

p.s:

Do I have to install a different JDK I've installed jet?

When I enter:

$which java

in the Console

it returns:

/usr/bin/java

0

I've installed JDK6

and I guess its now working

I inserted the lines

JDK_HOME=/usr/lib/jvm/java-6-openjdk

export JDK_HOME

above the code in the rubymine.sh

and after running

rubymine.sh

with

./rubymine.sh

It is starting and I can isert a license key...

If i get furterh problems I let you know...

Martin

0

Ok iam now in Jetbrains so it works.

I mark it as answered you can delete the question

Martin

0

I Downloded

jdk-6u19-linux-i586.bin

after isntallign with

sh jdk-6u19-linux-i586.bin

I inserted this 2 lines above the code from rubymine.sh

JDK_HOME=/usr/lib/jvm/java-6-openjdk

export JDK_HOME

and after running

sh ./rubymine.sh

it was starting up

0

Hi guys,

We strongly recommend you to use Sun Jdk6 to launch RubyMine, because there are a bunch of known issues with openJdk.
Actually jdk-6u19-linux-i586.bin file seems to be a Sun JDK. Thus unpacking it to java-6-openjdk sounds a little bit confusing.
Also please have a look at: http://www.jetbrains.net/devnet/message/5237714#5237714

Regards,
Oleg

0

Please sign in to leave a comment.