[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.

Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


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, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency