Error launching idea if you already have a 64 bit jdk installed

I’m trying to solve this error in Windows operating system. While launching the IntelliJ IDEA for developing the code some conflicts came into the picture. ERROR: Failed to load JVM DLL C:Program FilesJeeBrainsIntellij IDEA Community Edition 2019.1.1jre64binserverjvm.dll If you already have a 64 -bit JDK installed, define a JAVA_HOME variable in Computer > System Properties … Continue reading "IntelliJ IDEA : Failed to load JVM DLL"

I’m trying to solve this error in Windows operating system. While launching the IntelliJ IDEA for developing the code some conflicts came into the picture.

ERROR:

Failed to load JVM DLL C:Program FilesJeeBrainsIntellij IDEA Community Edition 2019.1.1jre64\binserverjvm.dll

If you already have a 64 -bit JDK installed, define a JAVA_HOME variable in

Computer > System Properties > System Settings > Environment Variables.

But correctly defined Java Path on Windows operating system.

Resolutions:

Solution 1:

Set the JAVA_HOME path including jvm.dil path

Find below path in your local machine and copy that path into JAVA_HOME

Step1: Goto JDK path and copy the path up to jvm.dil

C:Program FilesJavajdk1.8.0_181jrebinserver

Step2: Set to JAVA_HOME in the environment variable

%JAVA_HOME%bin

Step 3: Still, it’s not working simply remove the following below path in your System variable it may be caused to override of JAVA_HOME

C:PrgogamDataOracleJavajavapath

Solution 2:

It may be sometimes a problem with Version compatibility so try to launch the 64-bit  version. Due to the 32-bit version problem on Windows 64 – bit version and create the shortcut of IDEA into your desktop.

Note: If still facing this type of issue then try to below solution.

Solution 3:

Step1: Download Latest version of JDK 1.8 and install it.

Step 2: Set the Path in user variables and JAVA_HOME in System variables with the full naming convention.

Step3: Download IntelliJ IDEA latest version with 64 – bit. And try to launch on Windows – 64-bit version

Above resolutions are almost solved your issue in IntelliJ IDEA on Windows operating system while installing of Jet Brains of IntelliJ IDEA or Eclipse IDEs are in your local machine.

Summary: In the Windows operating system An Integrated Development Environment is a major role in developing areas. All most all IDEs based on Java supporters so need to install JDK. After installation of JDK then set the environmental variable for accessing anywhere in the system.

I have intellij-idea installed. Although I have set JAVA_HOME environment variable referring to «C:Program FilesJavajdk1.8.0_45» but when I try to run it, I end up with the following error:

failed to create JVM: error code -1. JVM path: "C:Program FilesJetBrainsIntelliJ IDEA 2017.2.2jre64" if you have a 64-bit jdk installed, define a JAVA_HOME variable in Computer> system variables> system settings> environment variables.

Windows 7_ 64-bit

asked Aug 23, 2017 at 18:05

omidXxX's user avatar

omidXxXomidXxX

1471 gold badge1 silver badge9 bronze badges

7

My workaround was to go to C:Users{username}AppDataRoamingJetBrainsIntelliJIdea2020.3idea64.exe vmoptions file and delete the whole content. The error disappeared and IntelliJ started normally.

answered Feb 25, 2021 at 20:59

theomeli's user avatar

theomelitheomeli

3805 silver badges14 bronze badges

4

Note that there are 2 .vmoptions files. There is the one in the bin directory and an override in
%HOMEPATH%IntelliJIdeaconfig

For me the answer was to remove -Xmx and -Xms options from the override file.

answered Nov 21, 2019 at 21:05

GMauro's user avatar

GMauroGMauro

1111 silver badge3 bronze badges

0

Please check your phpstorm64.exe.vmoptions file located at bin folder and remove option

-XX:+UseG1GC

answered Dec 7, 2017 at 10:41

joseantgv's user avatar

joseantgvjoseantgv

1,9091 gold badge25 silver badges34 bronze badges

1

it is not a JAVA_HOME issue, you no doubt have touched the *.vmoptions files in bin folder. if you have entered the licence sever in the *.vmpotions file, notice that it should be like this «-javaagent:C:Program Files…..» don’t forget to include «-javaagent:» at the beginning of the license server ;)

answered Nov 16, 2019 at 16:38

Mohsen Alizadeh's user avatar

2

The file may be corrupted after a bad manipulation.
Just copy and paste the idea{64}.exe.vmoptions from
%IntelliJ installation path%/bin to %User IntelliJ data path%/config.
For example :
Copy «C:/Program Files/JetBrains/IntelliJ IDEA 2019.2.3/bin/idea64.exe.vmoptions» and paste into «C:/Users/HP/.IntelliJIdea2019.2/config»

answered Apr 27, 2020 at 22:49

Bamanan's user avatar

BamananBamanan

961 silver badge3 bronze badges

I’ve been using IntelliJ for some time and this issue popped up sometime ago for me too. The issue is with a «VMOPTIONS» file. C:UsersUserNameAppDataRoamingNetBeans Go to this location and inside you’ll find a VMOPTIONS file. Delete it. Now run the Application and it should work. This VMOPTIONS file is infact a copy of the original VMOPTION file located else where but which can also override the default VMOPTIONS. So deleting this copy with some invalid options inside fixes the problem.

If a VMOPTIONS file doesn’t exist in the above path, Go to this location C:Program FilesJetBrainsIntelliJ IDEA Community Edition xxxx.x.xbin and run the idea.bat file. Not the exe file. This should fix any and all other problems and let you open the application with out getting that error.

Dharman's user avatar

Dharman

29.3k21 gold badges80 silver badges131 bronze badges

answered Oct 18, 2020 at 12:44

iWiiCK's user avatar

iWiiCKiWiiCK

2614 silver badges10 bronze badges

You might have the JRE_HOME environment variable set in your system. Remove that and try again. It generally overwrites the JAVA_HOME variable.

answered Aug 23, 2017 at 19:18

alirabiee's user avatar

alirabieealirabiee

1,2867 silver badges14 bronze badges

1

I am just copy file «phpstorm64.exe.vmoptions» from C:Program FilesJetBrainsPhpStorm 2019.3.1bin and paste it(replace) in C:Users{{your username}}.PhpStorm2019.3config
It works fine for me..

answered Jan 13, 2020 at 7:17

Feisal  Aswad's user avatar

I got such error when adding JAVA_TOOL_OPTIONS in environment variables. Try to rename this variable to JAVA_OPTS restart IDE and rename again to JAVA_TOOL_OPTIONS. Or simply delete JAVA_TOOLS_OPTIONS if it is not required

answered Jun 18, 2018 at 15:33

Valeriy K.'s user avatar

Valeriy K.Valeriy K.

2,40827 silver badges49 bronze badges

You can find default vmoptions file of windows 64bit version of it in :

C:Users{user}AppDataRoamingJetBrainsPhpStorm..phpstorm64.exe.vmoptions

You can reinstall phpstorm as well ,it’s quick.

answered Aug 2, 2021 at 11:16

Hesam Moosapour's user avatar

I simply removed JAVA_HOME from system variable then again added and saved.

Restart IntelliJ again. Worked fine for me.

answered Dec 4, 2021 at 17:23

Suman's user avatar

SumanSuman

4491 gold badge5 silver badges19 bronze badges

It works fine with Webstorm

  1. JAVA_HOME. Watch this tutorial

  2. Delete .vmoptions file. It contains in:

  • C:Program FilesWebStorm 2021.3bin
  • C:Users%USER%AppDataRoamingJetBrainsWebStorm2021.3 OR C:Users%USER%.somewhere

answered Dec 5, 2021 at 11:52

Sofit's user avatar

SofitSofit

11 bronze badge

I had added
-T 6C clean install -Dmaven.test.skip=true lines. Then I removed them, program is working now.

answered Nov 1, 2022 at 6:25

wonka's user avatar

wonkawonka

52 bronze badges

try to launch idea64.exe from the cmd and see if it works

answered Aug 23, 2017 at 19:08

Elad Shamailov's user avatar

0

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 FilesAndroidAndroid Studiojrejre

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.

Понравилась статья? Поделить с друзьями:
  • Error launching crashsender exe the hunter call of the wild
  • Error launching console application pdftexify
  • Error launching application tvmlkiterrordomain error 3
  • Error launching application on sdk gphone64 arm64
  • Error launching application on android sdk built for x86