Eclipse Java Mac Download

Posted : admin On 11/24/2021

Eclipse Scout is a framework to develop Java/Eclipse based business applications that run on the desktop, in browsers, and on mobile. Eclipse for Windows (64bit): eclipse-scout-2020-09-R-win32-x8664.zip; Eclise for Mac OS X (64bit): eclipse-scout-2020-09-R-macosx-cocoa-x8664.dmg. Download Eclipse Checkstyle Plug-in for free. Integrates Checkstye into the Eclipse IDE. The Eclipse Checkstyle plug-in integrates the Checkstyle Java code auditor into the Eclipse IDE. Now that you have Java setup on your Mac, it is time to set up Eclipse. Go here to download the Eclipse IDE for Java Developers. After you install Eclipse you have to set it up to work with Java. 1- Make sure you have downloaded Java SE.6 from the link below and installed it: Download Java for OS X 2015-001. 2- Create a java project in Eclipse, in the same window select Use a specific JRE then click on configure JREs like picture below: 3- Now select Add. 4- Select Standard VM and click next, now click on the Directory in the opened window. Java SE 10 Archive Downloads. Go to the Oracle Java Archive page. The JDK is a development environment for building applications using the Java programming language. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java TM platform. WARNING: These older versions of the JRE and JDK are provided to help.

In CS106A, we'll be using Stanford's customized version of Eclipse to build our programs. Eclipse is an enormously popular industrial-strength Java environment with many features. Fortunately, Eclipse is also open source -- anyone is free to change Eclipse to work the way they want. We have taken advantage of that freedom to install special Stanford features into Eclipse, tailoring it specifically for CS106A. This document gives instructions on how to get started using Stanford Eclipse. Please pay close attention to these instructions and do not skip steps!

Contents

Mac Installation Windows Installation Configuring Eclipse for CS106A I need help!

Installing Eclipse on a Mac

Stanford Eclipse will only work on Mac OS X version 10.6 or higher. If you don't have that version of the operating system, you'll need to either upgrade or do your class work in a public cluster.

  1. Download and install the Java SDK installer for Mac
  2. Download the Mac version of Eclipse
  3. Double-click on the file eclipse-mac.dmg to open the Eclipse disk image(You can delete eclipse-mac.dmg afterwards).
  4. Drag the Eclipse app into the Applications folder on your Mac.
  5. Drag the Eclipse icon from your Applications folder to your Dock to create a shortcut.
  6. Click on the icon in the dock to open Eclipse. If you see an error that says Eclipse 'can't be opened because it is from an unidentified developer,' right-click on the Eclipse icon and select 'open' instead. You will be able to open Eclipse without right-clicking from now on.
  7. Skip to the instructions below to configure Eclipse for CS106A.

Installing Eclipse in Windows

Our version of Eclipse will run on Windows 7 (2009) or higher. In the very unlikely event you have an older version of Windows on your computer, you will need to either upgrade or do your class work in one of the public computer clusters. You can check your version of Windows using these instructions.

  1. Uninstall previous versions of the Java Runtime Environment (JRE). Before installing a new version of the JRE, we recommend that you remove any older copies that may be installed on your system.
    • If you have Windows 7 or 8, do the following: Click on Start, then click on Control Panel, then select Programs and Features.

      If you have Windows 10, do the following: Click on Start (the Windows icon in the lower left-hand corner), then click on Settings (the gear-shaped icon), then select Apps & Features.

    • From the list of programs you see, uninstall any occurrences of Java/J2SE Runtime Environment, Java SDK, Java SE Development Kit or Java Update. Note that the exact program name may be slightly different or include a version number, but you generally want to remove anything that includes the text: Java/J2SE Runtime Environment, Java SDK, Java SE Development Kit or Java Update. To remove a program, click on the program name to highlight it and click the the Uninstall button.
  2. Download Eclipse.
    Save the downloaded file to somewhere on your hard drive. This may take a little while as the file is rather large.
  3. Unzip/extract the contents of the file by right-clicking on the folder you just downloaded, selecting the Extract All... option and typing C:Program Files as the location to extract the files to. Then continue following the steps in the extraction process.
  4. Create a shortcut to Eclipse on your Desktop for easy access — Open the C:Program Fileseclipse directory, and right-click and drag the eclipse.exe file (the Eclipse application) to your desktop and then select the option Create shortcut here.
  5. Note: If you installed the 64 bit versions of the software, and find that you have issues running Eclipse, we recommend that you uninstall Eclipse by deleting the C:Program Fileseclipse directory and install the 32 bit versions of both: the JRE 32 bit version for Windows and Eclipse 32 bit version for Windows, in that order.

  6. Continue to the instructions below to configure Eclipse for CS106A.

Configuring Eclipse for CS106A (both Mac and Windows)

