Pass JAVA_OPTS environment variable to the java call.

By adding the contents of the JAVA_OPTS environment variable to the java
call users are able to change the configuration of the jvm. This allows
users to pass the encoding used by eclipse into the jvm started by the
external tool. Thus, fixing issue #76.