Section

  • Course Information:

    Ms. Campbell
    Room W109
    campbellcr@lisd.net
    469-948-7095

  • Instructions: Clicking on the section name will show / hide the section.

  • Topic
    1
  • Topic
    2

    This section will be updated with materials according to the availability noted on the Weekly Schedule.

    • Topic
      3

      To set up an IDE and code at home:

      You must have access to a laptop or desktop of some sort...these programs don't work on iPads, tablets or mobile devices.

      1. Download & install the JDK from Oracle.
        Visit the Oracle download page and choose the correct package for your computer.
        • Most Windows 8 & higher computers are 64-bit (use x64 version).
        • Windows 7 or lower, check your system settings to see if you are running on 32-bit or 64 bit. 32-bit systems need to download the x86 version.
        • Macs should be on OS X or higher to work properly
           
      2. Choose an IDE. All of the following are free:
        • Eclipse IDE for Java Developers
          1. Do NOT get the Enterprise version. Use the Java Developers' version
          2. Unzip/extract the downloaded folder and save it to your computer.
          3. If you want to have a shortcut on your desktop, right-click on the .exe file in the unzipped folder to create one.Do not move the .exe file out of that folder.
        • Dr. Java is a simple, light-weight IDE. 
          Not many bells or whistles, but easy to open your .java files without creating a new project every time.
        • NetBeans is the IDE officially recommended by Oracle. 
          It's a lot like Eclipse, but tends to force use of advanced structures (packages) which can make it hard to transfer files back to school computers.

      Syncing with your LISD Google Drive Account:

      1. Download Backup & Sync for Google Drive on your home computer. Open the Backup & Sync application and log in with your LISD account.

      2. This should automatically start syncing your files down to your home computer.  
        • Now they will be stored in 3 places:  The PC you use in W109 lab, in "the Cloud" of our Google Servers, and at home.)
        • If you don't want all your files to sync, you can click on the "cloud" icon in the status bar of your computer, and choose "Preferences".  You can then select to only sync your Workspace folder.
        • I also recommend that you set your Preferences to NOT ask for confirmation when deleting files.  If you leave it on, it will pop up every few minutes!
      3. VERY IMPORTANT:  Make sure you don't close the Sync app or shut down your computer until you're sure your edited files have synced back to the Cloud.  You can check this by looking at your Drive account in a web browser and checking the "last modified" date and time of the file.  

      Troubleshooting Common Problems:

      I installed Eclipse, the JDK and Google Drive.  All my files are synced.  But when I open Eclipse I don't see any of my projects in the left-hand Package/Project Explorer pane.

      1. Make sure the Current Workspace is pointing at your "workspace" folder in your Google Drive folder.   
        • This should be something like:  C: \yourusername\Google Drive\YourLastName_compSci
        • If this does not make the projects appear in Eclipse, proceed to step 2.
      2. In Eclipse, go to File—>Import.  Choose the "General" option in the next menu, and import your projects into Eclipse from the "workspace" folder in your Google Drive folder.
      3. If it still gives you any trouble running (like errors that say it doesn’t recognize the file as Java), right click on the project name and choose “Refresh”.

      I can't even see some of the windows I need in Eclipse, like the panel on the left that lists all my projects, or the console is missing...

      Go to the little button in the top-right corner of Eclipse that just says "Java".  Right-click on it and choose the "Reset" option.   

      I get this weird error about an "Ant Build" when I try to run a program...

      You probably opened your .java file by using File—> Open in Eclipse menu  

      1. Save and close the program without running it.
      2. Then open the .java file from the Package or Project explorer (list of projects on the left side of the screen).  (If you can't see the project there, refer to the troubleshooting topics above...)

      But if all that fails for some reason, create a fresh, new project in Eclipse at home, and copy/paste your .java file contents into it.  Then you’ll have to manually import the file back to your Google drive folder and repeat the copy/paste process when you get back to school.