You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jean-Claude Dauphin <jc...@gmail.com> on 2020/03/11 16:58:13 UTC

Best strategy to solve JavaHelp issue

Hello,

I have tried to build my application with Apache NetBeans 11.3 but got an
error about JavaHelp.

An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.NoClassDefFoundError: com/sun/java/help/search/Indexer
.......
Caused by: java.lang.ClassNotFoundException:
com.sun.java.help.search.Indexer
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

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

Thank you in advance for any advice on this issue
Best regards,
Jean-Claude


-- 
Jean-Claude Dauphin

jc.dauphin@gmail.com

https://github.com/J-ISIS

http://www.greenstone.org

Re: Best strategy to solve JavaHelp issue

Posted by antonio <an...@vieiro.net>.
Hi,

I think this recipe deserves a small tutorial on our website.

We're currently under an Apache-wide migration of Jenkins that is 
stopping our web-site publishing job. Maybe within a few days we can set 
up a small page with this.

Kind regards,
Antonio

El 24/7/20 a las 21:02, Greg Bullock escribió:
> Thank you for posting this.
> 
> Trying it just now, the .zip file does not have a 
> \javahelp-2.0_05\binary folder.
> 
> Hoping to build the jhall.jar, I
> 
>  1. downloaded the source from github.com/javaee/javahelp. and
>  2. in a CentOS 7 virtual machine (since my Windows 10 machine doesn't
>     have the required build tools) I ran make from the
>     javahelp-2.0_05/jhMaster folder.
> 
> This eventually gives a set of errors.  Alas, I'm too much of a noob in 
> both Linux and Java to figure out what to try next.
> 
> Maybe someone here will have a suggestion.
> 
> 
> [greg@localhost NetBeansProjects]$ cd javahelp-2.0_05/
> [greg@localhost javahelp-2.0_05]$ ls
> javahelp_nbproject  jhMaster  JSearchClient_nbproject 
> JSearchIndexer_nbproject  README.ant
> [greg@localhost javahelp-2.0_05]$ cd jhMaster/
> [greg@localhost jhMaster]$ make
> java -fullversion
> openjdk full version "1.8.0_242-b07"
> cd JSearch ; make all
> make[1]: Entering directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch'
> mkdir -p lib
> cd misc ; make 
> JHHOMEWS=/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp 
> jar
> make[2]: Entering directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/misc'
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/ConfigFile.java
> Note: 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/ConfigFile.java 
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/IndexBuilder.java
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/IndexerKit.java
> Note: ../../JavaHelp/src/new/javax/help/search/ConfigFile.java uses 
> unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/SearchEngine.java
> Note: ../../JavaHelp/src/new/javax/help/search/SearchQuery.java uses 
> unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> make[2]: Warning: File `classes/javax/help/search/SearchEvent.class' has 
> modification time 0.0092 s in the future
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/impl/com/sun/java/help/impl/HeaderParser.java
> javac -d classes -classpath 
> ../../JavaHelp/src/impl:../../JavaHelp/src/new 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/HelpUtilities.java
> Note: 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/HelpUtilities.java 
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> cd classes ; \
>      jar cf ../../lib/jsearch-misc.jar javax com
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/misc'
> cd client ; make jar
> make[2]: Entering directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/client'
> mkdir classes
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/BitBuffer.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/Block.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/BlockFactory.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/BlockManager.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/BtreeDict.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/ByteArrayDecompressor.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/Compressor.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/ConceptData.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/ConceptGroupGenerator.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/DefaultSearchEngine.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/Entry.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/EntryProcessor.java
> export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
>      javac -d classes com/sun/java/help/search/LiteMorph_en.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> make[2]: Warning: File `classes/./com/sun/java/help/search/Rule.class' 
> has modification time 0.025 s in the future
> cd classes ; \
>      jar cf ../../lib/jsearch-client.jar com
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/client'
> cd indexer ; make jar
> make[2]: Entering directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/indexer'
> mkdir classes
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/BtreeDictCompactor.java
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/ChangedCharSetException.java
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/DefaultIndexBuilder.java
> Note: com/sun/java/help/search/DefaultIndexBuilder.java uses unchecked 
> or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/DefaultIndexerKit.java
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/HTMLIndexerKit.java
> Note: com/sun/java/help/search/HTMLIndexerKit.java uses unchecked or 
> unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/Indexer.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> export CLASSPATH ; 
> CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
>      javac -d classes com/sun/java/help/search/PlainTextIndexerKit.java
> cd classes ; \
>      jar cf ../../lib/jsearch-indexer.jar com
> make[2]: Leaving directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/indexer'
> /bin/csh -f jarinto FORCE lib/jsearch.jar \
>          lib/jsearch-client.jar lib/jsearch-indexer.jar lib/jsearch-misc.jar
> creating...
> /bin/rm: No match.
> extracting 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-client.jar
> extracting 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-indexer.jar
> extracting 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-misc.jar
> creating 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch.jar
> chmod a+x jhindexer
> chmod a+x jhsearch
> mkdir -p demos/holidays
> cd demos/holidays ; export to ; to=`pwd` ; \
>      cd 
> /media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/demos/hs/holidays 
> ; \
>      tar cFFf - hol | ( cd ${to} ; tar xvf - )
> tar: Old option `f' requires an argument.
> Try `tar --help' or `tar --usage' for more information.
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
> make[1]: *** [demos/holidays] Error 2
> make[1]: Leaving directory 
> `/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch'
> make: *** [all] Error 2
> [greg@localhost jhMaster]$
> 
> -Greg
> 
> 
> 
> On 3/17/2020 10:34 AM, Jean-Claude Dauphin wrote:
>>
>> Hi,
>>
>> I am not sure it is the right way to do it but here is how I included 
>> JavaHelp in my application suite to migrate it from NetBeans 8.2 to 
>> NetBeans 11.3.
>>
>> 1)Downloaded JavaHelp from https://github.com/javaee/javahelp/releases
>>
>> 2)Unzipped the file
>>
>> 3)Added the jhall.jar as a wrapped jar into the modules that use JavaHelp
>>
>> (from \javahelp-2.0_05\binary\javahelp-2_0_05\jh2.0\javahelp\lib folder)
>>
>> 4)To avoid the error message “/You must set 'jhall.jar' (e.g. in 
>> private.properties) to the location of jsearch.jar from a JavaHelp 
>> distribution/” I checked the file issuing this error message
>>
>> NetBeans-11.3\netbeans\harness\build.xml
>>
>>   <target name="javahelp" depends="init" if="has.javahelp">
>>
>>         <!-- Similar to projectized.xml but does not fiddle with 
>> usersguide/.../ide.css, and finds jhall.jar differently: -->
>>
>>         <property name="jhall.jar" 
>> location="${harness.dir}/antlib/jsearch-2.0_05.jar"/>
>>
>>         <available property="jhall.jar.exists" file="${jhall.jar}"/>
>>
>>         <fail unless="jhall.jar.exists">You must set 'jhall.jar' (e.g. 
>> in private.properties) to the location of jsearch.jar from a JavaHelp 
>> distribution</fail>
>>
>>         <mkdir 
>> dir="${build.javahelp.dir}/${javahelp.base}/${javahelp.search}"/>
>>
>>         <copy todir="${build.javahelp.dir}">
>>
>> …………………………………………….
>>
>> Then I copied jsearch.jar into NetBeans-11.3\netbeans\harness\antlib 
>> and renamed it jsearch-2.0_05.jar
>>
>> I am pretty sure this is not the right method but it worked for me
>>
>>
>> Best wishes,
>>
>> JCD
>>
>>
>>
>> On Tue, Mar 17, 2020 at 2:25 PM Geertjan Wielenga <geertjan@apache.org 
>> <ma...@apache.org>> wrote:
>>
>>     JavaHelp is not included in Apache NetBeans GitHub because it is
>>     GPL licensed, which is against Apache policy, and therefore is
>>     also not part of Apache NetBeans, it never has been and never will
>>     be unless it is licensed, which seems unlikely to happen. It is
>>     something you'll need to add yourself somehow -- someone who
>>     figures out how should share that with this mailing list.
>>
>>     Gj
>>
>>
>>
>>
>> -- 
>> Jean-Claude Dauphin
>>
>> jc.dauphin@gmail.com <ma...@gmail.com>
>>
>>
> -- 
> Greg Bullock
> NorthWest Research Associates
> 301 Webster St.
> Monterey, CA  93940
> (831) 582-4907
> greg@nwra.com
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Best strategy to solve JavaHelp issue

Posted by Greg Bullock <gr...@nwra.com>.
Thank you for posting this.

Trying it just now, the .zip file does not have a 
\javahelp-2.0_05\binary folder.

Hoping to build the jhall.jar, I

 1. downloaded the source from github.com/javaee/javahelp. and
 2. in a CentOS 7 virtual machine (since my Windows 10 machine doesn't
    have the required build tools) I ran make from the
    javahelp-2.0_05/jhMaster folder.

This eventually gives a set of errors.  Alas, I'm too much of a noob in 
both Linux and Java to figure out what to try next.

Maybe someone here will have a suggestion.


[greg@localhost NetBeansProjects]$ cd javahelp-2.0_05/
[greg@localhost javahelp-2.0_05]$ ls
javahelp_nbproject  jhMaster  JSearchClient_nbproject 
JSearchIndexer_nbproject  README.ant
[greg@localhost javahelp-2.0_05]$ cd jhMaster/
[greg@localhost jhMaster]$ make
java -fullversion
openjdk full version "1.8.0_242-b07"
cd JSearch ; make all
make[1]: Entering directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch'
mkdir -p lib
cd misc ; make 
JHHOMEWS=/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp 
jar
make[2]: Entering directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/misc'
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/ConfigFile.java
Note: 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/ConfigFile.java 
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/IndexBuilder.java
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/IndexerKit.java
Note: ../../JavaHelp/src/new/javax/help/search/ConfigFile.java uses 
unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/search/SearchEngine.java
Note: ../../JavaHelp/src/new/javax/help/search/SearchQuery.java uses 
unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make[2]: Warning: File `classes/javax/help/search/SearchEvent.class' has 
modification time 0.0092 s in the future
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/impl/com/sun/java/help/impl/HeaderParser.java
javac -d classes -classpath 
../../JavaHelp/src/impl:../../JavaHelp/src/new 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/HelpUtilities.java
Note: 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/src/new/javax/help/HelpUtilities.java 
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
cd classes ; \
     jar cf ../../lib/jsearch-misc.jar javax com
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/misc'
cd client ; make jar
make[2]: Entering directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/client'
mkdir classes
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/BitBuffer.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/Block.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/BlockFactory.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/BlockManager.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/BtreeDict.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/ByteArrayDecompressor.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/Compressor.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/ConceptData.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/ConceptGroupGenerator.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/DefaultSearchEngine.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/Entry.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/EntryProcessor.java
export CLASSPATH ; CLASSPATH=../lib/jsearch-misc.jar:. ; \
     javac -d classes com/sun/java/help/search/LiteMorph_en.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make[2]: Warning: File `classes/./com/sun/java/help/search/Rule.class' 
has modification time 0.025 s in the future
cd classes ; \
     jar cf ../../lib/jsearch-client.jar com
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/client'
cd indexer ; make jar
make[2]: Entering directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/indexer'
mkdir classes
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/BtreeDictCompactor.java
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/ChangedCharSetException.java
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/DefaultIndexBuilder.java
Note: com/sun/java/help/search/DefaultIndexBuilder.java uses unchecked 
or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/DefaultIndexerKit.java
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/HTMLIndexerKit.java
Note: com/sun/java/help/search/HTMLIndexerKit.java uses unchecked or 
unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/Indexer.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
export CLASSPATH ; 
CLASSPATH=../lib/jsearch-misc.jar:../lib/jsearch-client.jar:. ; \
     javac -d classes com/sun/java/help/search/PlainTextIndexerKit.java
cd classes ; \
     jar cf ../../lib/jsearch-indexer.jar com
make[2]: Leaving directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/indexer'
/bin/csh -f jarinto FORCE lib/jsearch.jar \
         lib/jsearch-client.jar lib/jsearch-indexer.jar lib/jsearch-misc.jar
creating...
/bin/rm: No match.
extracting 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-client.jar
extracting 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-indexer.jar
extracting 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch-misc.jar
creating 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/lib/jsearch.jar
chmod a+x jhindexer
chmod a+x jhsearch
mkdir -p demos/holidays
cd demos/holidays ; export to ; to=`pwd` ; \
     cd 
/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch/../JavaHelp/demos/hs/holidays 
; \
     tar cFFf - hol | ( cd ${to} ; tar xvf - )
tar: Old option `f' requires an argument.
Try `tar --help' or `tar --usage' for more information.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[1]: *** [demos/holidays] Error 2
make[1]: Leaving directory 
`/media/sf_Documents/NetBeansProjects/javahelp-2.0_05/jhMaster/JSearch'
make: *** [all] Error 2
[greg@localhost jhMaster]$

-Greg



On 3/17/2020 10:34 AM, Jean-Claude Dauphin wrote:
>
> Hi,
>
> I am not sure it is the right way to do it but here is how I included 
> JavaHelp in my application suite to migrate it from NetBeans 8.2 to 
> NetBeans 11.3.
>
> 1)Downloaded JavaHelp from https://github.com/javaee/javahelp/releases
>
> 2)Unzipped the file
>
> 3)Added the jhall.jar as a wrapped jar into the modules that use JavaHelp
>
> (from \javahelp-2.0_05\binary\javahelp-2_0_05\jh2.0\javahelp\lib folder)
>
> 4)To avoid the error message “/You must set 'jhall.jar' (e.g. in 
> private.properties) to the location of jsearch.jar from a JavaHelp 
> distribution/” I checked the file issuing this error message
>
> NetBeans-11.3\netbeans\harness\build.xml
>
>   <target name="javahelp" depends="init" if="has.javahelp">
>
>         <!-- Similar to projectized.xml but does not fiddle with 
> usersguide/.../ide.css, and finds jhall.jar differently: -->
>
>         <property name="jhall.jar" 
> location="${harness.dir}/antlib/jsearch-2.0_05.jar"/>
>
>         <available property="jhall.jar.exists" file="${jhall.jar}"/>
>
>         <fail unless="jhall.jar.exists">You must set 'jhall.jar' (e.g. 
> in private.properties) to the location of jsearch.jar from a JavaHelp 
> distribution</fail>
>
>         <mkdir 
> dir="${build.javahelp.dir}/${javahelp.base}/${javahelp.search}"/>
>
>         <copy todir="${build.javahelp.dir}">
>
> …………………………………………….
>
> Then I copied jsearch.jar into NetBeans-11.3\netbeans\harness\antlib 
> and renamed it jsearch-2.0_05.jar
>
> I am pretty sure this is not the right method but it worked for me
>
>
> Best wishes,
>
> JCD
>
>
>
> On Tue, Mar 17, 2020 at 2:25 PM Geertjan Wielenga <geertjan@apache.org 
> <ma...@apache.org>> wrote:
>
>     JavaHelp is not included in Apache NetBeans GitHub because it is
>     GPL licensed, which is against Apache policy, and therefore is
>     also not part of Apache NetBeans, it never has been and never will
>     be unless it is licensed, which seems unlikely to happen. It is
>     something you'll need to add yourself somehow -- someone who
>     figures out how should share that with this mailing list.
>
>     Gj
>
>
>
>
> -- 
> Jean-Claude Dauphin
>
> jc.dauphin@gmail.com <ma...@gmail.com>
>
>
-- 
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey, CA  93940
(831) 582-4907
greg@nwra.com


Re: Best strategy to solve JavaHelp issue

Posted by Jean-Claude Dauphin <jc...@gmail.com>.
Hi,

I am not sure it is the right way to do it but here is how I included
JavaHelp in my application suite to migrate it from NetBeans 8.2 to
NetBeans 11.3.

1)      Downloaded JavaHelp from https://github.com/javaee/javahelp/releases

2)      Unzipped the file

3)      Added the jhall.jar as a wrapped jar into the modules that use
JavaHelp

(from \javahelp-2.0_05\binary\javahelp-2_0_05\jh2.0\javahelp\lib folder)

4)       To avoid the error message “*You must set 'jhall.jar' (e.g. in
private.properties) to the location of jsearch.jar from a JavaHelp
distribution*” I checked the file issuing this error message



NetBeans-11.3\netbeans\harness\build.xml



  <target name="javahelp" depends="init" if="has.javahelp">

        <!-- Similar to projectized.xml but does not fiddle with
usersguide/.../ide.css, and finds jhall.jar differently: -->

        <property name="jhall.jar" location
="${harness.dir}/antlib/jsearch-2.0_05.jar"/>

        <available property="jhall.jar.exists" file="${jhall.jar}"/>

        <fail unless="jhall.jar.exists">You must set 'jhall.jar' (e.g. in
private.properties) to the location of jsearch.jar from a JavaHelp
distribution</fail>

        <mkdir
dir="${build.javahelp.dir}/${javahelp.base}/${javahelp.search}"/>

        <copy todir="${build.javahelp.dir}">

…………………………………………….





Then I copied jsearch.jar into NetBeans-11.3\netbeans\harness\antlib and
renamed it jsearch-2.0_05.jar



I am pretty sure this is not the right method but it worked for me


Best wishes,

JCD



On Tue, Mar 17, 2020 at 2:25 PM Geertjan Wielenga <ge...@apache.org>
wrote:

> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this
> mailing list.
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé <tm...@gmail.com> wrote:
>
>> 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
>>
>>
>> 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 <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
>>> >
>>> > https://github.com/J-ISIS
>>> >
>>> > http://www.greenstone.org
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>

-- 
Jean-Claude Dauphin

jc.dauphin@gmail.com

Re: Best strategy to solve JavaHelp issue

Posted by Geertjan Wielenga <ge...@apache.org>.
No, that avenue won’t be productive, its licensing is simply prohibitive to
Apache.

Gj

On Tue, 17 Mar 2020 at 15:20, Peter Hull <pe...@gmail.com> wrote:

> Jaroslav Tulach was asking a couple of years ago whether it was also
> licensed CDDL. What happened to this line of thinking?
> https://github.com/javaee/javahelp/issues/45
>
> On Tue, 17 Mar 2020 at 13:27, Geertjan Wielenga <ge...@apache.org>
> wrote:
> >
> > Here's the related issues, one of the very first:
> https://issues.apache.org/jira/browse/NETBEANS-3
> >
> > Gj
> >
> > On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga <ge...@apache.org>
> wrote:
> >>
> >> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this mailing
> list.
> >>
> >> Gj
> >>
> >> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé <tm...@gmail.com> wrote:
> >>>
> >>> 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
> >>>
> >>>
> >>> 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 <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
> >>>> >
> >>>> > https://github.com/J-ISIS
> >>>> >
> >>>> > http://www.greenstone.org
> >>>>
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> >>>> For additional commands, e-mail: users-help@netbeans.apache.org
> >>>>
> >>>> For further information about the NetBeans mailing lists, visit:
> >>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>>>
> >>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Best strategy to solve JavaHelp issue

Posted by Peter Hull <pe...@gmail.com>.
Jaroslav Tulach was asking a couple of years ago whether it was also
licensed CDDL. What happened to this line of thinking?
https://github.com/javaee/javahelp/issues/45

On Tue, 17 Mar 2020 at 13:27, Geertjan Wielenga <ge...@apache.org> wrote:
>
> Here's the related issues, one of the very first: https://issues.apache.org/jira/browse/NETBEANS-3
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga <ge...@apache.org> wrote:
>>
>> JavaHelp is not included in Apache NetBeans GitHub because it is GPL licensed, which is against Apache policy, and therefore is also not part of Apache NetBeans, it never has been and never will be unless it is licensed, which seems unlikely to happen. It is something you'll need to add yourself somehow -- someone who figures out how should share that with this mailing list.
>>
>> Gj
>>
>> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé <tm...@gmail.com> wrote:
>>>
>>> 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
>>>
>>>
>>> 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 <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
>>>> >
>>>> > https://github.com/J-ISIS
>>>> >
>>>> > http://www.greenstone.org
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Best strategy to solve JavaHelp issue

Posted by Geertjan Wielenga <ge...@apache.org>.
Here's the related issues, one of the very first:
https://issues.apache.org/jira/browse/NETBEANS-3

Gj

On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga <ge...@apache.org>
wrote:

> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this
> mailing list.
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé <tm...@gmail.com> wrote:
>
>> 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
>>
>>
>> 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 <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
>>> >
>>> > https://github.com/J-ISIS
>>> >
>>> > http://www.greenstone.org
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>

Re: Best strategy to solve JavaHelp issue

Posted by Geertjan Wielenga <ge...@apache.org>.
JavaHelp is not included in Apache NetBeans GitHub because it is GPL
licensed, which is against Apache policy, and therefore is also not part of
Apache NetBeans, it never has been and never will be unless it is licensed,
which seems unlikely to happen. It is something you'll need to add yourself
somehow -- someone who figures out how should share that with this
mailing list.

Gj

On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé <tm...@gmail.com> wrote:

> 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
>
>
> 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 <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
>> >
>> > https://github.com/J-ISIS
>> >
>> > http://www.greenstone.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>

Re: Best strategy to solve JavaHelp issue

Posted by Tim Mullé <tm...@gmail.com>.
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 <ge...@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 <errael@raelity.com <ma...@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.dauphin@gmail.com <ma...@gmail.com> <mailto:jc.dauphin@gmail.com <ma...@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-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org>
> For additional commands, e-mail: users-help@netbeans.apache.org <ma...@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>
> 


Re: Best strategy to solve JavaHelp issue

Posted by Emilian Bold <em...@gmail.com>.
> 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.

The simplest solution is to just compile your own Platform with the
javahelp module and go on your merry way.

--emi

On Tue, Mar 17, 2020 at 8:32 AM Geertjan Wielenga <ge...@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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
>> >
>> > https://github.com/J-ISIS
>> >
>> > http://www.greenstone.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Best strategy to solve JavaHelp issue

Posted by Geertjan Wielenga <ge...@apache.org>.
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 <er...@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.dauphin@gmail.com <ma...@gmail.com>
> >
> > https://github.com/J-ISIS
> >
> > http://www.greenstone.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Best strategy to solve JavaHelp issue

Posted by Ernie Rael <er...@raelity.com>.
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.dauphin@gmail.com <ma...@gmail.com>
>
> https://github.com/J-ISIS
>
> http://www.greenstone.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists