Complete Java Project template for running and creating Jar files for Java projects, with built-in fast-pixel blitting engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

7 lines
217 B

#Builds and runs the project.
rm -Rf out/*
javac -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java
printf "\n\n\nRunning Program...\n\n"
cd $OUT_DIR
java ${MAIN_CLASS} "$@"
../scripts/clean.sh