Eclipse Foundation Member
GlassFish Tools

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7)
Photon (4.8)
2018-09 (4.9)
2018-12 (4.10)

Neon (4.6)

Mars (4.5)

Luna (4.4)

Kepler (4.3)

Juno (4.2, 3.8)

Learn more...

Details Group Tabs


Tools for developing applications for GlassFish.

  • Integrates with Eclipse Web Tools.
  • Supports GlassFish 4 and 3.1.

These features are also part of Oracle Enterprise Pack for Eclipse (OEPE).

IMPORTANT: Please consult the following table regarding the minimum version of Java required to run GlassFish Tools.

  • Oxygen - Java 8
  • Neon - Java 8
  • Mars - Java 8
  • Luna - Java 8
  • Kepler - Java 7
  • Juno - Java 6

Even if the correct version of Java is installed, Eclipse may find an earlier version upon launch, if it exists somewhere else on the system. To verify the version of Java that Eclipse is using, go to Help -> About -> Installation Details -> Configuration.

If you find that Eclipse is using a wrong Java install, edit eclipse.ini file and add the following two lines to the start of the file:

-vm [path-to-jre]

Additional Details
Eclipse Versions: 
Oxygen (4.7), Photon (4.8), 2018-09 (4.9), 2018-12 (4.10), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Date Created: 
Fri, 2015-05-01 12:05
Development Status: 
Date Updated: 
Tue, 2018-11-27 10:24
December 201874/863407 (0.24%)14
November 201881/9391304 (0.21%)32
October 201878/9431406 (0.22%)33
September 201868/9411467 (0.28%)34
August 201867/9391486 (0.29%)34
July 201866/9401631 (0.3%)45
June 201857/9471807 (0.36%)59
May 201857/9541886 (0.34%)27
April 201855/9461998 (0.36%)27
March 201849/9612221 (0.4%)15
February 201851/9401806 (0.39%)23
January 201853/9451930 (0.38%)28
View Data for all Listings
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for GlassFish Tools.

HTML Code:

Markdown Syntax:

Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Sunday, December 9, 2018 - 07:12
sdoodkin's picture

found there is oracle archive for bundles of all Oracle tools for eclipse.

the last version that supports glassfish 2.1 - is - March 2013.

remove star from url

I downloaded then in to the new version of eclipse 2018-09 - 4.9 I installed from the repository only glass fish tools - and it worked

mwellink's picture

Im trying to add the plugin in eclipse photon, but I got an error: "the following solutions are not available: Glassfish Tools" and I dont know what is going wrong

avolcich's picture

I'm having the same problem. Quits unexpectedly. I'm using Eclipse for Java EE 4.9

Please troubleshoot!

sqiu8s4's picture

I met the same problem too! Are there any solutions?

tkernstock's picture

Hi Konstantin,

the new versions of payara changed the way the use the validation apis. When I try to change my project from Payara 171 to 174 my projects wont compile because the javax.validation and org.hibernate.validator classes are not found. Checking the Systemclasspath of my Glassfish runtime I can't find the validation-api.jar and hibernate-validator-payara-p1.jar which are in modules. Even if I rename validation-api.jar to bean-validator.jar it is added to zhe classpath!

When I deploy my project on the new server it works perfectly, so I guess this is just a matter of adding the jars to the Glassfish System Classpath.



vorozco7g2's picture

Altough Eclipse Oxygen offers support for Java 9. If this plugin is used in Oxygen 1a install with JDK 9, Glassfish will fail with:

An internal error occurred during: "Stopping GlassFish 4 [domain1]".
Can't find bundle for base name sun.util.logging.resources.logging, locale

I've tested it with Glassfish and Payara, and I also can confirm that it works with JDK 8, however I'm not sure if this is the right place to report the bug, I did it through Eclipse automatic error reporting too.

Glassfish server by itself will indeed run, but you won't be able to see server's log.

jgayosocabada's picture

I have the same problema as you. I can't log my glassfish.

kkomissarchik's picture

Thanks for the problem report. We will investigate this issue.

ffrech's picture

Will there be support for Glassfish 5 in the future.

kkomissarchik's picture

Yes, GF 5 support is coming, but there is no concrete timeline that we can share at the moment.

asalvanos's picture

Hello Konstantin,

how are things going. When will you have a timeline? Is it possible to get preliminary versions?

Best Regards,




olippert's picture

The Plugin itself works. But there is one thing that makes docker not working.

As of the Docker-Container is a kind of a remote server, I just specify the lokal glassfish as the environment, and then need to set admin user, admin pw, admin port and debug port. But the Add On just provides the "normal" domain-path setting for "localhost". Then I tryed adding a new hostname to hosts file, but that did not work too. As soon as the Add On knows, that the given domain / IP resolvs to the local host, there is just the one way: Domain path! And that doesn't work with docker.


Would be nice if that would be supported too

spanigrahis05's picture

VM is pointing to jre8. Still GlassFish server not appearing.

rluojge's picture

The adapter can be installed successfully with a problem. Once it is installed, Eclipse restarted, the GlassFish is still not in the list when you try to add GlassFish as a server. My Eclipse Mars2 works fine with WebSphere and JBoss adapters.

kkomissarchik's picture

GlassFish Tools for all recent versions of Eclipse requires Java 8 to run. Unfortunately, the Marketplace does not enforce this, but the Java requirements for all support Eclipse versions is listed in the description.

aguerrero7vq's picture

Hi, i have installed Version: Mars.2 Release (4.5.2). And when i try the Glassfish tools, i have this message from the marketplace:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,,
No repository found containing: org.eclipse.update.feature,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,

someone else has this problem ?

kkomissarchik's picture

I was able to install GlassFish tools into a Mars.2 Java EE distro just now. This type of error indicates a network issues. Typically these are intermittent as Eclipse was able to get part way through the installation sequence before failing. So try again. If you are seeing this issue consistently, post on the support forum. We will need to gather more information regarding your setup and network configuration.

mcrippa's picture

Same problem here, with Mars.2 Release (4.5.2).

jarndt5i6's picture

I have plug-in 8.5.1 installed. I was able to assign GlassFish Server Open Source Edition 4.1 by selecting ..\glassfish4\glassfish as installation directory. "glassfish4" is not recognized!
Does this solve your problem?

gmisingname8u1's picture

I wasted hours today trying to get Eclipse Mars to work with Glassfish 4.1. I can only reason that the adapter doesn't exist yet for this combination. Thanks Eclipse!

kkomissarchik's picture

Could you post details of issues you are running into on the support forum? GlassFish 4.1 is definitely supported.

ekanat's picture

just a waste of time