![]() (java:16146): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",“Getting things done” is, of late, a phrase alien to my work ethic. java -jar ~/Downloads/tomighty-0.7.1.jar Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed. Java(TM) SE Runtime Environment (build 1.7.0_01-b08) Is there a way to have it working on OpenJDK?Ĭosole /Java/jdk1.7.0_01/bin$. Oracle Java is no longer supported on Ubuntu as of 11.10. I just tested it with Oracle Java 7 JDK and the sound is working but I still get this weird Gtk warning. INFO: Messages not available for locale en_CA.Īt (Tomighty.java:94)Īt $200(Tomighty.java:45)Īt $SwitchState$1.run(Tomighty.java:104)Īt .dispatch(InvocationEvent.java:251)Īt (EventQueue.java:705)Īt $000(EventQueue.java:101)Īt $3.run(EventQueue.java:666)Īt $3.run(EventQueue.java:664)Īt $1.doIntersectionPrivilege(ProtectionDomain.java:76)Īt (EventQueue.java:675)Īt (EventDispatchThread.java:211)Īt (EventDispatchThread.java:128)Īt (EventDispatchThread.java:117)Īt (EventDispatchThread.java:113)Īt (EventDispatchThread.java:105)Īt (EventDispatchThread.java:90) (java:7051): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", Here is my console output when I run java -jar tomighty-0.7.1.jar Which linux OS distro - Ubuntu XXX ? Natty / Marvin / Lucid, etc.OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) Java/ java-6-openjdk/ java-7-openjdk/ javascript-common/ I'm having the same issue and it's always happening. I might try again but this is really hell, first solution, although a bit dirty, works for me. I tried and fixed this, making the sounds work at first but the application hangs somehow and the solution wasn't compatible with using the Sun implementation. Now, using OpenJDK i got an InvalidFormatException playing sounds, so no sound at all works with this VM. So here we have a trick u may use to force any program running under Linux to use PulseAudio by calling java with 'padsp' command as explained in This way you can force the Hotspot VM to use PulseAudio and you can have as many applications playing sounds as you want, Pulse will handle the conflicts. Official Sun Hotspot VM is not able to access PulseAudio Linux sound system so it just can use ALSA directly causing trouble when you have some other application playing sound (i.e. Ok, so i made some research on this issue basically your code is mostly ok but the problem lies in the JVM implementations on Linux. SEVERE: Error while playing sound: Invalid formatĪt .PulseAudioDataLine.createStream(PulseAudioDataLine.java:143)Īt .PulseAudioDataLine.open(PulseAudioDataLine.java:100)Īt .PulseAudioDataLine.open(PulseAudioDataLine.java:289)Īt .PulseAudioClip.open(PulseAudioClip.java:402)Īt .PulseAudioClip.open(PulseAudioClip.java:453)Īt .(TimerSupport.java:70)Īt (Tomighty.java:84)Īt $200(Tomighty.java:42)Īt $SwitchState$1.run(Tomighty.java:94)Īt .dispatch(InvocationEvent.java:226)Īt (EventQueue.java:647)Īt $000(EventQueue.java:96)Īt $1.run(EventQueue.java:608)Īt $1.run(EventQueue.java:606)Īt (Native Method)Īt $1.doIntersectionPrivilege(AccessControlContext.java:105)Īt (EventQueue.java:617)Īt (EventDispatchThread.java:275)Īt (EventDispatchThread.java:200)Īt (EventDispatchThread.java:190)Īt (EventDispatchThread.java:185)Īt (EventDispatchThread.java:177)Īt (EventDispatchThread.java:138) 2:32:03 PM error #Pomodoro started here INFO: Messages file not found: /messages_en_AU.properties GRAVE: Error while playing sound: line with format PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported.Īt .DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:494)Īt .DirectAudioDevice$DirectClip.implOpen(DirectAudioDevice.java:1280)Īt .AbstractDataLine.open(AbstractDataLine.java:107)Īt .DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1061)Īt .DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1151)Īt .play(SoundPlayer.java:72)Īt .play(SoundPlayer.java:56)Īt .play(SoundPlayer.java:41)Īt .(TimerSupport.java:86)Īt $n(CountdownTimer.java:51)Īt (Timer.java:512)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |