I have tried setting icon using -Bicon argument using javapackager command but no luck. If i am not giving any argument then it is showing message like this "add package/windows/ to the classpath to customize".Where am i supposed to add .ico file for using custom .ico file instead of default one.Below is the sample command i am using from oracle
javapackager -deploy -native -Bcategory=Education -BjvmOptions=-Xmx128m
-BjvmOptions=-Xms128m -outdir packages -outfile BrickBreaker -srcdir dist
-srcfiles BrickBreaker.jar -appclass brickbreaker.Main -name BrickBreaker
-title "BrickBreaker demo"
Thanks,
Gurnur Singh