Bug JAVA_HOME variable

Started by xam4lor on Sat, 08/29/2015 - 10:05
Last seen on 11:58, 1. Sep 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Bug JAVA_HOME variable
Sat, 08/29/2015 - 10:07 (edited)

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 Sat, 08/29/2015 - 10:07
Last seen on 08:34, 20. Sep 2015
Joined Jan 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i have the excact same
Sun, 09/20/2015 - 08:20

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

Last seen on 17:35, 15. Jul 2016
Joined Jul 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I have the same problem and i
Fri, 07/15/2016 - 17:37

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