Test Minecraft won't open

2 posts / 0 new
Last post
Last seen: 1 year 4 months ago
Joined: 02/11/2015 - 16:06
Gems: 0
Test Minecraft won't open

So I made a mod and now I'm trying to test it. When i click run client I get tis error

>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod>cd forge

>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod\forge>SET "JAVA_HOME=C:\Users\Aljaž Špehar\Desktop\Stuff\MC mod\jdk\"
>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod\forge>gradlew runClient
>ERROR: JAVA_HOME is set to an invalid directory: C:\Users\Aljaž Špehar\Desktop\Stuff\MC mod\jdk\
>Please set the JAVA_HOME variable in your environment to match the
>location of your Java installation.
>C:\Users\Alja§ ćpehar\Desktop\Stuff\MC mod\forge>
The thing is that my JAVA_HOME (atleast in Enviroment Variables) is set to C:\<user>\Program Files\ Java and has been set to C:\<user>\Program Files\ Java\jre7, C:\<user>\Program Files\ Java\jre7\bin, C:\<user>\Program Files\ Java\jdk_numbers\bin and none of those worked.

Last seen: 2 years 3 months ago
Joined: 02/15/2015 - 11:18
Gems: 0
Yeah I have the same problem

Yeah I have the same problem could someone help me out