-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P3
-
Affects Version/s: 9
-
Component/s: deploy
Steps to reproduce:
1. use following command to create "HelloWorldApp" application in windows 7 system.
javapackager "-deploy" "-verbose" "-outdir" "temp" "-outfile" "test" "-native" "exe" "-linkmodulepath" "C:\Users\rbgangad.ORADEV\Downloads\jdk-9_windows-x64_bin_101_jan20\jdk-9\jmods" "-srcdir" "temp" "-srcfiles" "Licence.txt" -appclass "com.greetings.App1" -BsystemWide="true" -name HelloWorldApp -BmainJar="Licence.txt"
2. have a look at parameter -BmainJar passed to javapackager, eventhough it is a simple (*.txt) , i was successfully able to create "HelloWorldApp-1.0.exe".
EXPECTED OUTPUT:
validation of extension of file should be done i.e. (*.jar) file extension has to be checked for -BmainJar argument.
1. use following command to create "HelloWorldApp" application in windows 7 system.
javapackager "-deploy" "-verbose" "-outdir" "temp" "-outfile" "test" "-native" "exe" "-linkmodulepath" "C:\Users\rbgangad.ORADEV\Downloads\jdk-9_windows-x64_bin_101_jan20\jdk-9\jmods" "-srcdir" "temp" "-srcfiles" "Licence.txt" -appclass "com.greetings.App1" -BsystemWide="true" -name HelloWorldApp -BmainJar="Licence.txt"
2. have a look at parameter -BmainJar passed to javapackager, eventhough it is a simple (*.txt) , i was successfully able to create "HelloWorldApp-1.0.exe".
EXPECTED OUTPUT:
validation of extension of file should be done i.e. (*.jar) file extension has to be checked for -BmainJar argument.