Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: libawt_xawt.so not found

  1. #1
    Junior Member
    Join Date
    Jun 2024
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default libawt_xawt.so not found

    Im using fedora gnome desktop and while running swing or applet code there was a headless exception coming saying x11 not found or display variable not set correct i have been trying to solve this whole day thinking there was an issue with my laptop
    desktop seting and all .Then when i tried to set headless to false manually it said libawt_xawt.so package not found then i found out that have 3 versions of jdk installed and only in jdk 11 is there a libawt_xawt package available and when running the code in jdk 11
    it ran perfectly so why isnt libawt_xawt package installed in jdk 21 and jdk 17 is there a specific reason or is there another solution to my problem rather than running gui based apps in jdk 11 only

  2. #2
    Junior Member
    Join Date
    Jul 2024
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: libawt_xawt.so not found

    Quote Originally Posted by Zlat View Post
    Im using fedora gnome desktop and while running swing or applet code there was a headless exception coming saying x11 not found or display variable not set correct i have been trying to solve this whole day thinking there was an issue with my laptop basketball legends
    desktop seting and all .Then when i tried to set headless to false manually it said libawt_xawt.so package not found then i found out that have 3 versions of jdk installed and only in jdk 11 is there a libawt_xawt package available and when running the code in jdk 11
    it ran perfectly so why isnt libawt_xawt package installed in jdk 21 and jdk 17 is there a specific reason or is there another solution to my problem rather than running gui based apps in jdk 11 only
    Sometimes jdk 11 code often crashes with older desktop computers. I also couldn't run this variable with my dad's desktop. However, it works smoothly on the device in the office.

Similar Threads

  1. Return Value Cannot Be Found
    By misscoollike in forum Object Oriented Programming
    Replies: 3
    Last Post: March 12th, 2012, 08:58 PM
  2. application id not found
    By pradeepsetty in forum Java IDEs
    Replies: 3
    Last Post: June 2nd, 2010, 02:37 AM