add java compilation to `npm install`