madvargas
madvargas

Reputation: 21

Cannot add server glassfish 4.1.2 in netbeans 8.1

When trying to add Glassfish 4.1.2 server in Netbeans 8.1 IDE, I'm getting the following error message:

"Not a valid GlassFish Server installation"

JDK 1.7.0_67 on Windows XP used.

Upvotes: 1

Views: 4985

Answers (2)

khiraide
khiraide

Reputation: 81

Try the following:

  1. Remove any existing GlassFish 4.1.2 instance.
  2. Exit NetBeans.
  3. Rename console-core: cd glassfish412/glassfish/lib/install/applications/__admingui/WEB-INF/lib/ mv console-core-4.1.2.jar console-core-4.1.jar
  4. Start NetBeans.
  5. Add GlassFish 4.1.2 Server Instance back into NetBeans (detected as 4.1).
  6. Rename console-core to its original name: cd glassfish412/glassfish/lib/install/applications/__admingui/WEB-INF/lib/ mv console-core-4.1.jar console-core-4.1.2.jar

Upvotes: 2

Gonzalo Ferreyra
Gonzalo Ferreyra

Reputation: 19

According to the release news, Glassfish 4.1.2 requires JDK 7 u80 or newer:

Minimum JDK required is JDK 7 u80.

Upvotes: 1

Related Questions