i realize this question has been asked in the past (sept-2013) but the
answer seems to be less than useful.

i'm using JCC via C++ and having java crashing issues. the problem appears
to be with the use of initializeClass(bool) and storing instances of JCC
objects.

first off, what does initializeClass(bool) do and what does the boolean
parameter mean/affect/do ... i see in other code that initializeClass tends
to be called with false as the parameter but with no explanation.

there is also no good explanation as to when initializeClass(bool) needs to
be called and why. do i have to call it before accessing any method within
the instance of the class? do i only call it once when constructing the
instance of the class? what happens if i call it twice on a class? will
this cause a crash? can i just call initializeClass on all classes that i
expect to instantiate at the beginning of the executable? i'm using 64bit
java so memory usage is not a issue..

is there any documentation on using JCC with C++, yes i have been to the
pylucene webpage but there is only references to using JCC with python...

bill schilp

Reply via email to