[Xapian-discuss] Xapian 0.8.2 released

Eric B. Ridge ebr at tcdi.com
Fri Sep 17 00:18:56 BST 2004


On Sep 16, 2004, at 6:14 PM, Olly Betts wrote:
>> Further down the line, another error crops up :
>>
>> /usr/local/java/bin/javac -d . AssertionError.java
>> AssertionError.java:32: cannot resolve symbol
>> symbol  : class LogicError
>> location: class org.xapian.errors.AssertionError
>> public class AssertionError extends LogicError {
>>                                     ^
>> 1 error
>> make[5]: *** [AssertionError.class] Error 1
>> make[5]: Leaving directory
>> `/opt/burn/image/Linux/Xapian/v0.8.2/xapian-bindings-0.8.2/java/org/ 
>> xapian/errors'
>>
>> My Java is a bit rusty, but I thought javac searched for source files
>> in the current directory too. I tried with "-sourcepath ." but to no
>> avail. I am using j2sdk 1.4.2_04.
>
> I have no idea.  Eric?

hmm.  You need a classpath setting for the javac command that points to  
the "src" directory.  Something like:

javac -d . -classpath $XAPIAN_BINDINGS/java/ AssertionError.java

I'm not sure how to translate that into make-speak, but hopefully it'll  
provide a hint.

eric




More information about the Xapian-discuss mailing list