# Install glassfish with Homebrew

Java EE application server. Version 8.0.3 via Homebrew; verified 2026-06-11.

## Install

```sh
sudo av install brew:glassfish
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install glassfish
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:glassfish
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/glassfish>
- **Version:** 8.0.3
- **Source summary:** Java EE application server
- **Homepage:** <https://glassfish.org/>
- **Repository:** <https://github.com/eclipse-ee4j/glassfish>
- **Upstream docs:** <https://glassfish.org/documentation>
- **License:** EPL-2.0
- **Source archive:** <https://download.eclipse.org/ee4j/glassfish/glassfish-8.0.3.zip>
- **Last updated:** 2026-06-11T20:39:28-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- asadmin (cli)
- asadmin.java (cli)
- debug-asadmin (cli)
- startserv (cli)
- stopserv (cli)
- asadmin (alias)
- asadmin.java (alias)
- debug-asadmin (alias)
- startserv (alias)
- stopserv (alias)

## Dependencies

- openjdk@25

## Install behavior

- Post-install hook: not defined
- Caveats: You may want to add the following to your .bash_profile: export GLASSFISH_HOME=$HOMEBREW_PREFIX/opt/glassfish/libexec
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 8.0.3
- Package-manager updated: 2026-06-11
- Local data: ok
- Upstream repository: https://glassfish.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Eclipse GlassFish is the community application server that implements Jakarta EE and carries the GlassFish lineage from the Java EE reference implementation into the Eclipse EE4J era. It is a full server distribution, an embedded runtime, a compatibility target, and a development environment for enterprise Java applications.

### Project history

GlassFish originated in the Sun and Oracle Java EE ecosystem as the open-source application server associated with the platform reference implementation. The Eclipse proposal for GlassFish records the 2018 transition of Oracle Java EE 8 and GlassFish technologies into the Eclipse Foundation under EE4J.

Under Eclipse, the project became Eclipse GlassFish, a Jakarta EE-compatible implementation owned by the Eclipse Foundation and maintained by the community. The repository keeps the server, web profile, embedded distributions, tests, build profiles, documentation, and release notes together around the Jakarta EE compatibility matrix.

### Adoption history

GlassFish has significance beyond a normal application server because it served as the proving ground for Java EE and then Jakarta EE compatibility. Application developers, framework authors, and specification implementers use it as an open implementation to test APIs, deploy sample applications, and inspect server behavior against the platform TCKs.

### How it is used

Practitioners install the distribution, start a domain with asadmin, deploy WAR or EAR applications, use the administration console, run clustered or embedded deployments, and build from source when they need to test server changes. The Homebrew formula exposes the traditional command-line surface, including asadmin, startserv, and stopserv.

### Why package nerds care

For package maintainers, GlassFish is a large Java distribution with server profiles, Maven artifacts, Docker images, embedded jars, generated documentation, and compatibility-sensitive release lines. It also bridges old Java EE naming and Jakarta EE naming, which matters when packaging libraries and examples that target a specific platform generation.

### Timeline

- 2018: Eclipse GlassFish proposal is published as part of the transition of Oracle Java EE 8 and GlassFish technologies to Eclipse.
- 2020: GlassFish 6.0.0 is released from the Eclipse repository generation.
- 2021: GlassFish 6.1 and 6.2 track Jakarta EE 9.1 compatibility.
- 2020s: The README maps GlassFish 5.1 through 8.0 to Java EE and Jakarta EE platform generations.

### Related projects

- Jakarta EE, Eclipse EE4J, Java EE, Open MQ, HK2, Maven Central, TCKs.

### Sources

- <https://api.github.com/repos/eclipse-ee4j/glassfish/releases?per_page=100>
- <https://glassfish.org/documentation>
- <https://projects.eclipse.org/proposals/eclipse-glassfish>
- <https://raw.githubusercontent.com/eclipse-ee4j/glassfish/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for glassfish. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: domain-dir/config/domain.xml, as-install/lib/templates/domain.xml, asenv.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** glassfish
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** payara
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk@25](https://www.automicvault.com/pkg/brew/openjdk-25/) - Runtime dependency declared by Homebrew.
- [payara](https://www.automicvault.com/pkg/brew/payara/) - Shares av.db curated category or tags: application-server, cli, developer-tools, jakarta-ee, java.
- [tomee-plus](https://www.automicvault.com/pkg/brew/tomee-plus/) - Shares av.db curated category or tags: application-server, cli, developer-tools, jakarta-ee, java.
- [tomee-webprofile](https://www.automicvault.com/pkg/brew/tomee-webprofile/) - Shares av.db curated category or tags: application-server, cli, developer-tools, java.
- [uwsgi](https://www.automicvault.com/pkg/brew/uwsgi/) - Shares av.db curated category or tags: application-server, cli, developer-tools.
- [jdtls](https://www.automicvault.com/pkg/brew/jdtls/) - Shares av.db curated category or tags: cli, developer-tools, eclipse, java.
- [jetty](https://www.automicvault.com/pkg/brew/jetty/) - Shares av.db curated category or tags: cli, developer-tools, jakarta-ee, java.
- [airtable-mcp-server](https://www.automicvault.com/pkg/brew/airtable-mcp-server/) - Shares av.db curated category or tags: cli, developer-tools, server.
- [amdatu-bootstrap](https://www.automicvault.com/pkg/brew/amdatu-bootstrap/) - Shares av.db curated category or tags: cli, developer-tools, java.

## Combined YAML source

View the package source record on GitHub. [combined/glassfish.yml](https://github.com/automic-vault/db/blob/main/combined/glassfish.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
