When I was trying to start a Android Virtual Device today, the Android SDK window was surprisely closed with the Java exception message shown in terminal:

java.awt.AWTError Assistive Technology not found .....

 

Searching on Google got me the answer below(http://www.gridgainsystems.com/wiki/display/GG15UG/Troubleshooting#Troubleshooting-Linuxinstallershows%22java.awt.AWTErrorAssistiveTechnologynotfound%22error):

To fix, either install JRE/JDK from SUN and add it to the beginning of your PATH or make sure that you commented property "assistive_technologies=org.GNOME.Accessibility.JavaBridge" in "accessibility.properties" file. On Fedora Core 9 it is "/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/accessibility.properties" by default. It's an official bug of OpenJDK http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=108 

 

So I opened the accessibility.properties file, and saw the comments about the file:

# The following line specifies the assistive technology classes
# that should be loaded into the Java VM when the AWT is initailized.
# Specify multiple classes by separating them with commas.
# Note: the line below cannot end the file (there must be at
# a minimum a blank line following it).
#
assistive_technologies=org.GNOME.Accessibility.JavaBridge

 

I don't need any assistive tech to be loaded when AWT is starting up, so just commenting it made  the Android Virtul Device run properly.

 

posted on 2010-03-01 15:00  考拉留  阅读(2282)  评论(0编辑  收藏  举报