-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
fx2.1.1
-
Windows XP, NetBeans 7.1.1
I developed a simple game in Java 7u3 and FX 2.03 which uses the MediaPlayer to play simple sounds ("ding!", etc.) when the player presses a key. The sound files are just uncompressed WAV files stored in the same package as the code. This program has been working perfectly for months, until I upgraded to Java 7u5, FX 2.1.1 (I downloaded the bundled upgrade files). After recompiling for the new version, and changing the platform to the new FX platform, the program still works when running in the NetBeans IDE (version 7.1.1), but when I run the JAR file as a standalone from the same \dist directory location where it is generated, the program does not play the sounds at all and intermittently crashes. I removed the latest JDK and reverted to 7u3, FX 2.03 and now the program works perfectly again. I repeated this process twice just to be sure, and FX 2.1.1 always shows the same problem. I can't tell exactly where this problem is occuring, but it appears to be in the runtime (?).