Closed hueyte closed 4 years ago
?template 64bitjava
This issue is commonly caused by not having 64-bit Java on your system. Please run java -version
in cmd
to check if you are using 32-bit. If this command does not specify whether you are using 32-bit or 64-bit, then you are using 32-bit. If you are, use this link to install 64-bit Java, then try running the Enchantment Cracker again.
If this doesn't work, paste the output of java -version
here so we know that you have tried it.
Note: sometimes you may need to change your environment variables to use the new Java version you installed. A good guide for doing this on Windows 10 can be found here. You only need to follow steps 1-4.
java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode, sharing)
I've changed the environment variables also.
okay, I solved it by changing C:\Program Files\Java\jre1.8.0_221\bin becomeC:\Program Files\Java\jre1.8.0_221
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jre1.8.0_221\bin Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Failed to launch enchcracker!