How do you uninstall Glassfish Application Server?
I made a mistake in my installation and I want to change the directory of my Glassfish installation.
I just follow below sequence during installation.
- Download the Glassfish V2 jar
- Run below line java -Xmx256m -jar glassfish-installer-v2.1.1-b31g-windows.jar
- Set the GLASSFISH_HOME variable
It says from the document that I saw from the net that there is an uninstall.exe option but I can seem to find one.
Just delete the contents of the directory to which glassfish was installed. You might also check for a file named .glassfish in your home directory, or something similar, and delete that as well.
I’ve worked with glassfish quite a bit and have never had problems removing it this way, though I can’t say whether it is the ‘official’ way to do it.