Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBeans 9 installation issue #286

Open
hantsy opened this issue Aug 26, 2018 · 8 comments
Open

NetBeans 9 installation issue #286

hantsy opened this issue Aug 26, 2018 · 8 comments

Comments

@hantsy
Copy link

hantsy commented Aug 26, 2018

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.

@jGauravGupta
Copy link
Member

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

@hantsy
Copy link
Author

hantsy commented Aug 27, 2018

I was using the Apache NetBeans 9 release version.

@hantsy
Copy link
Author

hantsy commented Aug 27, 2018

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

@SamSharaf
Copy link

SamSharaf commented Oct 18, 2018

@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

@jGauravGupta
Copy link
Member

Hi @SamSharaf,

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

@hantsy
Copy link
Author

hantsy commented Oct 25, 2018

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

@SamSharaf
Copy link

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants