Bug#925509: netbeans: Netbeans not usable with java in Buster
Jochen Sprickerhof
jspricke at debian.org
Fri May 3 12:47:10 BST 2019
Hi Markus,
* Jochen Sprickerhof <jspricke at debian.org> [2019-05-02 23:05]:
>The other option is to fix the nb-javac-9-(api|impl).jar. Starting the
>upstream version of netbeans results in the same error for nb-javac
>and let's you download
>~/.netbeans/10.0/modules/ext/nb-javac-(api|impl).jar. Placing those in
>/usr/share/netbeans/java5/modules/ext (and renaming them), results in
>a working Netbeans for me as well. There are some classes missing in
>the Debian jars, do you know how to get them compiled in? (I can have
>a look what exactly tomorrow).
This is due to libnb-javaparser-java which is still on the jdk-9
version. The sources of it moved to:
http://hg.netbeans.org/main/nb-java-x
as mentioned here:
https://issues.apache.org/jira/browse/NETBEANS-802
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+10.0+New+and+Noteworthy
Build instructions are here:
https://cwiki.apache.org/confluence/display/NETBEANS/nb-javac+releases
I was able to get a working netbeans using:
hg checkout 57251:8af81d06fdf5
in the nb-java-x repo.
So one way would be to get this packaged (maybe rename nb-javac-9-*.jar
to nb-javac-11-*.jar) and convince the release team to include include
this into buster.
An other option may be to drop the nb-javac.patch and reopen #920707.
According to:
https://cwiki.apache.org/confluence/display/NETBEANS/Java+Editor+Using+JDK+javac
https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac
Netbeans should work without nb-javac (but I really tried it). This
would trade the #925509 rc bug against a normal bug and we would be able
to release with buster.
What do you think?
Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190503/e7e204ef/attachment.sig>
More information about the pkg-java-maintainers
mailing list