Use jpackage_script macro and standard java environment