Some people may have noticed, but java apps (like netbeans etc) don’t work under 3d accelerated desktops. This will solve your issue: java -Dawt.toolkit=sun.awt.motif.MToolkit -jar javaprogram.jar
Related posts:
Some people may have noticed, but java apps (like netbeans etc) don’t work under 3d accelerated desktops. This will solve your issue: java -Dawt.toolkit=sun.awt.motif.MToolkit -jar javaprogram.jar
Related posts:
This entry was posted on December 24, 2006, 7:01 pm and is filed under General. You can follow any responses to this entry through RSS 2.0. Both comments and pings are currently closed.
Arclite theme by digitalnature | powered by WordPress
#1 by Jeff Schroeder on December 24, 2006 - 8:31 pm
And an easier way to do it:
AWT_TOOLKIT=MToolkit java …
I just put export AWT_TOOLKIT=MToolkit in ~/.bashrc
#2 by Harsh J on December 24, 2006 - 8:56 pm
Azureus runs fine under Beryl but anyway when I pass this command I get this: [Same with sudo too]
java -Dawt.toolkit=sun.awt.motif.MToolkit -jar javaprogram.jar
Unable to access jarfile javaprogram.jar
#3 by mindwarp on December 24, 2006 - 9:22 pm
javaprogram.jar = the name of your java program.
#4 by Harsh J on December 25, 2006 - 2:39 am
Oh lol.
I don’t have an issue yet, but I’ll remember to use this when it crops up, thank you
#5 by Shane Falco on December 26, 2006 - 3:12 pm
Ummm, this is an OLD hack that doesn’t even work all that well.
There’s even a Sun bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775
Just get the latest u1 of jdk 1.6.0 that’s linked at the very bottom of that page. Works perfectly under Compiz…beryl lusers are still stuck, though, I think.