Ubuntu8.04Java application SwingGUI blank Problem Solving

Source: Internet
Author: User
After Upgrade of Ubuntu8.04 from 7.10, the interfaces of all javaGUI programs become blank, such as tools made by OracleSqlDeveloper and JavaGUI. The reason is caused by Beryl, the specific mechanism does not matter, the foreign original post is as follows: http://ubuntuforums.org/showthread.php? T = 362821 solution: Set the environment variable "AWT_TOOLKIT = MToolkit ~ /.

After Ubuntu 7.10 is upgraded from 8.04, the interfaces of all java GUI programs become blank, such as Oracle SQL Developer and other Java GUI tools.

The reason is caused by Beryl, the specific mechanism does not matter, the foreign original post is as follows: http://ubuntuforums.org/showthread.php? T = 362821

Solution: Set the environment variable AWT_TOOLKIT = MToolkit"

That is, in ~ /. Add the previous line to bashrc: export AWT_TOOLKIT = MToolkit

Save it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.