Glassfish Server Netbeans Download For Mac
This document describes how to install the NetBeans IDE with the GlassFish and MySQL bundle on your system.
Contents
- Installing the Software
Required Software
Before you install the NetBeans IDE with the GlassFish and MySQL bundle, the Java SE Development Kit (JDK) 5 Update 14 (version 1.5.0_14) or newer (including JDK 6 Update 4) must be installed on your system. If you do not have an installation of JDK 5 Update 14 or newer, you cannot proceed with the installation. For more information about the required JDK version, see the Required Software section in the NetBeans IDE 6.1 Release Notes.
The Java EE 6 SDK is based on GlassFish Server Open Source Edition, and for those interested in exploring the details of the Java EE 6 Reference Implementation the source code is available. This includes schools, universities, companies, and individuals who want to examine the source code for personal interest or research & development.
Supported Platforms
The NetBeans IDE with the GlassFish and MySQL bundle has been tested on the following platforms:- Windows XP, Vista (x32)
- Linux Ubuntu 7
- Solaris OS version 10 (x86, sparc)
- Mac OS X 10.4, 10.5 (x86)
Starting the Download
- Navigate to the NetBeans IDE with the GlassFish and MySQL tools bundle Download page.
- Chose your platform and click the Download button below.
- Save the installer file to your system.
Installing the Software
Follow the instructions in this section to install the NetBeans IDE with the GlassFish and MySQL bundle on your system. These installation instructions apply to all supported platforms.
Microsoft Windows, Solaris OS, and Linux
To install the software:
- After the download completes, run the installer file:
- For Windows, the installer executable file has the .exe extension. Double-click the installer file to run it. You need to have Administrator privileges to install the bundle.
- 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>
- On the Welcome panel, choose the components to install. Select the checkbox next to the required component. The following option are available:
- GlassFish V2 UR2
- MySQL 5.0 Community Server
- On the License agreement panel, review the license agreement, select the acceptance checkbox, and click Next.
- At the NetBeans IDE Configuration panel, proceed as follows::
- Specify the installation directory for the NetBeans IDE. Accept the default setting 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. - Specify the path to the JDK to use with the NetBeans IDE. Accept the default setting or select a different location 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. - Click Next.
- Specify the installation directory for the NetBeans IDE. Accept the default setting or specify another directory.
- If you did not choose to install the GlassFish application server in step 2, skip this step. Otherwise, on the GlassFish Application Server Installation and Configuration panel, do the following:
- Specify the installation directory for the application server: accept the default setting or browse to 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. - 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.
- 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. - Verify the default port values (HTTP, HTTPS, and Admin) for the application server or change them if necessary.
- Click Next.
- Specify the installation directory for the application server: accept the default setting or browse to another installation directory.
- If you did not choose to install the MySQL 5.0 Community Server in step 2, skip this step. Otherwise, on the MySQL 5.0 Community Server Installation, do the following:
- Specify the installation directory for the database server: accept the default setting or select another directory.
- To specify a password for the root user, make sure that the Modify Security Settings checkbox is enabled. Then type a password in the Root Password edit box and confirm the password in the Retype Password edit box.
Note: The root is the user who has full access to processing databases on the installation of the MySQL database server. By default, the root user's password is empty. - To create an Anonymous account, select the relevant checkbox.
- To enable accessing the MySQL 5.0 Community Server from another machine, select the Enable TCP/IP Networking checkbox.
- Specify the port number which the MySQL Server installation will use for connections. The default setting is 3306.
- Click Next.
- 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.
- Click Install to begin the installation.
- When the installation is completed:
- If the GlassFish application server has been installed, you can register it. For this, select the Register the GlassFish and NetBeans IDE after finishing the installer checkbox.
- If the GlassFish application server has not been installed, select the Register the NetBeans IDE after finishing the installer checkbox to register the NetBeans IDE.
- Click Finish to exit the wizard.
- If you selected the Register.. checkbox at the previous step, the Registration page opens in the browser. Click Register.
- Enter your Sun Online Account or create it on the www.sun.com page, which is accessible via a link.
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.
Note: If you have not registered the GlassFish application server right after the installation, you can do it when you run the NetBeans IDE or open the Admin console of the GlassFish application server.
Note: If you have not registered the NetBeans IDE 6.1 right after the installation, you can do it when you run the NetBeans IDE.
Mac OS X
To install the software:
- After the download completes, run the installer. The installer file has the .dmg extension.
- On the panel that opens click the package icon. The package has the .mpkg extension. The installation wizard starts.
- At the Welcome page of the installation wizard, click Continue.
- Review the license agreement and click Continue. Click Accept in the pop-up window to accept the license.
- At the Select a Destination page, select the drive and click Continue.
- To customize your installation, click the Customize button in the bottom left-hand side of the last installation wizard panel. The list of products is displayed.
- Select the products you want to install and complete your installation.
- Enter the administrator's name and password for your system and click OK to begin the installation.
- To specify additional settings, follow the instructions on http://dev.mysql.com/doc/refman/5.0/en/post-installation.html.
Uninstalling the Software
Microsoft Windows
If necessary, you can uninstall the NetBeans IDE with the GlassFish and MySQL bundle using the following procedures.
To uninstall the IDE:
- Shut down the IDE.
- From the Control Panel, select Add or Remove Programs, then select NetBeans IDE 6.1 and click Remove.
- To uninstall GlassFish/MySQL together with the IDE, on the Summary panel make sure that the correct versions are listed and check the appropriate checkboxes
To uninstall the GlassFish application server:
- Shut down the IDE.
- From the Control Panel, select Add or Remove Programs, then select GlassFish V2 UR2 and click Remove.
To uninstall the MySQL 5.0 Community database server:
- Shut down the IDE.
- From the Control Panel, select Add or Remove Programs, then select MySQL 5.0 Community database server, and click Remove.
Solaris OS, Linux
If necessary, you can uninstall the NetBeans IDE, the GlassFish application server, and MySQL server using the following procedures.
To uninstall the IDE:
- Shut down the IDE.
- In the IDE installation directory, run the uninstall.sh file.
- To uninstall GlassFish/MySQL together with the IDE, at the Summary page make sure that the correct versions are listed and check the appropriate checkboxes.
- At the Summary page, click Uninstall.
- After uninstallation completes, click Finish.
To uninstall the GlassFish application server:
- Shut down the IDE.
- 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.
Platform Installing As.. SOA Installation Solaris OS root /opt/glassfish-v2ur2 Solaris OS,
Linuxuser ~/glassfish-v2ur2 Linux root /usr/local/glassfish-v2ur2 - In the application server installation directory, run the uninstall.sh file.
- At the Summary page, click Uninstall.
- After uninstallation completes, click Finish.
Mac OS X
To uninstall the IDE and application server:
- Shut down the software.
- Drag the program folders or files to the Trash.
Note that the default location for the IDE and application server is /Applications/NetBeans/.
To uninstall the MySQL 5.0 Community database server:
- Shut down the software.
- Remove the following:
- /usr/local/mysql-VERSION
- the /usr/local/mysql symbolic link
- /Library/StartupItems/MySQLCOM
- Package Receipt directories in /Library/Receipts/mysql.pkg and /Library/Receipts/mysqlstartup.pkg
Upgrading and Coexisting with Previous Versions
NetBeans IDE 5.5 or 5.5.1, or 6.0 can coexist with NetBeans IDE 6.1 on the same system. You do not have to uninstall the 5.5 or 5.5.1, 6.0 versions in order to install or run NetBeans IDE 6.1.
If you have NetBeans IDE 5.5, 5.5.1, or 6.0, during the first run of NetBeans IDE 6.1, you will be able to choose whether to import user settings from the previous user directory.
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.
ADI 198X INTEGRATED HD AUDIO DRIVER FOR MAC DOWNLOAD - Supported Operating Systems Windows 7, bit. Software Free Download Soft Some jurisdictions do not allow limits on the duration of an implied warranty, so. ANALOG DEVICES ADI 198X INTERGRATED AUDIO DRIVER FOR MAC DOWNLOAD - Adi Systems Analog Devices Adi 198x Integrated Audio Driver Download I ran through a horrible time trying to get sound drivers working the challenges analo.
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:
- Delete the installer working directory.
- Delete the installation directories of the IDE and the GlassFish application server.
- 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
This section provides instructions for installing GlassFish v2 distributionand for installing the load balancing plug-in for GlassFish v2. This distributiondoes not support upgrades or patching.
To Install GlassFish Application Server
Before You Begin
Get JDK (Java SE Development Kit) 5 or higher from http://java.sun.com/javase/, if you are using Solaris,Linux, or Windows.
If you are using Mac OS X, you need to download JDK 5 (supported onMac OS X 1.4 or later) from http://www.apple.com/support/downloads/java2se50release3.html andmake JDK 5 the default JVM.
If you are using AIX, download JDK 5 from: http://www.ibm.com/developerworks/java/jdk/aix/service.html.
Download the GlassFish v2 distribution https://glassfish.dev.java.net/public/downloadsindex.html.
Set the environment variable JAVA_HOME to pointto the directory in which JDK 5 is installed.
Run the following command:
java -Xmx256m-jar <filename>.jar
Set ANT_HOME to point to the ant 1.6.5 installation,which is at <downloaded-dir>/glassfish/lib/ant directory.
Navigate to the glassfish directory:
cd glassfish
If you do not want clustering capabilities, run the followingcommand:
ant -f setup.xml
If you want to use GlassFish with clustering, change the commandto:
ant -f setup-cluster.xml
Use the Admin Console or Update Center to register your installationof GlassFish. Start GlassFish using the instructions at Starting the Server in Sun Java System Application Server 9.1 Quick Start Guide.
To Install the Load Balancing Plug-in (standalone)
Use the procedures in this section if the load balancing plug-in isnot part of the Application Server distribution you are using. If you are usingthe Sun Java System Application Server 9.1 (bundle with HADB), see To Install Application Server 9.1 Update 1 with HADB forinstructions for installing the load balancing plug-in.
The load balancing plug-in is not currently bundled with the GlassFishv2Application Server. If you want load balancing capabilities, you can downloadthe load balancing plug-in from the following locations:
Solaris (SPARC): http://download.java.net/javaee5/external/SunOS/aslb/jars/
Solaris (x86): http://download.java.net/javaee5/external/SunOS_X86/aslb/jars/
Linux: http://download.java.net/javaee5/external/Linux/aslb/jars/
Windows: http://download.java.net/javaee5/external/WINNT/aslb/jars/
Mac OS: http://download.java.net/javaee5/external/Darwin/aslb/jars/
AIX: http://download.java.net/javaee5/external/AIX/aslb/jars/
Before you install the load balancer plug-in, ensure that youhave installed a supported web server. For a list of supported web servers,see Web Servers in Sun Java System Application Server 9.1 Update 1 Release Notes.
Create the lbplugin directory within <glassfish_install_dir>/lib.
Unjar this file in the lbplugin directory.Run the following command: jar -xvf <lbplugin>.jar.
Unzip the following two files: SUNWaslb.zip and SUNWaspx.zip in the same directory. Delete the zip files.
Change permissions on all shared libraries within lbplugin directory.Run the following command: chmod -R 755 ${glassfish.home}/lib/lbplugin/lib.
Create a configuration for the load balancer. See Setting up Load Balancing in Sun Java System Application Server 9.1 Quick Start Guide.
Restart the Web Server after creating a configuration for theload balancer.
Next Steps
You need to configure Web Server for load balancing. For detailed instructionson manually configuring Web Server for load balancing, see Configuring Sun Java System Web Server in Sun Java System Application Server 9.1 High Availability Administration Guide.