"Cannot load AWT toolkit" - help!

I get the "Cannot load AWT toolkit" error when I try to include awt functionality. Any suggestions?
JAVA_HOME, CLASSPATH and PATH are set...what next?
Thanks!
Regards,
-Rob

The application compiled fine....
"javac xxxx.java"
- no errors
It happens when I try to run it from the command line.
"java xxxx"
- Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
Thanks!
-Rob

Similar Messages

  • How do I resolve the error cannot load XML! Help is not available?

    I am using InDesign CC 2014 in Windows 8.1.  In using the Object Model Viewer to load the Object Model for my version of InDesign I get this error.  What is the help that is being referred to?

    Please try the mentioned steps:
    1. Navigate to Applications/Utilities/Adobe Installer and look for CC desktop, if present run the uninstaller to uninstall it.
    2. Navigate to Applications/Utilities and look for Adobe Application Manager folder and Creative cloud folder. If present move to trash and empty it.
    3. Navigate to Library/Application Support/Adobe/OOBE and rename to OOBE.old
    4. Download CC desktop from: https://creative.adobe.com/products/creative-cloud and try to install again.
    Other references are:
    Troubleshoot CCM Applet installation and download
    Re: Adobe application manager fails to update/install
    Regards
    Rajshree

  • Cannot load Mail any help?

    any help i deleted cookies and all site plug-in data but not working still, any help

    I'm having problems too. Cannot download mail on iMac, get prompted to enter password again and again. Can access mail through iCloud.com though with the same password. Must be a server problem.

  • I am unable to view my In Box. Says Cannot Load Mail.

    I rang the helpline who tried changing my password and then said they didn't know! I have been using icloud for over a month and was actually viewing my In Box when it froze. I can send e'mails to my account, just can't read them. Every time a box comes up saying CANNOT LOAD MAIL. Help!
    Anna

    Hi BA,
    That's a lot of different problems; you might get a better response by dividing the specific problems into the specific forums that they are related to. This forum is only for iTunes.
    Regarding your title problem (not being able to view your account information in iTunes), can you give more details? What happens when you click on the account e-mail in the upper right corner of the iTunes Music Store? Are you able to sign in?

  • Java.awt.Toolkit - Coldfusion - HELP

    Greetings.
    I am having a hard time with the following code:
    <cfobject action="create" type="java" class="java.awt.Toolkit" name="fileObj">
    <cfscript>
    img = fileObj.getDefaultToolkit().getImage("images/products/39321.jpg");
    width = img.getwidth();
    height = img.getheight();
    </cfscript>
    <cfoutput>#height#</cfoutput>
    I keep getting the following error:
    java.lang.NoClassDefFoundError
    My version of Java is 1.4.2. I'm running Redhat Linux 4.0. Coldfusion MX 6.1.
    I know this isn't a Coldfusion forum, but I really need some help here.
    I'm new to Java technologies, so any help will be greatly appreciated.

    can ColdFusion load Java objects?
    Presuming that it can, then ColdFusion probably needs some configuration to tell it the Java directory or where the class files are (JavaHome/jre/lib/rt.jar)

  • The pass 4 days now my iTunes Store is not responding, when I reload it all that comes up is a blank white page that says iTunes Store. Help please!!!! Cannot load my gift card to buy music and such!!!

    The pass 4 days now my iTunes Store is not responding, when I reload it all that comes up is a blank white page that says iTunes Store. Help please!!!! Cannot load my gift card to buy music and such!!!

    I tookyour suggestion and SUCCESS!  I can now access the Itunes Store.  A simple fix, and thanks so much!!.
    Below is the advice you forwarded:
    I found a solution to my problem.
    > start menu
    > accessories,
    > right click on the command prompt icon and choose "run as administrator".
    Once it opens, type in the following command...
    netsh winsock reset
    hit enter
    You should get a message that the winsock reset successful and you will need to reboot your computer.
    Reboot and when I reloaded itunes the store loaded fine.
    Thanks again, -Dean Stoneburner

  • I need help with imac g4 flat panel download of leopard it tells me it cannot load on the system.

    i bought a refurbished imac g4 flat panel. it is supposed to have an os but it only comes up with a question mark. I put leopard in and it tells me it cannot load on this compuert. system is 800mhz and 60g hd and 768ram.   i have tried to do a fix through the utility and it says it does not exit and kicks me out.  ANY HELP IS A PLUS.

    Try holding down the option key then power on. This brings up the startup manager. Click on your hd. Click on right arrow key.
    Sometimes if volumes don't appear in Startup Manager (what you get when you hold down the Option key at startup), you need to reset the Mac's PRAM, NVRAM, and Open Firmware. Shut down the Mac, then power it up, and before the screen lights up, quickly hold down the Command, Option, P, and R keys, until the Mac has chimed twice more after the powerup chime. Then, before the screen lights up, hold down Command-Option-O-F until the Open Firmware screen appears. Then enter these lines, pressing Return after each one:
    reset-nvram
    set-defaults
    reset-all
    "The reset-all command should restart your Mac. If so, you have successfully reset the Open Firmware settings."
    http://support.apple.com/kb/TS1812?viewlocale=en_US
    You have got get in open firmware to hack the mhz to be higher for the install.  That is change what the machine reports as the mhz to be a higher number.  Details:
    http://lowendmac.com/osx/leopard/openfirmware.html
    http://lowendmac.com/osx/leopard/unsupported.html
    This works on Tiger but I assume it would work on Leoard.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    From: san francisco,ca
    Registered: Apr 27, 2007
    Re: Do the widgets drain system resources and power?
    Posted: Apr 28, 2007 2:51 PM
    I tend to think dashboard is neat, but not neccesary for my everyday workflow.
    it is possible to enable and disable it as needed,
    by entering the following commands into the terminal:
    -- To turn Dashboard off:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    -- To turn Dashboard on:
    defaults write com.apple.dashboard mcx-disabled -boolean NO
    -- You have to restart the Dock after making either change for it to take effect:
    killall Dock
    Bye Bye Dashbaord
    http://www.kainjow.com/kermitsoft/downloads.html
    Disable Spotlight, Bonjour and Dashboard:
    http://discussions.apple.com/message.jspa?messageID=8749558#8749558
    Robert

  • I have down loaded faulty towers and they have gone into my music list. Also down loaded the buyable version of where eagles dare and cannot find it please help me get organized

    I have down loaded faulty towers and they have been listed in my music. Also down loaded a film where eagles dare (the buyable version) and I cannot find it. Help please

    Are you looking in the video player app or the iPod app.
    Videos should not appear in the iPod app, they should be in the video app.

  • I am trying to upload photos from my iPhone to my macbook but each time I plug my iPhone into the macbook, a message comes up which says my device is locked with a passcode and I cannot load the photos.  Please help.

    I am trying to upload photos from my iPhone to my macbook but each time I plug my iPhone into the macbook, a message comes up which says my device is locked with a passcode and I cannot load the photos. When I plug my phone in, it is on the home screen and unlocked so I don't understand what I am doing wrong. This has never occurred before. Please help.

    Get a powered USB hub.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • All website went "Not Found HTTP Error 404. The requested resource is not found." and the "Firefox cannot load websites but other programs can" page is not help

    ''dupe of https://support.mozilla.org/en-US/questions/928117''
    all website went "Not Found HTTP Error 404. The requested resource is not found." and the "Firefox cannot load websites but other programs can" page is not helping in any ways

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *http://kb.mozillazine.org/Error_loading_websites
    You can try to reset (power off/on) the router.

  • When i upload a powerpoint to Keynote, it says that it cannot load for some reason. Please HELP!

    It says that it cannot load for some reason. I attempted to upload the powerpoint, but when it loads, it just crashes. WHAT DO I DO!?!?

    Sorry, there is not.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. iOS- Understanding passcodes
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    6. Restoring iPod touch after forgotten passcode
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New

  • My iphone 5 and ipad 4th generation having the same problem of connecting to wifi, cannot load app store and cannot connect to itune store... help !!

    my iphone 5 and ipad 4th generation having the same problem of connecting to wifi, cannot load app store and cannot connect to itune store... help !!

    Try this:
    1. Close all apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.
    2. Hold the Sleep and Home button down until you see the Apple Logo.

  • I am having problems loading sampler patches into the exs24 sampler, when i got into edit menu and load multiple samples all the samples r greyed out and i cannot slect them, any help with this would be much appreciated

    I am having problems loading sampler patches into the exs24 sampler, when i got into edit menu and load multiple samples all the samples r greyed out and i cannot slect them, any help with this would be much appreciated

    It is very difficult to offer troubleshooting suggestions when the "os version" you are using is unknown as each os has their own troubleshooting solutions. 
    How large is your hard drive and how much hard drive space do you have left? 

  • "Cannot load jvm.dll" please help solve

    Hello
    I downloaded and installed the following onto windows 98 SE :
    JavaSE installed @ C:\Program Files\Java\j2re1.4.2
    Java2 SDK installed @ C:\Program Files\j2sdk_nb
    NetBeans installed @ C:\Program Files\j2sdk_nb\netbeans3.5
    When I start NetBeans using the desktop shortcut, I get IDE Alert "Cannot Load jvm.dll"
    Can anyone explain to me what I have done wrong and what I have to do in order to put it right.
    I found some stuff about editing 'paths to jvm.dll' but I have found 5 jvm.dll files... which one do I use?
    C:\Program Files\j2sdk_nb\_jvm\jvm.dll
    C:\Program Files\j2sdk_nb\_jvm\bin\classic\jvm.dll
    C:\Program Files\j2sdk_nb\_jvm\bin\hotspot\jvm.dll
    C:\Program Files\j2sdk_nb\_jvm\bin\server\jvm.dll
    C:\Program Files\Java\j2re1.4.2\bin\client\jvm.dll
    Can anyone help me get started getting started with Java?
    Thank you

    Hi
    I have just been suffering with the same problem and managed to find a solution based on answers in these very forums
    What worked for me was to add an entry into the ide.cfg file which told netbeans which folder my JDK was installed in.
    All you need to do is add the following line into the config file (which is in the bin folder under wherever you installed NetBeans 3.5) and it should start up (obviously you will need to change the folder name to match wherever you have your Java development kit)
    -jdkhome d:\JDK1.3
    Hope this works as well for you as it did for me
    Phil

  • I have bought a film and it is now saying it cannot load, please help!

    I have bought a film and it is now saying it cannot load, please help!

    What's the precise text of the message you're getting when you try to open the movie, please?

Maybe you are looking for