Added a profile for compiling the project, changed travis to build with multiple JDKs and compile the code directly