Bug JAVA_HOME variable

3 posts / 0 new
Last post
Last seen: 2 years 1 month ago
Joined: 09/02/2014 - 16:54
Gems: 0
Bug JAVA_HOME variable

Hello !

I have created a simple mod and I wan't to test it but when I click on "Click this to start test Minecraft client environement", the console execute:


Executing gradle command: clean runClient
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits r‚serv‚s.
D:\Maxime\minecraft\d‚veloppement\mods\MCreator>cd forge
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>SET "JAVA_HOME=D:\Maxime\minecraft\développement\mods\MCreator\jdk\"
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>SET "JAVA_OPTS=-Xmx256m -Xms200m"
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>gradlew clean runClient
ERROR: JAVA_HOME is set to an invalid directory: D:\Maxime\minecraft\développement\mods\MCreator\jdk\
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Task completed with return code 0 in 61 milliseconds
Task return code check OK!



Edited by: xam4lor on 08/29/2015 - 12:07

Last seen: 2 years 3 weeks ago
Joined: 01/31/2015 - 17:30
Gems: 0
i have the excact same

i have the excact same problem! did you manage to fix it?and how?

Last seen: 1 year 3 months ago
Joined: 07/15/2016 - 18:36
Gems: 0
I have the same problem and i

I have the same problem and i think we have to set the good JAVA path, the one in program_file(x86). But i dont know how...