Error

1 post / 0 new
Offline
Last seen: 1 year 1 month ago
Joined: 11/25/2015 - 19:38
Gems: 0
Error

Hello,I'm new to the MCreator and I made a mod,and when I try to test it this error pops up:

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Josip & Iva\Desktop>cd forge
C:\Users\Josip & Iva\Desktop\forge>SET "JAVA_HOME=C:\Users\Josip & Iva\Desktop\jdk\"
C:\Users\Josip & Iva\Desktop\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
The system cannot find the path specified.
C:\Users\Josip & Iva\Desktop\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
'Iva\Desktop\jdk\\bin\' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Josip & Iva\Desktop\forge>SET "JAVA_OPTS=-Xmx256m -Xms200m"
C:\Users\Josip & Iva\Desktop\forge>gradlew clean runClient
'Iva\Desktop\forge\' is not recognized as an internal or external command,
operable program or batch file.
'Iva\Desktop\jdk\' is not recognized as an internal or external command,
operable program or batch file.
ERROR: JAVA_HOME is set to an invalid directory: C:\Users\Josip
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
C:\Users\Josip & Iva\Desktop\forge>
Task completed with return code 0 in 579 milliseconds
Task return code check OK!


Please help me.

Thank you.