lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brook, James" <>
Subject Does Lucene really work with Java 1.1.8
Date Tue, 09 Oct 2001 12:35:13 GMT
I am trying to use the 'lucene-1.2-rc1.jar' with a WebObjects 4.5
application, but having problems. WebObjects uses Java 1.1.8. I read on the
jGuru Lucene FAQ that Lucene should work with this version of Java. Is this

If the latest version of Lucene only works with Java 1.2, can anyone tell me
if I can get an older version that works with Java 1.1.8?

The specific error I am getting is:

java.lang.NoSuchMethodError: method createNewFile()Z not found
   at org.apache.lucene.index.IndexWriter.<init>(Unknown Source)
   at org.apache.lucene.index.IndexWriter.<init>(Unknown Source)
   at Application.createIndex(
   at Application.<init>(

This occurs when I try to create an empty index with the following method:

public void createIndex() throws Exception {
    String indexPath = "/Local/Users/jbrook/testIndex";
    IndexWriter writer;

    writer = new IndexWriter(indexPath, null, true);

James Brook
Chello B.V.

View raw message