Adds compile to makefile.
Adds optional param to compile. needs testing.
Adds java gen functionality -j.
deleted unecessary clean.