Once you have Eclipse installed on your computer, there are a few CS106A-specific changes you need to make so that you can access some special Stanford features, like submitting assignments. The following instructions apply to all operating systems, although the screenshots are from a Mac.

  1. Open Eclipse if you haven't already. When you run Eclipse for the first time, you may get a screen that looks like this:
    A workspace is just a directory that Eclipse will use to place new projects in. In 106A you won't have to make any new projects from scratch. We will always give you skeleton projects for your assignments, so you don't need to worry about where the workspace is. The suggested location is fine. Click the Use this as the default and do not ask again checkbox, and then click OK.
  2. Once Eclipse has started, you can close the 'Welcome' tab using the 'X' in the top left.
  3. Click Help -> Install New Software.
  4. In the 'Work with' text box, type https://web.stanford.edu/dept/cs_edu/eclipse/plugin and press Enter.
  5. Click 'Select All,' then click Next.
  6. Click Next again.
  7. Click 'I accept the terms of the license agreement,' then click Finish.
  8. Click OK when you see the warning about installing unsigned content.
  9. Click Yes when asked to restart Eclipse.
  10. After restarting, you should see a 'Stanford Menu' in the top bar, as well as several new icons in your top toolbar area.
  11. Go to Eclipse -> Preferences to open the Preferences window. In the dropdowns on the left, expand Run/Debug, and click Perspectives. Set 'Open the associated perspective when an application suspends' to Never, as shown below, and click Apply and Close.
  12. Now that you have Eclipse loaded and configured, your next step is to add a project to your workspace by importing a skeletal framework that we provide with each assignment called a starter project. Using starter projects makes your life much easier by allowing you to ignore the many details involved in creating a project from scratch. Every assignment will include a starter project for each problem, and your first task for each assignment will be to download the starter project from the class website and then import it into your workspace. The details for doing so are described in the handout 'Using Karel with Eclipse'.
Eclipse java mac download version

Having trouble with your installation?

Eclipse java mac download softonic

Check out this doc for common Eclipse errors and issues / Troubleshooting, email the Head TA or stop by their Office Hours, or stop by the LaIR. During the first week, you can also stop by the Eclipse Setup Session on Wednesday 4/4/18 7-9 PM in the LaIR (first floor of Tresidder).

Eclipse Oxygen Download For Java Mac

Troubleshooting

  • Q: Eclipse is showing an error in the Console 'Could not save C++ lib configuration file.' Do I need to worry about this?
    A: No. This error should not affect the running of your programs, and you can ignore it.

  • Q: Help! I don't see the 'running person', submit, import, etc. icons or the 'Stanford Menu' in my Eclipse.
    A: This means the Stanford Plugin is not installed; please repeat the steps under 'Installing the CS106A plugin' above.

  • Q: My Eclipse window doesn't look like the ones in the screenshots or in lecture. I'm missing some of the panels (e.g. the sidebar showing all my projects). Help!
    A: Click the 'Reset' button in the Stanford Menu to reset to the default view. You may also be in Debugger mode instead of Editor mode; use the Stanford Menu to go back to Editor mode.

  • Q: Eclipse is not letting me import a project. It gives me a warning at the top of the import window that 'Some projects cannot be imported'.
    A: This is because a project with that name is already imported into Eclipse. If you would like to import this project, you must first delete the existing project by right-clicking the project in the sidebar and selecting 'Delete'. You can then choose whether to delete the project from your computer as well, or just delete the project from Eclipse.

  • Q: When I run a Karel program, it immediately crashes with an 'Unsupported Version Error'.
    A: This means Eclipse is using Java 9, which is not compatible with running your programs. See the solution to the following question about being unable to run programs.
  • Q: When I click the running person icon to run programs, Eclipse gives me an error that it 'could not find any programs to run', even though I have a project imported with programs.
    A: This means Eclipse is using Java 9, which is not compatible with running your programs. To change Eclipse to use Java 8 instead, follow these steps:
    1. Open Eclipse Preferences: On Mac: in the top toolbar, go to Eclipse -> Preferences. On Windows: in the top toolbar, go to Window -> Preferences.
    2. Change JRE version to 8: In the sidebar of the preferences window, expand the 'Java' section. Click on 'Installed JREs'. If the checked option is a version of Java SE 9, instead check the box next to Java SE 8 [1.8.0_152]. Click 'Apply' in the bottom right.
    3. Change Compiler version to 1.8: In the sidebar of the preferences window, click on 'Compiler'. If the 'Compiler compliance level' is 9, change it to 1.8. Click 'Apply' in the bottom right.
    4. Close the preferences window. You should be good to go!

This page tells you how to download and install Java 8 and Eclipse on Mac OS X, and how to configure Eclipse.

