Jdk 6 Mac Os Download

This document describes how to install NetBeans IDE 6.7.1 on your system. For information about supported operating systems and hardware configurations for the IDE, see the NetBeans IDE 6.7.1 Release Notes. See the NetBeans IDE 6.7.1 Release Information page to learn about the new features included in this release of the IDE.

  1. Java Jdk 6 Mac Os X Download
  2. Jdk 6 Mac Os X Download
  3. Jdk 6 Mac Os Download Torrent

Mac OS X Port Project. The goal of this Project is to produce a high-quality, open source version of JDK 7 for the Mac. The final release has the following goals: Pass all appropriate certification tests for Java SE 7; Include a complete, native Cocoa-based UI Toolkit; Provide excellent performance; This Project is sponsored by the Porters. Download the JDK.dmg file, jdk-10. Before the file can be downloaded, you must accept the license agreement. From either the browser Downloads window or from the file browser, double-click the.dmg file to start it.

Contents

  • Installing the Software

Required Software

Before you install the IDE, the Java SE Development Kit (JDK) 5 Update 19 (version 1.5.0_19) or newer (including JDK 6 Update 14) must be installed on your system. If you do not have an installation of JDK, you cannot proceed with the installation. You can download the latest JDK version at http://java.sun.com/javase/downloads.

For the PHP, Ruby, and C/C++ download options, you can install the JRE instead of the JDK. However, if you are planning to use any of the Java features, you will need the JDK.

Installer Download Options

On the NetBeans IDE 6.7.1 Download page, you can obtain one of several installers, each of which contains the base IDE and additional tools.

The following installers are available:

  • Java. Provides tools for developing Java SE, Java EE and Java ME applications. This download option also includes Sun GlassFish Enterprise Server v2.1.1, Sun GlassFish Enterprise Server v3 Prelude, and Apache Tomcat software.
  • JavaFX. Provides support for JavaFX multi-platform rich application development.
  • Java SE. Provides all standard features for Java SE development. Support for NetBeans Plugin Development is also included.
  • Ruby. Provides tools for Ruby development and supports Rails and JRuby. Also contains Sun GlassFish Enterprise Server v3 Prelude.
  • PHP. Provides tools for PHP development.
  • C/C++. Supports development in the C, C++, and Fortran languages.
  • All. This is a full download option, which contains all the runtimes and packs available for the NetBeans IDE.

Customizing Your Installation

If you download Java or 'All' download options, you can choose exactly what tools and runtimes to install. Click Customize at the Welcome page of the installer and select the features that you want to use. For more information, see Installing the Software.

If you want to add functionality to your NetBeans IDE configuration, use the NetBeans Plugin Manager. For example, assume that you start out by downloading and installing the Ruby pack. You then decide that you want to try out the C/C++ functionality. To do this, go to the NetBeans Plugin Manager from the IDE (choose Tools > Plugins) and add the C/C++ pack to your existing installation.

There are several important notes about installation and configuration of some NetBeans IDE features:

  1. Apache Tomcat 6.0.18 is included in the 'Java' and 'All' download options but it is not installed by default from either of these options. To install Apache Tomcat from the Java or 'All' download, launch the installer and select Apache Tomcat 6.0.18 in the Customize Installation dialog box.
  2. For C/C++ development (applicable for the C/C++ and 'All' downloads), you need to additionally install compilers and tools. For more information, refer to the Configuring the NetBeans IDE for C/C++/Fortran.
  3. For Mac OS X, you can customize the NetBeans IDE installation from Java, Ruby, and 'All' downloads. The IDE installation from JavaSE, PHP, and C/C++ downloads cannot be customized.
  4. You can also download a platform-independent zip file and run the NetBeans IDE executable file. Note that the runtimes, such as the GlassFish application servers and Apache Tomcat, are available only with platform-specific installers.

Starting the Download

  1. Navigate to the NetBeans IDE 6.7.1 Download page.
  2. In the upper right area of the page, select the language and platform from the drop-down list.
    You can also choose to download and use the platform-independent zip file.
  3. Click the Download button for the download option that you want to install.
  4. Save the installer file to your system.

Installing the Software

Follow the instructions in this section to install the IDE on your system. These installation instructions apply to all supported platforms. For the list of supported platforms, see the NetBeans IDE 6.7.1 Release Notes.

Microsoft Windows, Solaris OS, and Linux

