$ /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)
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.
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.
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).
RubyMine Beta 2 works perfectly. I also forgot to mention that I'm running under Snow Leopard.
Best regards,
Christian
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
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
Please execute following command in console
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.
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
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
Hubert,
Thank you for the tip