javapackager -deploy -verbose -BmainJar=com.greetings.jar -srcdir simplenormaljar -srcfiles com.greetings.jar -Bclasspath=com.greetings.jar -appclass com.greetings.App1 -outdir bundles -native rpm -name SimpleTest Running [rpmbuild, --version] At least one type of shortcut is required. Enabling menu shortcut. Module jdk.crypto.pkcs11 does not exist. Module java.httpclient does not exist. "Adding modules: [java.rmi, jdk.jdi, jdk.charsets, java.xml, jdk.xml.dom, java.datatransfer, jdk.jstatd, jdk.httpserver, javafx.base, java.desktop, java.security.sasl, jdk.snmp, jdk.zipfs, java.base, jdk.crypto.ec, jdk.javadoc, jdk.jvmstat, jdk.editpad, java.sql.rowset, javafx.swing, jdk.jsobject, jdk.sctp, java.smartcardio, jdk.unsupported, jdk.scripting.nashorn, java.security.jgss, java.compiler, javafx.graphics, javafx.fxml, jdk.dynalink, javafx.media, jdk.accessibility, jdk.security.jgss, java.sql, javafx.web, java.logging, java.xml.crypto, jdk.jfr, jdk.packager.services, jdk.net, java.naming, javafx.controls, jdk.internal.ed, java.prefs, jdk.compiler, jdk.naming.rmi, jdk.jconsole, jdk.attach, jdk.desktop, java.management, jdk.jdwp.agent, java.instrument, jdk.management, jdk.security.auth, java.scripting, jdk.vm.ci, jdk.naming.dns, jdk.localedata] to runtime image." Using default package resource [menu icon] (add package/linux/SimpleTest.png to the class path to customize) Using default package resource [Menu shortcut descriptor] (add package/linux/SimpleTest.desktop to the class path to customize) Using default package resource [RPM spec file] (add package/linux/SimpleTest.spec to the class path to customize) Generating RPM for installer to: /export/home/gtee/Desktop/ramesh/bundles Running [rpmbuild, -bb, /tmp/fxbundler3976707720537388323/images/linux-rpm.image/SimpleTest.spec, --define, %_sourcedir /tmp/fxbundler3976707720537388323/images/linux-rpm.image, --define, %_rpmdir /export/home/gtee/Desktop/ramesh/bundles, --define, %_topdir /tmp/fxbundler3976707720537388323/rmpbuildroot] in /tmp/fxbundler3976707720537388323/images/linux-rpm.image Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.79WDj4 + umask 022 + cd /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mmxj8w + umask 022 + cd /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILD + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QUGqXZ + umask 022 + cd /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILD + '[' /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 '!=' / ']' + rm -rf /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 ++ dirname /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 + mkdir -p /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT + mkdir /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 + rm -rf /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 + mkdir -p /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64/opt + cp -r /tmp/fxbundler3976707720537388323/images/linux-rpm.image/SimpleTest /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64/opt + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: simpletest-1.0-1.x86_64 Provides: simpletest simpletest = 1.0-1 simpletest(x86-64) = 1.0-1 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /bin/sh Requires(preun): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILDROOT/simpletest-1.0-1.x86_64 Wrote: /export/home/gtee/Desktop/ramesh/bundles/simpletest-1.0-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Z7XtgF + umask 022 + cd /tmp/fxbundler3976707720537388323/rmpbuildroot/BUILD + exit 0 Package (.rpm) saved to: /export/home/gtee/Desktop/ramesh/bundles Config files are saved to /tmp/fxbundler3976707720537388323/linux. Use them to customize package. bash-4.2$ /opt/SimpleTest/SimpleTest Failed to find library. /opt/SimpleTest/runtime/lib/amd64/jli/libjli.so SimpleTest Failed to locate JLI_Launch SimpleTest Failed to launch JVM