fix java on linux

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>