Professional Documents
Culture Documents
README
README
0. Prerequisite
===============
GlassFish 4.1 requires Oracle JDK 7 Update 65+ or Oracle JDK 8 Update 5+.
Check http://www.oracle.com/technetwork/java/javase/downloads/index.html to
download the JDK.
1. Installing GlassFish
=======================
2. Starting GlassFish
=====================
The 'asadmin' command-line utility is used to control and manage GlassFish (start,
stop, configure, deploy applications, etc).
To start GlassFish, just go in the directory where GlassFish is located and type:
On Unix: glassfish4/glassfish/bin asadmin start-domain
On Windows: glassfish4\glassfish\bin asadmin start-domain
After a few seconds, GlassFish will be up and ready to accept requests. The default
'domain1' domain is configured to listen on port 8080. In your browser, go to
http://localhost:8080 to see the default landing page.
3. Stopping GlassFish
=====================
4. Where to go next?
====================
If you are new to Java EE, the Java EE Tutorial (see below) is a good way to learn
more. The examples are tailored to run with GlassFish and this will help you get
oriented.
5. Documentation
================
6. Follow us
============
Make sure to follow @GlassFish and @Java_EE on Twitter and read The Aquarium Blog
(https://blogs.oracle.com/TheAquarium) to get the latest news on GlassFish and Java
EE.