Dracot Molver
Dracot Molver

Reputation: 21

root path glassfish v4 eclipse luna

I had just installed eclipse luna and I use the marketplace to install oracle package to use glassfish v4.0. Everything went ok but when I'm trying to install it they still show me an error at the server root path (Error: The specified directory is not a valid GlassFish installation.)...I don't know why? this happen even giving it a path. have anyone resolve this issue?.

Upvotes: 1

Views: 5517

Answers (3)

suketup
suketup

Reputation: 469

First Download full platform from https://glassfish.java.net/download.html

Unzip it.

At the window you read this error, go to the browse for server root and find the glassfish folder inside your unzipped folder. Click on it and your error will be gone.

Upvotes: 0

straville
straville

Reputation: 1016

Possible duplicate of How do I use Glass fish server with eclipse luna for Java EE?

However, you need to specify the "glassfish" folder under the extracted GlassFish files, for example ...\glassfish4\glassfish

Upvotes: 0

Michael Szczepaniak
Michael Szczepaniak

Reputation: 2100

I got caught by this trying to following along with the Lynda.com tutorial on web services with Java EE. You need to download and install Glassfish and then point the server root to the glassfish directory. Here are the steps I took:

  1. download glassfish from here: https://glassfish.java.net/download.html
  2. unzip the zip file: this is essentially the install step
  3. navigate into the installation to the glassfish folder: this what you point eclipse to

The high level answer is here: How do I use Glass fish server with eclipse luna for Java EE?

Upvotes: 4

Related Questions