"1.6" is the correct value to be in your Info.plist file, though that
requires you to have Java 6 installed. Mavericks removed it by default, but
it's easy to install again. (I can't remember exactly but I believe it's
supposed to prompt you).

However, some people have tried editing it to 1.7, in order to use Java 7,
and *that* doesn't work in Studio 0.5.0 because of this bug:
http://youtrack.jetbrains.com/issue/IDEA-121383

We didn't discover this in Studio 0.5.0 (the default is 1.6, and everytime
I switch to 1.7 I go right back to 1.6 because of the font rendering with
1.7).

However, we've been rushing all day to put out a quick 0.5.1 release which
cherrypicks IntelliJ's fix for the above bug, as well as a couple of other
important bugs people have reported. If all goes according to plan 0.5.1
will be available in the next couple of hours. No promises etc etc.

-- Tor



On Fri, Mar 7, 2014 at 3:40 PM, Joshua Deffibaugh <[email protected]> wrote:

> I just upgraded to Android Studio 0.5.0 and gradle build tools 0.9.0.
>  Everything was working great and then Android Studio crashed from an out
> of memory exception.  Afterwards it won't open.  I checked out the Mac OSX
> console and this is getting logged.
>
> 3/7/14 3:35:03.818 PM studio[1957]: JNI_CreateJavaVM
> (/System/Library/Java/JavaVirtualMachines/1.6.0.jdk) failed: -4
>
> In the app package my Info.plist is set to use 1.6*.  Should this be 1.7*.
>  That crashes with a different error.
>
> <key>JVMVersion</
> <string>1.6*</string>
>
> OSX: 10.9.2
>
> /usr/libexec/java_home -v1.6
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>
> /usr/libexec/java_home
> /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
>
> I am not sure what is going on.
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to