This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm trying to create a mod, and the gradle keeps telling me this.
-- ERROR: JAVA_HOME is set to an invalid directory: C:\Progra~1\Java\jdk_1.7.0_21
Please set the Java_home variable in your environment to match the location of your java installation.
It's saying the Java directory is invalid, meaning it's wrong.
Quote from CynSparkleTimeยป Please set the Java_home variable in your environment to match the location of your java installation.
Do that^
Quote me to make sure I know you replied.
Useful stuff to help with commands in MC:
MCStacker <- The best /summon command generator out there. Also very useful for data tags on /give commands and /setblock and quite a few others.
minecraftjson <- Epic book/sign/title/tellraw creator. Turns hours of command creation into minutes!
Single command block <- Ever seen those epic single command block creations? This is how you make them!
http://chunkbase.com/apps/spawn-chunks-reader <- Shows you the spawn chunks of your MC seed.
I kept changing it to every java folder I have..
I'm trying to create a mod, and the gradle keeps telling me this.
-- ERROR: JAVA_HOME is set to an invalid directory: C:\Progra~1\Java\jdk_1.7.0_21
Please set the Java_home variable in your environment to match the location of your java installation.
It's saying the Java directory is invalid, meaning it's wrong.
Do that^
Quote me to make sure I know you replied.
Useful stuff to help with commands in MC:
MCStacker <- The best /summon command generator out there. Also very useful for data tags on /give commands and /setblock and quite a few others.
minecraftjson <- Epic book/sign/title/tellraw creator. Turns hours of command creation into minutes!
Single command block <- Ever seen those epic single command block creations? This is how you make them!
http://chunkbase.com/apps/spawn-chunks-reader <- Shows you the spawn chunks of your MC seed.
I kept changing it to every java folder I have..