To install the software:

  1. After the download completes, run the installer.
    • For Windows, the installer executable file has the .exe extension. Double-click the installer file to run it.
    • For Solaris and Linux platforms, the installer file has the .sh extension. For these platforms, you need to make the installer files executable by using the following command:
      chmod +x <installer-file-name>
  2. To choose the tools and runtimes to install, perform the following steps at the Welcome page of the installation wizard:
    1. Click Customize.
    2. In the Customize Installation dialog box, make your selections.
    3. Click OK.
  3. At the Welcome page of the installation wizard, click Next.
  4. At the License agreement page, review the license agreement, select the acceptance checkbox, and click Next.
  5. At the NetBeans IDE installation page, do the following:
    1. Accept the default installation directory for the NetBeans IDE or specify another directory.
      Note: The installation directory must be empty, and the user profile you are using to run the installer must have read/write permissions for this directory.
    2. Accept the default JDK installation to use with the NetBeans IDE or select a different installation from the drop-down list.
      If the installation wizard did not find a compatible JDK installation to use with the NetBeans IDE, your JDK is not installed in the default location. In this case, specify the path to an installed JDK or cancel the current installation, install the required JDK version, and restart this installation.
    3. Click Next.
  6. If the Sun GlassFish Enterprise Server v2.1.1 installation page opens, do the following:
    1. Accept the default installation directory for the application server or specify another installation directory.
      Note: The installation directory you specify must be empty, and the user profile you are using to run the installer must have read/write permissions for this directory.
    2. From the list of compatible JDK installations, choose the JDK you want the application server to use or click the Browse button to specify another JDK installation.
    3. Change the username and password for the default server domain or accept the defaults and click Next.
      The default username and password are admin and adminadmin.
    4. Verify the default port values (HTTP, HTTPS, and Admin) for the server or change them if necessary.
    5. Click Next.
  7. If the Sun GlassFish Enterprise Server v3 Prelude installation page opens, accept the default installation directory or specify another installation location.
  8. If you are installing Apache Tomcat, on its installation page, accept the default installation directory or specify another installation location.
  9. At the Summary page, verify that the list of components to be installed is correct and that you have adequate space on your system for the installation.
  10. Click Install to begin the installation.
  11. When the installation is complete, click Finish to exit the wizard.

Note: If you encounter problems successfully completing the software installation, see Troubleshooting for descriptions and suggested workarounds for unresolved issues that could affect the installation process.

Mac OS X

To install the software:

  1. After the download completes, run the installer. The installer file has the .dmg extension.
  2. On the panels that opens click the package icon. The package has the .mpkg extension. The installation wizard starts.
  3. At the Welcome page of the installation wizard, click Continue.
  4. Review the license agreement and click Continue. Click Accept in the pop-up window to accept the license.
  5. At the Select a Destination page, select the drive and click Continue.
  6. If you downloaded the All, Java, or Ruby bundle, you can customize your installation. On the last installation wizard panel, press the Customize button in the bottom left-hand side of the panel. The tree of products is displayed.
  7. Select the products you want to install
  8. Enter the administrator's name and password for your system and click OK to begin the installation.

Platform-Independent Package

To run the software:

  1. After the download of the platform-independent ZIP file completes, extract it to any folder on your system.
  2. Run the executable file located in the netbeans/bin directory.
  3. Accept the License Agreement. The NetBeans IDE starts.

Note: Note that the runtimes, such as the GlassFish application server and Apache Tomcat, are available only with platform-specific installers.

Note: If the compatible JDK installation cannot be found, you might need to manually add the path to the JDK installation directory:

  1. Open the netbeans.conf file located at netbeans/etc in a text editor.
  2. Enter the location of the compatible JDK installation as the value of the netbeans_jdkhome option.
  3. Save the netbeans.conf file and run the executable file at netbeans/bin.

Uninstalling the Software

Microsoft Windows

If necessary, you can uninstall the NetBeans IDE, the Sun GlassFish Enterprise Server v2.1.1, the Sun GlassFish Enterprise Server v3 Prelude, and Apache Tomcat using the following procedures.

Jdk 1.6 download 64 bit

To uninstall the IDE:

  1. Shut down the IDE.
  2. From the Control Panel, select Add or Remove Programs, then select NetBeans IDE 6.7.1 and click Remove.

To uninstall Sun GlassFish Enterprise Server v2.1.1:

  1. Shut down the IDE.
  2. From the Control Panel, select Add or Remove Programs, then select Sun GlassFish Enterprise Server v2.1.1 and click Remove.

