I having trouble running a GUI window

I am trying to view a GUI calculator that I made with java, it compiles with no errors but when I run it I get this message:
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at GUIcalc.<init>(GUIcalc.java:20)
at GUIcalc.main(GUIcalc.java:15)
It is preventing me from veiwing the calculator, I don't know what to do.
Also I am trying to install NetBean 4.1 so that I don't have to use putty.exe to make programs, but I keep getting this message when I try to start the DeployTool:
JAVA VIRTUAL MACHINE LAUNCHER
Could not find the main class. Program will exit.
What should I do or download to make it work?
Thank You.

Sort of like NetBeans, but I found it to be a lot easier to use. Installed and ran right away without any problems.

Similar Messages

  • Having trouble running Dreamweaver on new Windows 8 laptop.  No trouble running it on Windows 7.

    Having trouble running Dreamweaver on new Windows 8 laptop.  No trouble running it on Windows 7.

    Thanks for your reply.
    When I tried downloading Dreamweaver CS6 onto my laptop, it took over 2 hrs to download, then it compressed it into a Zip file which I was never able to open.
    Not sure why I am having so much trouble. We’ve had no issue loading onto our Windows 7 lab, however, we are not successful using the download on my work laptop. 
    We are going to try again, however, it this doesn’t work, perhaps I should try the trial download – and take it from there?
    Thank you in advance. 
    Ms. Laura Sciortino
    Basic Technology Instructor
    Grades 7-8, 10 - 12
    Weehawken High School
    Peer Leadership Advisor
    Grades 9 - 12
    Main Office: 201.422.6130

  • I am having trouble running the latest version of adobe reader 10 how can i resolve this

    i am having trouble running the latest version of adobe reader 10. i have adobe 9 which is fine but i'm not able to do certain things on certain sites without 10. how can i resolve this?

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Having trouble with pop-up windows and ads for MacKeeper

    I've been having trouble with pop-up windows and ads for MacKeeper and similar "services." Tried to download "MPlayerX" a week ago and it all started then. I thought I deleted the file but I'm still having trouble. I've been digging for solutions on here, but nothing I've found on here has worked yet--the VSearch stuff (I think) isn't on my hard drive. Any advice?

    You installed a variant of the "VSearch" trojan. Remove it as follows.
    This malware has many variants. Anyone else finding this comment should not expect it to be applicable.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.venus.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.venus.daemon.plist
    /Library/LaunchDaemons/com.venus.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/venus
    /System/Library/Frameworks/v.framework
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Why am I having trouble running Adobe Flash Player 11 on my 2011 Macbook Air? I've downloaded and installed it repeatedly; yet when I try to open certain images online or play certain Youtube segments, I get the message, "You must have Adobe Flash 11..."

    Why am I having trouble running Adobe Flash Player 11 on my 2011 Macbook Air? I've downloaded and installed it repeatedly; yet when I try to open certain images online or play certain Youtube segments, I get the message, "You must have Adobe Flash 11..."  My computer tells me it is installed and running.

    If you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 5.
    1. If you're only having trouble with YouTube videos, sign in to your YouTube account and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    2. If you're getting a "blocked plug-in" error, then from the menu bar select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Check Now. Quit and relaunch your browser.
    3. Triple-click the line below to select it:
    /Library/Internet Plug-Ins
    Right-click or control-click the highlighted text and select
    Services ▹ Open
    from the contextual menu. A folder should open. Delete the following item, or anything with a similar name, if present:
    Flash Player (failing).plugin  
    You may be prompted for your login password.
    4. Re-download and reinstall Flash. Download it from this page:
    Adobe - Install Adobe Flash Player
    Never download a Flash update from anywhere else.
    5. If you get a "missing plug-in" error, select
    Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked Enable plug-ins.
    6. Select
    Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.
    7. In the Safari preference window, select
    Privacy ▹ Remove All Website Data
    Close the window. Then select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane.

  • Having trouble running flash on 64 bit...help!

    i am having trouble running flash on my 64 bit computer. does anyone know of any patches for this or if adobe is comming up with a solution?
    any contributions to my problem would be most appreciated,

    Using Firefox (32-bit version) installed, try this: http://thetechangel.com/blogberry/2010/01/firefox-flash-fix-for-windows-64-bit/

  • Having troubles running iTunes! I downloaded iTunes just fine, but when I try to open it, it tells me iTunes is in a locked disk or I dont have permissions to write to this folder. Please help!

    Having troubles running iTunes! I downloaded iTunes just fine, but when I try to open it, it tells me iTunes is in a locked disk or I dont have permissions to write to this folder. Please help! I purchased an iPod for my son and wanted to put music on it.

    Hello there KRerssig,
    I was looking through our resources and found an article with information regarding that error message. The article is called iTunes for Windows XP: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes found here: http://support.apple.com/kb/HT1866.
    Here is the text but the article contains images for a visual reference:
    Verify the location of your Windows XP My Music folder. The default location for this folder is
    C:\Documents and Settings\username\My Documents\My Music
    If you do not have this folder at the default location and have not moved it to another location, consider creating one inside your My Documents folder.
    Download and install Tweak UI from the Microsoft PowerToys website athttp://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
    Note: This utility is for Windows XP only. Please review the system requirements before installing.
    Once you have installed Tweak UI, open it from the Start menu.
    In the column on the left, click on the plus symbol next to My Computer and select Special Folders.
    In the right pane under Special Folders, choose My Music from the Folder pop-up menu.
    Click the Change Location button. You may see a warning message appear with precautions for changing this setting; after reviewing the message, click Yes.
    In the resulting window, browse for the My Music folder as described in step 1, and click OK.
    Reinstall or open iTunes.
    If these steps do not resolve the issue, the settings for the current user may be corrupted, which could cause iTunes not to install or open. You may have to install and open iTunes in a different Windows user account.
    All the best,
    Sterling

  • I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Not empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Now try a video.

  • Having trouble running "Stocks" on iPad

    i am having trouble running the app "stocks" on my iPad3

    The iPad doesn't have the built-in Stocks app as found on the iPhone and iPod Touch (nor Weather, Clock or Calculator) - you will need to find a third-party stocks app in the app store

  • I am having trouble running .mov files on my ipad. What can I do?

    I am having trouble running .mov files on my ipad. What can I do?
    Thanks.

    go to the app store and search .mov   The pad plays a certain set of file types, but not all.  In the appstore there are several alternate players that will work.  Find one that does what you heed, and is priced right for you,and download it.
    ((WM Player HD lite is free, and look like the one you might want)
    I use xy player, and VLC, but I am not sure either one is still available.

  • TS1717 Having trouble running iTunes version 11.0.2 on a Dell Laptop running Windows 7 Professional Service Pack 1.  Keep getting an error message "the software required for communicating with iPods and mobile phones was not installed correctly..." reinst

    Having trouble when I launch iTunes (version 11.0.2) on my Dell Laptop running Windows 7 Professional (service pack 1).  I get an error message indicating software required to communicate with iPod and mobile phones was not installed correctly.  Do you want iTunes to try to repair this for you?  I normally respond with OK and it immediately tells me "could not be repaired.  Please reinstall iTunes..."  I have done this a number of times to no avail.

    I also notice Quicktime is not getting installed at all.
    That one is normal nowadays (ever since the iTunes versions 10.5.x).
    The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you?
    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • Having trouble with itunes and windows 8

    anyone else having trouble with windows 8 and itunes?  My computer doesn't seem to recognize my shuffle.

    A simple search would have answered such a silly question.

  • Having Trouble Downloading Pictures on Windows XP Computer to 5th Generatio

    i am using a windows xp computer & i'm having trouble downloading the pictures from my computer to the ipod.
    any help would be appreciated.
    thanks,
    bob
    e-mail: [email protected]

    In what way are you having trouble? Are you getting error messages of any kind or is it just general information on adding pictures that you need? For general information have a look at the tutorial: Transferring Pictures to Your iPod

  • Having trouble running class

    Hi
    I'm having problems running java classes on my new computer. I'm using Vista 64 Ultimate with SP1 and JDK 1.6.0_07.
    I can type javac -version and java -version in cmd and output is fine. I can also succesfully compile java files by typing javac helloworld.java (if I'm in a folder with helloworld.java). The problem is that when I try to run my compiled java by typing java helloworld.class I get the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: helloworld/class
    Caused by: java.lang.ClassNotFoundException: helloworld.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    How can I fix this problem?

    Do this and post the exact complete output for us... (just copy and paste from the command window (mistakes and all) into the forum editor, then select that text and press the code button conveniently located directly above the editor window
    javac -version
    java -version
    javac helloworld,java
    jaca helloworld
    Cheers. Keith.

  • Anybody having trouble seeing iPhone using Windows 8?

    Just got a new computer with Windows 8 - it doesn't see my iPhone.  Anybody having trouble like this?  McAffee was preloaded...does this conflict with iPhones?

    While anti-virus software can have some affect on the iPhone, normally it does not. A number of individuals have written regarding having trouble with Windows 8 computers "seeing" the iPhone. Of course, it depends on what you are doing. What are you trying to do for the computer to "see" the phone? Is it not being connected in iTunes? Are you trying to import photos? The only time Windows Explorer "sees" the phone is when there are photos in the Camera Roll. Any other time, you cannot connect to the phone to see anything else.

Maybe you are looking for