Java For Mac 10.8.5 Download

JDK for Mac ReadMe

  1. Java For Mac 10.8.5 Downloads
  2. Java For Mac 10.7
  3. Free Java Download For Mac

This release of the JDK is a developer-only version. You can use it to create Java applications and includes the new JavaFX 2.2 client stack. The developer version however does not include a plugin to launch Java applications from the browser so applet and Web Start applications cannot use this JDK.

To test if the JDK installed successfully you should do the following:

Java SE 12 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. Download Mac OS X Lion 10.8.5 free. The new software update also addresses compatibility and reliability issues when joining AirPort networks, which could cause some monitor resolutions to no longer appear in Displays System Preferences, and issues that. Earlier Versions of Receiver for Mac Subscribe to RSS notifications of new downloads. Receiver for Mac. Receiver 12.8.1 for Mac. Receiver 12.7 for Mac.

To test if the JDK installed successfully you should do the following: note: if you are installing JDK 7u5 the version listed will be 1.7.0_05 instead of 1.7.0_04

Switch to the Finder.

Choose Go -> Go To Folder.. or type command-shift-G.

Type /Applications/Utilities into the dialog box. Click the Go button.

Find Java Preferences.app in the window and double-click it. You should see a window that looks like this:

You should see a JDK named “Java 7 SE”, with version 1.7.0_04. Click and drag it to the top of the list.

Now, find Terminal.app in the window and double-click it.

Terminal.app opens. If a window does not open, choose Shell -> New Window -> <Default>

At the command prompt type:

java -version

and confirm you are running JDK 1.7.0_04.

To use this JDK with Netbeans, you need to add it as a platform in the Java Platform Manager

Launch NetBeans.app

Choose Tools -> Java Platforms

Click the Add Platform.. button

Java For Mac 10.8.5 Download

Navigate to the JDK”s folder. Type “/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents” in the File field.

The directory chooser should show Home and MacOS, and Home should have an icon on it indicating it is a Java home directory.

Select the Home directory, and click Next.

If you want, assign a new name to the JDK. Click Finish.

Now, create a new project. For this verification, select “Java Application”

Accept all of the default settings, and click Finish.

Next, right-click on the project name and choose Properties.

In the Categories list, choose Libraries.

Next to Java Platforms, choose “JDK 1.7” (or the name of the JDK you entered earlier) from the popup.

If you want to use Java 7 language features, do the following:

  • From the Categories list, choose Sources
  • In the Source/Binary Format field choose “JDK 7”.

Click OK.

Now, let”s make sure the new JDK is being used to run your code. Open “JavaApplication.java”, and look for the main method.

Type or copy this line of code into Main.java

System.out.println(System.getProperty("java.version"));

Save the file and from the main menu, choose Run -> Run Main Project.

Verify that 1.7.0_04 is sent to the Output pane.

http://netbeans.org/kb/docs/java/quickstart.html will also help you get started with using NetBeans.

To use this JDK with Eclipse

Launch Eclipse.app

Choose Eclipse -> Preferences

Choose Java -> Installed JREs

Click the “Add..” button

Choose “MacOS X VM” as the JRE type. Press Next. Download java 7 update 51 for mac.

In the “JRE Home:” field, type “/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home”

You should see the system libraries in the list titled “JRE system libraries:”

Give the JRE a name. The recommended name is “JDK 1.7”. Click Finish.

Check the checkbox next to the JRE entry you just created. This will cause Eclipse to use it as the default JRE for all new Java projects. Click OK.

Now, create a new project. For this verification, from the menu, select File -> New -> Java Project.

In the dialog that appears, enter a new name for your project. For this verification, type Test17Project

In the JRE section of the dialog, select “Use default JRE (currently JDK 1.7)”.

Click Finish.

Now, create a Java class to run. From the menu, select File -> New -> Class.

Name the class Java17Test. Click the checkbox to create a stub for “public static void main(String[] args)”

Click Finish.

Type or copy this line of code into Java17Test.java

System.out.println(System.getProperty("java.version"))

Save the file and from the main menu, choose Run -> Run.

Verify that 1.7.0_04 is sent to the Console pane.

To use this JDK with IntelliJ IDEA 11 CE

Launch IntelliJ IDEA 11 CE.app

You should see the welcome screen with a number of options. Choose “Create New Project” from the QuickStart panel. Ableton download for mac.

Choose “Create project from scratch”. Click Next.

Provide a name for the project. Click Next.

Keep the default source directory. Click Next.

Your next step depends on whether or not you have run IDEA before. If not, follow these steps:

The Project SDK window appears. Click on the ‘Configure’ button on the right side.

Navigate to “/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home”. Click Choose

In the Project SDK window, you should see “1.7 (java version “1.7.0_04″)” listed. Click Next.

Leave the default settings on the next page. Click Finish.

You are now ready to use Java 7 for your development.

If you had already been using IDEA you need to add JDK 1.7 and select it for the project.

Press F4 to bring up the Project Settings window.

In the left column, choose ‘SDKs’.

At the top of the second column, click the + icon. From the popup that appears, choose ‘JSDK’.

Navigate to “/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home”. Click Choose.

IDEA will name the SDK ‘1.7’. Verify that the Project Structure window looks like this.

Click OK. You are now ready to use Java 7 for your development.

You should see your project name listed in the top left. Double-click on it to expand it.

Right-click on the blue “src” folder and choose New -> Java Class.

The “Create New Class” dialog appears. Type “Java17Test” into the field labelled “Name:” and click OK.

Type or copy this block of code inside the Java17Test class in the Java17Test.java file:
public static void main(String[] args) {
System.out.println(System.getProperty("java.version"));
}

Save the file and from the main menu, choose Run -> Run “Java17Test”.

Verify that 1.7.0_04 is sent to the Run Java17Test pane.

To run a standard java program –including JavaFX programs- do the following

Make sure you followed the steps above to ensure that JDK 1.7.0 is installed correctly.

Locate the JAR file you want to run.

Type

java -jar <path to JAR file>

Alternatively, if you know that the JAR file can be run using java -jar, locate the file in the Finder and double-click it. The application should start normally.

If you would like to use Java from your browser or through a webstart application you will need to wait for the consumer release on Mac. There is an early access preview available. We encourage you to try it and give us feedback so we can deliver the best possible experience for Mac users when we release the JRE for Mac.

Mac

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

Java For Mac 10.8.5 Downloads

  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

Java For Mac 10.7

  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. Can you download apps onto macbook air.

  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

Free Java Download For Mac

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

  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!