[SOLVED] sound compiling problem - sound doesn't play in jar

This is just about exactly the reason you don’t want to bother with getResource(), but should use getResourceAsStream() instead. The URI just isn’t as portable as it claims to be.