changed the build procedure to build debug version and also switch to Oracle java