Lib: Set default java stack size to 512k.

Fixes #22.