I had completed building a .jar file for me project (media player), it is also running successfully with command line java -jar mediaplayer.jar.
But now i need to make an installer, so what all files do I need for making an installer, do i need to bundle the lib files also with the installer.
also when i launch my .jar file with Java Web Start, it says “Unable to launch application”
You definitely need to bundle both your
mediaplayer.jarand the libraries in your classpath. You will also need to generate a native executable file that will at least dojava -jar mediaplayer.jar.Usually native launchers also check if Java is installed on the target machine and help user to install it if it is not.