I have created a java project which is working perfectly on netbeans. I added also JDBC connector and i am also using java sound. When users login in the project, i sound will automatically play in the background. I have build my project completely but when running the build file, the sound i added in the project is not playing but if i run it netbeans, the sound in the project will play perfectly.I want my end users to run directly the jar file than opening netbeans to run the project. how can i overcome this problem.
I run the project in the command prompt but the background sound is not playing but it plays when i run it in netbeans. i want the jar file to play when it is beign executed by the command prompt