jeddict icon indicating copy to clipboard operation
jeddict copied to clipboard

NetBeans 9 installation issue

Open hantsy opened this issue 7 years ago • 8 comments

I followed in the installation guide and try to install Jeddict plugin via NetBeans 9 update url, but failed.

When I tried to install Jakarta EE, and got the following info in the netBeans dialog.

Some plugins require plugin JAXB 2.2 Library to be installed.
The plugin JAXB 2.2 Library is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE 
Some plugins require plugin Java EE Core Utilities to be installed.
The plugin Java EE Core Utilities is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE 
Some plugins require plugin Maven Embedder to be installed.
The plugin Maven Embedder is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE 
Some plugins require plugin Maven Editor Model to be installed.
The plugin Maven Editor Model is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE 
Some plugins require plugin Maven Projects to be installed.
The plugin Maven Projects is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE 
Some plugins require plugin JAX-WS 2.2 Library to be installed.
The plugin JAX-WS 2.2 Library is requested in implementation version incubator-netbeans-release-334-on-20180708.  The following plugin is affected:       Jakarta EE  Some plugins not installed to avoid potential installation problems.

For get Java EE support, I also added NetBeans 8.2 update url as suggested in the Apache NetBeans blog.

hantsy avatar Aug 26 '18 13:08 hantsy

Can you confirm the IDE build number ? It should be latest Apache NetBeans build : incubator-netbeans-release-334-on-20180708

jGauravGupta avatar Aug 26 '18 17:08 jGauravGupta

I was using the Apache NetBeans 9 release version.

hantsy avatar Aug 27 '18 02:08 hantsy

A copy from my NetBeans about dialog.

Product Version: Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
Runtime: Java(TM) SE Runtime Environment 10.0.2+13
System: Windows 10 version 10.0 running on amd64; Cp1252; en_us_UTF8 (nb)
User directory: E:\Users\hantsy\AppData\Roaming\NetBeans\9.0
Cache directory: E:\Users\hantsy\AppData\Local\NetBeans\Cache\9.0

hantsy avatar Aug 27 '18 02:08 hantsy

@hantsy Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708) can not use Java 10. Only 9 or 8. Solution is install either Java 8 from OpenJDK or Java 9 from https://adoptopenjdk.net/?variant=openjdk9&jvmVariant=hotspot and edit your file: c:\installation_path\etc\netbeans.conf and add uncomment the line:

#netbeans_jdkhome="/path/to/jdk"

as to point to your JAVA_HOME

SamSharaf avatar Oct 18 '18 23:10 SamSharaf

Hi @SamSharaf,

Java 11 an LTS release have you tried using it with NetBeans IDE 9.0.

jGauravGupta avatar Oct 19 '18 03:10 jGauravGupta

@SamSharaf I switched to Jddict/NetBeans package bundle and got it work temporarily.

hantsy avatar Oct 25 '18 12:10 hantsy

@jGauravGupta Apologies for the late reply. Although I understand that the current Jeddict version 5.2 is only for incubator-netbeans-release-334-on-20180708, I pushed my luck with the latest successful build in the incubator. Here is a detailed reproduce steps for what I did yesterday:

  1. I checked out the commit ID 2b64e72228a20afad82953cf64c525bcb04a1371 pointing to the latest Jenkins successful build 939 on linux

  2. Edited the file: cluster.properties, to add nb.cluster.enterprise as follows: clusters.config.release.list= ${clusters.config.java.list}, nb.cluster.apisupport, nb.cluster.webcommon, nb.cluster.php, nb.cluster.groovy, nb.cluster.enterprise, nb.cluster.ergonomics

  3. On MacOS 10.13.6 and JAVA_HOME pointing to java version "1.8.0_192" and Ant version 1.10.5 invoked the following: ant -Dcluster.config=release

  4. After a successful build, I updated the file incubator-netbeans/nbbuild/netbeans/etc/netbeans.conf with JDK 11 as follows: netbeans_jdkhome="PATH_TO/oracle64-11.0.1"

  5. The Netbeans about window shows as attached: image

  6. Also, installed the Java SE and EE plugins as attached: image

  7. Also added the Jeddict in the plugins update center as attached: image

  8. Finally tried to install Jeddict and got the negative result as attached: image

I hope this helps!

SamSharaf avatar Dec 16 '18 22:12 SamSharaf

For those concerned about their beloved plugin Jeddict:

The fix is on its way according to this issue comment

Happy holidays to the lead and rightful owner @jGauravGupta

SamSharaf avatar Dec 26 '18 03:12 SamSharaf