Making JAVA_ARGS configurable.

JAVA_ARGS can now be specified in the form of a list.