Hi,

Is there documentation somewhere that says JavaHelp is not available? I don’t 
see any mention of JavaHelp missing in 11.x on this link: 
https://netbeans.apache.org/wiki/DevFaqHelpGuidelines.asciidoc 
<https://netbeans.apache.org/wiki/DevFaqHelpGuidelines.asciidoc>


The reason I ask is that in 11.3 I can happily create a ‘Java Help Set’ for my 
module and the wizard creates all the necessary files and module..leading me to 
believe everything is ok.

However, when I try to build the module I get the following exception when 
building using NetBeans 11.3 with OpenJDK 11.


An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.NoClassDefFoundError: com/sun/java/help/search/Indexer
        at 
org.netbeans.modules.javahelp.HelpSetRegistrationProcessor.handleProcess(HelpSetRegistrationProcessor.java:142)
        at 
org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:104)
        at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:980)
        at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:896)
        at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1222)
        at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1334)
        at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1258)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:936)
        at com.sun.tools.javac.main.Main.compile(Main.java:311)
        at com.sun.tools.javac.main.Main.compile(Main.java:170)
        at com.sun.tools.javac.Main.compile(Main.java:57)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1404)
        at org.netbeans.nbbuild.CustomJavac.compile(CustomJavac.java:102)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1133)
        at org.netbeans.nbbuild.CustomJavac.execute(CustomJavac.java:83)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at jdk.internal.reflect.GeneratedMethodAccessor118.invoke(Unknown 
Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
        at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
        at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
Caused by: java.lang.ClassNotFoundException: com.sun.java.help.search.Indexer
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 35 more


Thanks,
- Tim

> On Mar 17, 2020, at 2:32 AM, Geertjan Wielenga <geert...@apache.org> wrote:
> 
> 
> JavaHelp is GPL licensed and has not been donated by Oracle to Apache, so had 
> to be excluded from Apache NetBeans GitHub. So far I don’t think anyone has 
> figured out how it can be reincluded in a NetBeans Platform app, if you 
> manage to do it, would be great if you’d share your findings.
> 
> Gj
> 
> On Tue, 17 Mar 2020 at 05:49, Ernie Rael <err...@raelity.com 
> <mailto:err...@raelity.com>> wrote:
> On 3/11/2020 9:58 AM, Jean-Claude Dauphin wrote:
> >
> >
> > My application is a modules suite and non commercial.
> > I know that JavaHelp is not part of Apache NetBeans but what would be 
> > the best strategy to solve that issue
> 
> I've been wondering about this myself.
> 
> Maybe an integrated JavaFX web browser?
> 
> There must have been some thought discussion about this in the NetBeans 
> team.
> 
> What's the current thinking/plan?
> 
> -ernie
> 
> 
> >
> > Thank you in advance for any advice on this issue
> > Best regards,
> > Jean-Claude
> >
> >
> > -- 
> > Jean-Claude Dauphin
> >
> > jc.daup...@gmail.com <mailto:jc.daup...@gmail.com> 
> > <mailto:jc.daup...@gmail.com <mailto:jc.daup...@gmail.com>>
> >
> > https://github.com/J-ISIS <https://github.com/J-ISIS>
> >
> > http://www.greenstone.org <http://www.greenstone.org/>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> <mailto:users-unsubscr...@netbeans.apache.org>
> For additional commands, e-mail: users-h...@netbeans.apache.org 
> <mailto:users-h...@netbeans.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 

Reply via email to