(Java) How to Install GlassFish Application Server on Windows XP
Submitted by guru on Fri, 01/02/2009 - 10:56
Java : How to Install GlassFish Application Server on Windows XP
- First, you must have Java SDK installed on your Windows
XP.
(About Java SDK installation, In Indonesia Version, you can go here). - Download the latest GlassFish Application Server from
https://glassfish.dev.java.net/public/downloadsindex.html
It’s about 60-70MB file size. - After finish, you’ve got file called (for example)
glassfish-installer-v2ur2-b04.jar - Move file
glassfish-installer-v2ur2-b04.to C:\jar - Open the CMD prompt. Start–>Run..–>(type) cmd
Something like this: - execute glasshfish file. First, in CMD prompt, go to C:\then type:
java -Xmx256m -jar glassfish-installer-v2ur2-b04.
jar - Then soon will arrive window about glassfish licence.Scroll down, then click accept. Check the enable autoupdate is not wrong.
- Installation process begin….
- Installation finish after arise sentence “installation
complete“
on CMD window. - then, you have new directory, called “glashfish”
C:\glassfish - Is the instalation is finish? The answer is NOT YET.
We must activate thesetup.xmlin the glassfish directory
We use “ant” for build it. - In the CMD, go to
C:\glassfish\
(In this tutorial, I assume that my pc was installed ant before)
(If your pc is not yet, ant will found in glassfish directory,
inC:\glassfish\lib\ant\bin) - then, in th CMD type:
ant -f setup.xml
then hit enter
cmd-setup-ant
- …..build
setup.xmlis begin. Wait for seconds… - If you Windows Security Alert arise, just click Unblock :)
- Wait until build process is finish.
When build process is finish, it will be arise sentence something like:
BUILD SUCESSFUL(depend on your pc’s velocity)
Total time: 40 seconds - Now glassfish application server is well installed:)
- Wanna check?…OK let’s check our new server:)
- Go to
C:\glassfish\bin
Then type: asadmin start-domain domain1wait for seconds..
- Open your browser, type: http://localhost:8080/
- Installation complete!!! :)
cmd-awl
cmd-install-jar
gf-license
cmd-instalsi-finish
pic-unblock
sukses1crop
- guru's blog
- Login to post comments
