Help me with this pls: JAVA_HOME\........\jdk64

Started by carroljk on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me with this pls: JAVA_HOME\........\jdk64
Tue, 05/04/2021 - 01:22 (edited)

( My english is really bad ) I'm using the MCreator 1.7.3 (1.7.10) and when I try to recompile my workspace, this appear in console: ( There are some brazilian portuguese words there )
 

Microsoft Windows [versao 10.0.19042.928]
(c) Microsoft Corporation. Todos os direitos reservados.
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE>cd forge
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE\forge>SET "JAVA_HOME=C:\Users\lcsis\OneDrive\Área de Trabalho\Local de Programas\MCREATOR DO CARA AE\jdk64\"
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build
ERROR: JAVA_HOME is set to an invalid directory: C:\Users\lcsis\OneDrive\Área de Trabalho\Local de Programas\MCREATOR DO CARA AE\jdk64\
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
C:\Users\lcsis\OneDrive\Area de Trabalho\Local de Programas\MCREATOR DO CARA AE\forge>
Task completed with return code 0 in 123 milliseconds

Edited by carroljk on Tue, 05/04/2021 - 01:22
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 I have an old mod and I…
Mon, 05/03/2021 - 23:44

 

I have an old mod and I want to redo it to play with my friends in this version. Would you be able to help me (I already changed the JAVA_HOME command to the JDK in the environment variables, I already deleted the .mcreator gradle and restarted the computer and reinstalled the program several times) I look in several places but there is no resolution of this error in any place
(Google translate )