The Java JDK is used to compile Schematica.
Oracle Binary Code License Agreement for Java SE
, and download it (if you have a 64-bit OS, please download the 64-bit version).emerge dev-java/oracle-jdk-bin
pacman -S jdk7-openjdk
apt-get install openjdk-7-jdk
yum install java-1.7.0-openjdk
Control Panel\System and Security\System
, and click on Advanced System Settings
on the left-hand side.Environment Variables
.System Variables
, click New
.Variable Name
, input JAVA_HOME
.Variable Value
, input something similar to C:\Program Files\Java\jdk1.7.0_45
exactly as shown (or wherever your Java JDK installation is), and click Ok
.Path
, and double-click on it.;%JAVA_HOME%\bin
EXACTLY AS SHOWN and click Ok
. Make sure the location is correct; double-check just to make sure.javac
. If it spews out a bunch of possible options and the usage, then you're good to go. If not try the steps again.Git is used to clone Schematica and update your local copy.
This section assumes that you're using the command-line version of Git.
C:\Development\Github\Minecraft\
) by executing cd [folder location]
. This location is known as mcdev
from now on.git clone git@github.com:Lunatrius/Schematica.git
. This will download Schematica's source into mcdev
.mcdev
\-Schematica
\-Schematica's files (should have build.gradle)
gradlew setupDevWorkspace
. This sets up Forge and downloads the necessary libraries to build Schematica. This might take some time, be patient.
gradle.properties
changes.gradlew build
. If you did everything right, BUILD SUCCESSFUL
will be displayed after it finishes. This should be relatively quick.
BUILD FAILED
, check the error output (it should be right around BUILD FAILED
), fix everything (if possible), and try again.mcdev\Schematica\build\libs
.
.jar
file named Schematica-#.#.#-#.#.#.#-universal.jar
.In order to get the most up-to-date builds, you'll have to periodically update your local repository.
mcdev
in the console.git pull master
. This pulls all commits from the official repository that do not yet exist on your local repository and updates it.Shamelessly based this README off pahimar's version.