So, I'm working on this NetBeans project and it is a jframe that plays a sound using an external library. When I run the application from NetBeans the sound plays, but when I build the application and I launch the runnable jar from windows explorer, the sound doesn't play. I don't think the library is included in the runnable jar. I don't know if it needs reference. How can it be done in NetBeans?
There are a number of methods you could use to achieve this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.