add JavaApplicationStub so that this project can be built on not-OS X platforms