To uninstall the Sun GlassFish Enterprise Server v3 Prelude:

  1. Shut down the IDE.
  2. From the Control Panel, select Add or Remove Programs, then select Sun GlassFish Enterprise Server v3 Prelude and click Remove.

To uninstall Apache Tomcat:

  1. Shut down the IDE.
  2. From the Control Panel, select Add or Remove Programs, then select Apache Tomcat 6.0.18 and click Remove.

Solaris OS, Linux

If necessary, you can uninstall the NetBeans IDE, the Sun GlassFish Enterprise Server v2.1.1, the Sun GlassFish Enterprise Server v3 Prelude, and Apache Tomcat using the following procedures.

To uninstall the IDE:

  1. Shut down the IDE.
  2. In the IDE installation directory, run the uninstall.sh file.
  3. To uninstall GlassFish/Tomcat together with the IDE, at the Summary page make sure that the correct versions are listed and check the appropriate checkboxes.
  4. At the Summary page, click Uninstall.
  5. After uninstallation completes, click Finish.

To uninstall Sun GlassFish Enterprise Server v2.1.1 or Sun GlassFish Enterprise Server v3 Prelude:

  1. Shut down the IDE.
  2. Locate the application server installation directory.

    Note: The default installation location is different depending on the type of installation and the platform. The following table shows the default application server installation directory for various platforms.

    PlatformInstalling As...

    Sun GlassFish Enterprise Server v2.1.1 Installation

    Sun GlassFish Enterprise Server v3 Prelude Installation
    Windowsuser with admin rights%SystemDrive%SunAppServer%ProgramFiles%sges-v3-prelude
    Windowsuser%SystemDrive%SunAppServer%USERPROFILE%sges-v3-prelude
    Solaris OS
    root/opt/SUNWappserver/opt/sges-v3-prelude
    Solaris OS,
    Linux
    user~/SUNWappserver~/sges-v3-prelude
    Linuxroot/usr/local/SUNWappserver/usr/local/sges-v3-prelude
  3. In the application server installation directory, run the uninstall.sh file.
  4. At the Summary page, click Uninstall.
  5. After uninstallation completes, click Finish.

To uninstall Apache Tomcat:

  1. Shut down the IDE.
  2. Locate the Apache Tomcat installation directory and run the uninstall.sh file.
  3. At the Summary page, click Uninstall.
  4. After uninstallation completes, click Finish

Mac OS X

To uninstall the IDE and application server:

  1. Shut down the software.
  2. Drag the program folders or files to the Trash.
    Note that the default location for the IDE and application server is /Applications/NetBeans/.

Platform-Independent Package

To uninstall the IDE files, follow the steps described in the Cleaning Up After Incomplete Installations section of this document.

Upgrading and Coexisting with Previous Versions

NetBeans IDE 5.x, 6.0, 6.1, and 6.5 can coexist with NetBeans IDE 6.7.1 on the same system. You do not have to uninstall the previous versions in order to install or run NetBeans IDE 6.7.1.

If you have NetBeans IDE 5.x, 6.0, 6.1, or 6.5 installed you will be able to choose whether or not to import the user settings from the existing user directory when you run NetBeans IDE 6.7.1 for the first time.

Troubleshooting

About the Installer Working Directory

The installer stores data about installation sessions in the installer working directory. Examples of this data are the list of components installed on your system, installation log messages, and registry data.

The default location for the installer working directory is %USERPROFILE%.nbi on Windows and ~/.nbi on other platforms. The log subdirectory contains the installation log files.

Cleaning Up After Incomplete Installations

After incomplete or unsuccessful installations, you might need to clean up your system from previous installations.

For Microsoft Windows, Solaris OS, and Linux:

  1. Delete the installer working directory.
  2. Delete the installation directories of the IDE and the GlassFish application server.
  3. On the Windows platform, delete all nbi* registry entries from the following registry keys:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
    HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionUninstall

For Mac OS X:

  • Drag the program folders or files to the Trash.

Disabling Some Software Before Installation

It is better to disable firewall, antivirus, and monitoring applications before you start installation. Some of these applications can prevent IDE components from being configured correctly during the installation process.

For example, if you have the Logitech Process Monitor application (LVPrcSrv.exe) running on your system, switch it off before installation.

More Information



JDK for Mac ReadMe

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:

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

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.

Java Jdk 6 Mac Os X Download

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.

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.

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.

Jdk 6 Mac Os X Download

Locate the JAR file you want to run.

Type

Jdk 6 Mac Os Download Torrent

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.

Comments are closed.