Installing Java 8

  1. Go to the Oracle website. You'll see something like this:

  2. Scroll down until you see a heading beginning 'Java SE 8u65/8u66.' On the right, you'll see a Download button under the JDK header. Click it. The next screen will look like this:

    Click the radio button next to 'Accept License Agreement' and then click on jdk-8u65-macosx-x64.dmg. You'll be asked whether to save the file that is going to be downloaded; click on Save File.

  3. Open your Downloads folder, and double-click on jdk-8u65-macosx-x64.dmg. You'll see this window:

  4. Double-click on the package icon, and follow the instructions to install. When the installation has completed, click on Done. At this point, you may close up the window and drag jdk-8u65-macosx-x64.dmg to the Trash.

Installing Eclipse

Eclipse for java developers

Eclipse Java Mac Download Softonic

Eclipse

Eclipse Java Mac Download Version

  1. If you already have Eclipse installed on your Mac, you need to get rid of it. To do so, first quit Eclipse if you're currently running it. Then, go to your workspace folder (probably in Documents/workspace) and save anything there that you want to keep, because you're about to get rid of this folder. Next, drag the workspace folder to the Trash.

    Go to your Applications folder. One way to get there is, from the Finder, type command-shift-A. You'll a folder named eclipse in there; drag the eclipse folder to the Trash. If you have an Eclipse icon in your dock, remove it from the dock.

  2. Now you're ready to download and install the newest version of Eclipse. Go to this website. You'll see a window like this:

    Scroll down until you see 'Eclipse IDE for Java Developers' and click where it says 64 bit under Mac OS X.

  3. You will see this window:

    Click on the yellow download button. If asked, click on 'Open with Archive Utility (default)' and then click OK. The download might take a few minutes. You should not feel compelled to donate.

  4. After the download completes, folders should automatically expand. If they don't, double-click on the .tar file. When that's done, you should see a folder named eclipse in your Downloads folder. When you open your Downloads folder, if you see Applications under the Favorites on the left side of the window, you should drag the eclipse folder into Applications. If you don't see Applications, then open a new window for Applications (from the Finder, command-shift-A), and drag the eclipse folder into Applications.

  5. Open your Applications folder, and then open the eclipse folder. You'll see an item named Eclipse; if you like, drag its icon into the dock so that you'll be able to launch Eclipse easily.

  6. Launch Eclipse. If you're asked whether you want to open it, of course you do; click Open. You'll see a window like this:

    It will have your user name rather than mine (scot). Select where you want your workspace to be; I recommend the default of your Documents folder. Click the checkbox for using this location as the default, and then click OK.

  7. You'll see a window like this:

    Click on the Workbench arrow in the upper right that I've circled. You shouldn't see this screen again, even if you quit Eclipse and relaunch it.

  8. You'll get an empty workbench like this:

    We won't be using the 'Task List' and 'Connect Mylyn' windows. Click the 'x' on each to close it. Press the mouse on the Window menu item, then choose 'Perspective', and finally choose 'Save Perspective as...'. Enter 'cs10' for the name of this perspective and press return. Your workbench will now look like this:

    You have now installed Eclipse!

Configuring Eclipse

You don't have to configure Eclipse the way I do, but you'll probably avoid some confusion if you do. Here's how.

Eclipse Ide For Java Developers

  1. In the Eclipse menu bar, click on the Eclipse menu and then on 'Preferences...'. You'll see a window with two panes. On the left pane is a list of types of things you can configure.

  2. Click on the triangle to the left of General. Then click on the triangle to the left of Appearance. Then click on 'Colors and Fonts.' You should see a window like this:

  3. In the window in the middle, click on the triangle next to Java. Then double-click on 'Java Editor Text Font':

  4. You'll see this window:

    On the right, where you can select the size, click 12. Then close this window by clicking on the window's close button.

  5. Close up the General preferences by clicking on the triangle to the left of General. Click the triangle next to Java and then click the triangle next to 'Code Style.' Then click Formatter. Here's what you should see:

  6. Click the button that says 'New...'. You'll see a window such as this one:

    You can type in any profile name you like. I used 'CS 10':

    Click OK.

  7. You should see a window like this:

    Change the tab size to 2:

    You'll see that the indentation size automatically changes as well.

  8. Click on 'Blank Lines,' and after 'Between import groups' and 'Before declarations of the same kind,' change the values 1 to 0:

  9. Click on 'Control Statements,' and check the first four boxes as I've done here:

    Click OK.

  10. Now click on triangles to close up Java. Click on the triangle next to Run/Debug, and then click on Console:

  11. Click on the green color sample next to 'Standard In text color.' You'll get a color picker:

  12. Slide the slider on the right down, so that you get a dark green. (You're at Dartmouth. What other color could you possibly want?)

    Close the color picker window by clicking its close button, and click OK again to close the Preferences window.

  13. And you're done!