Bug JAVA_HOME variable

3 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months 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:

<code>

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.
D:\Maxime\minecraft\d‚veloppement\mods\MCreator\forge>
Task completed with return code 0 in 61 milliseconds
Task return code check OK!

</code>

 

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


Offline
Last seen: 1 year 9 months 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?

Offline
Last seen: 11 months 2 weeks 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...