[Solved] Error launching studio


Error Launching Studio:

If you already have a 64-bit JDK installed,
define a JAVA_HOME variable in
Computer > System Properties > System Settings > Environment Variables.
Failed to create JVM. JVM Pathc C:\Program Files\Android\Android Studio\jre\jre

If you received the above error message pop-up when you try to open IntelliJ Android Studio IDE, then follow the below steps to resolve it,

  1. Right Click on Windows icon
  2. Select Settings
  3. Search for "Edit System Environment Variables"
  4. Click on the button "Enviroment Variables"
  5. Look for "JAVA_HOME" under System variables, if you do not find it set one, this should resolve the issue.
  6. If at Step 5 you see JAVA_HOME property set then maybe you created a studio64.exe.vmoptions file with errors in it.
How to resolve studio64.exe.vmoptions Issue:
  1. Go to C: Drive -> Users -> Your User Folder -> .AndroidStudio4.0 -> config
  2. Open file studio64.exe.vmoptions
  3. Take a backup of all the text in it and clear all text in it
  4. Now Start Android Studio, it should work

If you are sure what you are doing - validate and fix the issue you have in the vmoptions file. You can follow https://developer.android.com/studio/intro/studio-config for more information.






Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on Code2care.org and support us pay our bills.

Thanks,
Cod2care - Line's of code for change.

To see contents reload page after unblocking
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities. Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, Tips-n-tricks, How Tos, Blogs, Articles, etc. on various platforms like Windows, Mac, Linux, Mobile platforms, etc. Technologies/Languages like Java, Objective-C, PHP, .Net, Android, SharePoint, jQuery, HTML, CSS, etc.