Removed unused imports
Added JavaApplicationStub so CI can be run on a non-OSX machine
Added reference to bundled JavaApplicationStub