Hi, In my NB platform application I use annotations to have a unique
TopComponent always opened at startup and not closable by user:
...
@TopComponent.Description( preferredID = "MixConsoleTopComponent",
persistenceType = TopComponent.PERSISTENCE_ALWAYS
)
Thanks for your input everybody!
I was hoping I could just tell NB to run the ant command with
the Java8 JAVA_HOME or any of those variables or properties.
I also tried modifying the bin/ant in
NetBeans/netbeans/extide/ant
to get an export JAVA_HOME
but nothing helped.
So got the 4 jars from
He’s using ant.
tom
On Jan 28, 2022 at 10:02:03 AM, Lister Jonathan
wrote:
> Hi Scott,
> we build against both JDK 8 and JDK 11 versions and manage the JAXB issue
> by adding this to our Maven pom.xml
>
>
>
> javax.xml.bind
> jaxb-api
>
Hi Scott,
we build against both JDK 8 and JDK 11 versions and manage the JAXB issue by
adding this to our Maven pom.xml
javax.xml.bind
jaxb-api
runtime
Hope this helps.
From: Scott Palmer
Sent: 28
Yes it was Java 11. It was a bit of a disaster how they dropped JAXB.
It was a JPMS module in JDK 10, and then suddenly that wasn’t possible - you
couldn’t get it back by using jlink to build a JRE that looked like the one
from JDK 10. I can’t remember exactly which jar it was but basically
I think JAXB stopped being included with the JDK somewhere around JDK 11.
You should find the JAXB jar files on the ’net (I got them from maven
central) and include them in your project’s class path . At least that’s
what I did - I also have an ant based project. The files I use for all my
Hello,
I'm back to my problem that has hindered me updating to
any Netbenas after 8.2...
My Application (ear, ejb, war) is still on JDK 8 with
an ant build.
When I start NB 12.6 with JDK8 runtime, all is fine with
the application.
But I can't edit; the editor has strange behaviour and
reports