RubyMine Beta 3 does not start on OS X

Today I downloaded the current beta of RubyMine (beta 3) for Mac OS X. I installed it. When I try to start it nothing happens.

8 comments
Comment actions Permalink

RubyMine Beta 2 works perfectly. I also forgot to mention that I'm running under Snow Leopard.

Best regards,

Christian

0
Comment actions Permalink

Hi Christian,

Please try to launch RM from console and show us its output. For this execute:

$ /Applications/RubyMine\ 2.0\ Beta\ 3.app/Contents/MacOS/rubymine

0
Comment actions Permalink

$ /Applications/RubyMine\ 2.0\ Beta\ 3.app/Contents/MacOS/rubymine
error in posix_spawn: 2
[JavaAppLauncher Error] Failed to re-execute into [i386] from [x86_64]
[JavaAppLauncher Error] unable to find a version of Java to launch

Just to prove that java is available:

$ java -version
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)

Beta 2 does find the java executable.

Best regards,

Christian

0
Comment actions Permalink

Please execute following command in console

$ ls -la /System/Library/Frameworks/JavaVM.framework/Versions/
0
Comment actions Permalink

That's it! /System/Library/Frameworks/JavaVM.framework/Versions/Current was a softlink to 1.5, but it should point to A. Now java 1.6 is used and everything works fine.

Thank you.

0
Comment actions Permalink

Just downloaded the RC2. To start with a fresh version, I deleted the RubyMine 2.0 directory within Preferences. The app starts but only shows the RubyMine Menu itself. Can't open anything. I'll check if I can fix it using the method described in this thread.

Hubert
Mac OSX 10.6.2/RM RC2

0
Comment actions Permalink

Follow up: The java environment wasn't loaded obviously.

This is the content of the JavaVM directory

drwxr-xr-x  11 root  wheel  374 29 Sep 15:57 .
drwxr-xr-x  12 root  wheel  408 29 Sep 17:25 ..
lrwxr-xr-x   1 root  wheel    5 29 Sep 15:57 1.3 -> 1.3.1
drwxr-xr-x   3 root  wheel  102 21 Jul 01:35 1.3.1
lrwxr-xr-x   1 root  wheel   10 29 Sep 15:57 1.5 -> CurrentJDK
lrwxr-xr-x   1 root  wheel   10 29 Sep 15:57 1.5.0 -> CurrentJDK
lrwxr-xr-x   1 root  wheel    5 29 Sep 15:57 1.6 -> 1.6.0
drwxr-xr-x   8 root  wheel  272 29 Sep 17:25 1.6.0
drwxr-xr-x   9 root  wheel  306 29 Sep 17:25 A
lrwxr-xr-x   1 root  wheel    1 29 Sep 15:57 Current -> A
lrwxr-xr-x   1 root  wheel    3 29 Sep 15:57 CurrentJDK -> 1.6

java -v puts the following version:

java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)

After I changed the order of the Java Applet and Java App in the Java Preferences (put 32-Bit Versions on the top see attachment) I could enter my license code and start the application. I'm using a 2006 MacPro which has a 32-Bit Architecture (but runs 64-Bit applications without any problems otherwise).

Hubert



Attachment(s):
Bildschirmfoto 2009-11-13 um 10.07.12.pdf
0
Comment actions Permalink

Hubert,

Thank you for the tip

0

Please sign in to leave a comment.