Added a build file for Java only