#

# LAB-7001: Using Eclipse to Develop for the GlassFish Server

Contacts: Davis Nguyen, Rochelle Raccah

Introduction | Exercise 0 | Exercise 1 | Exercise 2 | Summary
### Exercise 0: Download, Install and Test the GlassFIsh Tools Bundle Step 1: Download GlassFish Eclipse Tools with JDK1.6 You can select to download the bits with the jdk bundled or without - except for Mac OS X which doesn't have a JDK bundled version. In this exercise we will download the JDK bundled file. Download the tool bundle from http://download.java.net/glassfish/eclipse On Windows: Select Windows to download. You should download file glassfish-tools-bundle-for-eclipse-<version>.exe On Mac: Select Mac OS X Intel to download. You should download file glassfish-tools-bundle-for-eclipse-<version>.dmg On Linux: Select Linux to download. You should download file glassfish-tools-bundle-for-eclipse-<version>.tar.gz Step 2: Install GlassFish Eclipse Tools Bundle On Windows: double-click on glassfish-tools-bundle-for-eclipse-<version>.exe file, then select your own directory to install the tool; otherwise, the installer will place the GlassFish Eclipse Tools Bundle in directory C:/Program Files/GlassFish-Tools-Bundle-For-Eclipse-<version> On Mac OS: double-click on glassfish-tools-bundle-for-eclipse-<version>.dmg and GlassFish Tools Bundle For Eclipse <version>.pkg. If you have 2 hard drives on your Mac you can select one, but the installer will put the GlassFish Tools Bundle in the /Applications directory On Linux: gunzip and extract the glassfish-tools-bundle-for-eclipse-<version>.tar.gz Step 3: Test the GlassFish Eclipse Tools Bundle On Windows: From the Start menu, select All Programs then GlassFish Tools Bundle for Eclipse <version> ->GlassFish Tools Bundle for Eclipse enter a workspace directory in the Workspace Launcher panel (default: C:\Document Settings\<user-name>\workspace) On Mac: Go to the Applications group, then double-click on the icon for GlassFish-Tools-Bundle-For-Eclipse-<version> enter a workspace directory in the Workpace Launcher panel (default: /User/<user-name>Documents/workspace) On Linux: Go to the directory where you unpacked the glassfish-tools-bundle-for-eclipse-<version>.tar file and execute the command ./eclipse to start the tools bundle Step 4: Register GlassFish Eclipse Tools Bundle The GlassFish Tools Bundle for Eclipse provides a convenient built-in wizard for registration. Registration provides important benefits such as bug updates, screencasts and more. We will register a bit later in exercise 1, so you can choose to Skip Registration on this screen. Back to top Next exercise