sdoca
sdoca

Reputation: 8042

Add GlassFish 3.1.2 Runtime to Eclipse Juno

I've recently installed Juno EE Edition and am trying to get my Glassfish 3.1.2.2 (open source edition) server runtime set up.

I installed Glassfish separately via the zip file. My directory looks like:

C:\Servers\glassfish3112\glassfish

In Eclipse, I installed the "Glassfish Java EE Application Server Plugin for Eclipse" which also installed "Oracle Glassfish Server Tools". These are the jars/directories that were added to my plugins directory:

I then went into my Preferences | Server | Runtim Environments to add my Glassfish server. When I choose the above path, I get the error message There is no valid GlassFish installlation in the specified directory. Click the Install Server button to download and install to that directory.

I found this StackOverflow question Glassfish 3.1.2 and Eclipse which indicates that the Marketplace plugin does not work with GF 3.1.2 and gives this link to get the Juno version: http://dlc.sun.com.edgesuite.net/glassfish/eclipse/indigo/plugins/

The latest runtime and tools jars on that site are the ones included in the org.eclipse.datatools.sqltools.db.generic_1.0.0.v201107221520.jar.

Can somebody explain to me what I've done wrong and how to get my runtime set up?

Upvotes: 2

Views: 15338

Answers (1)

Imifos
Imifos

Reputation: 431

You can get the Juno plugin version here: http://dlc.sun.com.edgesuite.net/glassfish/eclipse/juno/

This includes support for GlassFish 3.1.2.2.

Best, TM

PS. Don't forget to uninstall all other Glassfish plugins before installing this one.

Upvotes: 5

Related Questions