Skip to content

Compiling NoCheatPlus

CaptainObvious0 edited this page Apr 12, 2019 · 1 revision

How to Compile NoCheatPlus using Maven

Download the JDK

  1. Download the java JDK from https://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Install the downloaded file
  3. After it is done installing, navigate to the JDK folder, which should be located at /Program Files/Java/jdk../
  4. Once you have ensured that the folder exists, go to My Computer -> Properties -> Advanced System Settings -> Advanced -> Environment Variables
  5. Add a new system variable with the name as JAVA_HOME and the key should be the location of the jdk

Download Maven

  1. Go to https://maven.apache.org/download.cgi
  2. Select the Binary version under link (Either format is fine)
  3. Extract apache-maven-x.x.x to your desired folder/area

Download the Source Code

  1. Click on Clone or Download and then Download ZIP
  2. Extract nocheatplus-master to your desired folder

Compiling the source code to a jar file

  1. Open up a command prompt
  2. Execute set PATH="YOUR_PATH_HERE\apache-maven-x.x.x\bin";%PATH%
  3. Navigate to where the source code is cd YOUR_PATH_HERE\NoCheatPlus-Master\
  4. Execute mvn clean package install