Taking a Java Course, but Compile is not an Option

am taking a class with UoPO and we use TextPad to do our Java assignments. I have both the latest version of TP, and the latest version of JDK, however, I do not have the option to compile. Can I get some guidance on the matter. If it matters,I am using VISTA 64-Bit. I have a team assignment due for review today and an individual assignment due Monday before we go on holiday. Any help would be appreciated.

C.E.Moore wrote:
Thank you for attempting to help, but I discovered the answer for myself. I'm not sure if Vista 64-Bit had anything to do with it, but I discovered that in order to copile and then run, I had to save the program in the JDK bin folder where the Java tools are. I don't know why, but I did. Every instruction I ever read simply said to save the program to my computer. It never specified to save it in the same folder as the compiler. This may be common sense to many, but not to someone who has never written program before.
I seriously doubt that explains why it didn't show up in the menu.

Similar Messages

  • To open "Java Preferences," you need to install a Java runtime, but you are not connected to the Internet. I have tried links that people have put on other discussions but all i get is a black screen please help!!

    To open “Java Preferences,” you need to install a Java runtime, but you are not connected to the Internet. I have tried links that people have put on other discussions but all i get is a black screen please help!!

    Try this link, warning, it's straight to download mode:
    http://support.apple.com/downloads/DL1421/en_US/JavaForMacOSX10.7.dmg

  • Had to reinstall iTunes,backed up iPhone5 before the reinstall and need to restore the iPhone backup that is on the computer,Windows8, but it is not an option in the new iTunes restore menu. How do I map or add the old backup to the new iTunes?

    Had to reinstall iTunes,backed up iPhone5 before the reinstall and need to restore the iPhone backup that is on the computer,Windows8, but it is not an option in the new iTunes restore menu. How do I map or add the old backup to the new iTunes restore option?

    Hi MrsMoosie,
    I'm sorry to hear you are having these issues with your iPad. If your iPad isn't responding or doesn't appear to be charging, you may find the information and troubleshooting steps outlined in the following articles helpful, in particular the following portion:
    If you don't see the charging screen within an hour, or you see the connect to power screen, check your connector, USB cable, and power adapter. Make sure that everything is plugged in firmly, free of debris, and not damaged. You might want to try a different USB cable or power adapter.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    If you can’t charge your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

  • My ipod says it is updated to most current 6.1.6, i use the rdio app and it worked but now with the update it needs 7.0 but i do not get option to update to this what do i do?

    my ipod says it is updated to most current 6.1.6, i use the rdio app and it worked but now with the update it needs 7.0 but i do not get option to update to this what do i do?

    See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 7.1.x
    iPhone 4S                                    iOS 8.x.x
    iPhone 5                                      iOS 8.x.x
    iPhone 5c                                     iOS 8.x.x
    iPhone 5s                                     iOS 8.x.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 8.x.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 8.x.x
    iPad 3                                          iOS 8.x.x
    iPad 4                                          iOS 8.x.x
    iPad Mini & Mini Retina                iOS 8.x.x
    iPad Air                                        iOS 8.x.x
    =====================================
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • Cs6 is telling me to re install but it is not an option on the cloud, any suggestions?

    cs6 is telling me to re install but it is not an option on the cloud, any suggestions?

    Which CS6 program is giving you the message? What is the exact error message you are getting?
    -Dave

  • I have an i4s and my mail from bellsouth disappears.  I can sync my hotmail days to sync but there is not that option with bellsouth.  How do I do it so they won't disappear?

    I have an i4s and my mail from bellsouth disappears.  I can sync my hotmail days to sync but there is not that option with bellsouth.  How do I do it so they won't disappear?

    Your iCloud password is your Apple ID and password. You must know it since you are posting here.
    Have you transfered your MMe account to iCloud? If not, open iCloud in system preferences and sign in with your Apple ID and password.
    If you have transfered it to iCloud, do this:
    Go to the iCloud icon in System Preferences and open it. Sign out of iCloud.
    Open Mail. If the iCloud or MMe account still exists in Mail's preferences under accounts, select the account and delete it. Then sign back into iCloud and choose Mail and any other applications in iCloud that you use. The Mail account should be put into Mail automatically.
    Signing out of iCloud should remove the account from Mail and signing back in should put it back. There is no manuel account creation by you when using Apple Mail application.

  • I want to partition an external device for OSX and Windows.  Opened Disk utility but Partition is not an option

    I want to partition an external drive for OSX and PC.  Went to Disk Utility but Partition is not an available option.

    Why not? does the partition tab not exist?

  • I did write a simple java program but it is not working please help me.....

    This is the program I wrote LineRect just to draw a line a rectangle etc...... Y it is not working How can i used the same program to run without using applet that is by using awt and swing.........Pls Help me.............
    import java.awt.*;
    import java.io.*;
    public class LineRect
    {public void paint(Graphics g)
         {g.drawLine(10,10, 50,50);
         g.drawRect(10, 60, 40,30);
         g.fillRect(60,10,30,80);
         g.drawRoundRect(10,100,80,50,10,10);
         g.fillRoundRect(20,110,60,30,5,5);
         g.drawLine(100,10,230,140);
         g.drawLine(100,140,230,10);
    <APPLET
    CODE =LineRect.class
    WIDTH=250
    HEIGHT=200>
    </APPLET>

    There are many significant errors here for instance you are using a class file as if it were an applet yet you do not subclass applet. Your code has no init method (if it is to be an applet). Your best bet is to go through the tutorials one step at a time. One thing to consider is to subclass a JPanel and draw on the jpanel overriding the paintComponent method. This can then be added to a JFrame or a JApplet's contentPane and would allow the same graphics in both. But again, please study the tutorials on all of this, otherwise you will be doing hit-or-miss programming, and that is no way to learn.
    Much luck!
    Addendum: Also, if you are just beginning in Java programming, I suggest you start with the basics and not with Swing / AWT / graphics programming. Otherwise you will just end up bruised and disappointed. You have to learn to walk before you can run.
    Edited by: Encephalopathic on Dec 26, 2007 5:09 AM

  • Java server page compiler can not find a class defined in a java bean file

    I have a jsp file using java bean. The java bean class file is uploaded into the server and also the directory to this java bean .class file is included in the Unix environment CLASSPATH. This .jsp file is registered and should be compiled and excecuted automatically.
    WHen I try to invoke this .jsp file, the jsp compiler error, saying the class defined by java bean can not be found. I already include this path in teh CLASSPATH, I thought the jsp compiler will go to the right place according to CLASSPATH to find the referenced class.
    Can anyone tell me what I have done wrong or what should I do in order to allow jsp compiler to find the class refrenced by .jsp file and defined by java bean file?
    Thank you so much

    hello friends,
    i am also facing the same problem of not finding bean class files for both jsp and servlet though it is placed in same package. the problem of not finding bean class file for jsp is experienced in Tomcat server only whereas in Blazix, there is no such error and the file is compiled and runs successfully.
    i have checked Tomcat properly. there is no error in its configuration also servlets without the use of bean files run successfully. so please can anybody guide me about what is the problem and how to solve it. plz its urgent .

  • CVS imports Java files but they do not appear!!

    Hi all,
    I am starting to use CVS and was able to set up the server import the project and to check it out and everything seems to work fine !!! But unfortunatly the java files that are imported do not appear in the application navigator. The folder in which they are normally contained appears but it seems to be empty. Also when i run my pages the code contained in the java files is executed but i cannot go and modify it !
    do you have any advices? please
    Regards,
    Carl

    hi Brenden,
    thx again for your reply,
    I have tryied opening closing re-importing the project always unsuccesfully!
    I tried the Project Content setting for my project and i was able to have some of the files to appear. but it never goes into the sub-directories even if the option is checked I really find this weird. Just to know if i try the same project with the same options all the java files are there!! so it is related to CVS.
    Regards,
    Carl

  • I have installed the java plugin but it does not appear in my add-on list. I have RedHat linux OS using the Firefox 24.2.0 browser.

    I have already followed your advice for removing the plugins.dat file from the .mozilla directory. The plugin still hasn't appeared in the add-on list. Does anybody have any idea what could be going on?

    See:
    *http://kb.mozillazine.org/Java
    *http://kb.mozillazine.org/Determining_plugin_directory_on_Linux
    *https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Basics#How_Gecko_finds_plug-ins

  • I have home sharing on but sharing is not an option on either computer

    I have my itunes library on a Vista PC and have a Wireless Cicso router and am trying to share the library on my Windows 7 PC.  I have home sharing turned on on both PC's.  I have authorized both computers.  The sharing option does not show up in itunes.  When I look a preferences it says sharing on no users.  The network name is the same on both PC's.  It does however shw up on my ipad.  I cannot find any online help to further troubleshoot this issue.

    Sorry, but there is no iTunes Store for Guernsey. As a crown dependency rather than a full part of the UK, the licensing for the content in the UK iTunes Store doesn't apply to Guernsey nor Jersey, so you can't use that Store.
    Regards.

  • X 4.0.1. on my MacBook Pro laptop. It appears to try to display the pdf in Preview, but nothing happePDFs attached to emails or on websites won't open in my Firefons. I looked under Tools for Options then Applications, but there is not an Option option!

    PDF documents already on my MacBook Pro laptop open in Adobe Reader just fine. Rarely will someone attach a PDF to an email that I can open, view and save, but it has happened. I don't know why. I don't see anywhere in Firefox preferences to select a default application (Adobe Reader) to open PDFs. Mac OSX version 10.6.7

    you can just download the bootcamp drivers manually
    http://www.apple.com/dk/support/bootcamp/
    and you can't
    : I mount a Virtual Drive with the ISO image of the DVD
    bootloader time nothing can read virtual drives you need a real dvd with the iso burned on it or to do the usb install way
    have you tried to view some of the tons of youtube guides which show you step by step how to install windows on bootcamp ?
    https://www.google.dk/search?q=installing+windows+on+bootcamp&oq=installing+wind ows+on+boo&aqs=chrome.2.69i57j0l5.11252j0j7&sourceid=chrome&es_sm=91&ie=UTF-8#q= installing+windows+on+bootcamp&tbm=vid

  • HT2476 cannot find java runtime and photoshop will not open

    running OSX Lion on iMac Photoshop will not open. It says I need to update Java Runtime, but I do not have any updates. It says I am not connected to the internet and I am obviously since I am here. Help!!!!

    arlene220 wrote:
    I downloaded and it opens, but everytime I quit photoshop I get a crash report! there is nothing different except that I upgraded to Lion. Can I uninstall and run Snow Leopard and if so....how do I do that?
    Also, I just downloaded an upgrade to Topaz and it says cannot install on this computer...it is my main plugin for PS
    If you have gone to the Topaz developer's site and see no update for Photoshop in Lion, then all you can really do is contact them to see if they ever intend to update it.  What verion of Photoshop are you using by the way?
    Otherwise
    http://gigaom.com/apple/how-to-downgrade-from-lion-to-snow-leopard/
    Good Luck
    Pete

  • I purchased and installed Aperture 3 but it is not on my Macbook Pro

    Yesterday morning I purchased and instalaled Aperture 3.   I went through the process and answered questions like "Do you want to migrate your Iphoto library, etc., etc.  This morning when I opened my computer I could not find Aperture.  It was not in Applications...nor in Finder (Searching 'All my files."   I recieved an email confirming the 79.00 purchase.     I went back to the Mac App Store and tried to reinstalled but it is not an option - it just has a faded 'Installed' indicator.  Help!

    I went back to the Mac App Store and tried to reinstalled but it is not an option - it just has a faded 'Installed' indicator
    Allen is probably right, and calling Apple the solution, but this is puzzling - if the AppStore shows your Aperture version as installed, then the Application probably still is somewhere on your Mac. If it were gone completely, the AppStore should offer Aperture for downloading again.
    Have you tried to open Aperture by double-clicking your Aperture Library? The Aperture Library probably is located in the default location in your "Pictures" folder.
    Since your Spotlight search was not successful, have you tried to search your Mac for all Applications using the Finder's find, searching your whole computer?
    Select your Computer in the Finder's sidebar and enter ⌘(cmd)-F
    Set the "Kind" selector to "is Application"
    This will list any Application currently on your computer.
    Regards
    Léonie
    P.S. You didn't mention it, since it is the obvious place to look first - but have you looked in the Trash?

Maybe you are looking for