Results 1 to 3 of 3
  1. #1
    dpfister is offline Member
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Unhappy Document Directory does not exist or is not readable

    Hello,

    After finally getting the classpath set correctly (I hope) I entered this line from 'http://lucene.apache.org/java/3_0_3/demo.html' in the cmd prompt:

    java org.apache.lucene.demo.IndexFiles C:/Program Files/lucene3.0.3/src

    I then get a message saying:

    Document Directory 'C:/Program' does not exist or is not readable, please check the path.

    How could this be?? PLEASE HELP!

    Daniel

  2. #2
    stephanruhl is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default

    put lucene in another folder which doesnt contains any space in the folder name or create some folder like C:/abc and put lucene there...
    Last edited by stephanruhl; 03-15-2011 at 09:43 AM. Reason: typo

  3. #3
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    10

    Default

    The best way is found your mistake if you show your code.
    Skype: petrarsentev
    http://TrackStudio.com

Similar Threads

  1. Exist or not exist file problem
    By Ballister in forum New To Java
    Replies: 6
    Last Post: 12-26-2010, 08:29 PM
  2. Make a readable book for mobile phones?
    By xmenus in forum CLDC and MIDP
    Replies: 0
    Last Post: 06-11-2010, 07:12 PM
  3. Readable Serialization
    By falven in forum Advanced Java
    Replies: 3
    Last Post: 05-31-2010, 02:57 AM
  4. ObjectInputStream wait for readable objects
    By Singing Boyo in forum New To Java
    Replies: 2
    Last Post: 06-08-2009, 04:43 AM
  5. Convertin a .DAT file into readable format
    By janakiram.attuluri in forum Advanced Java
    Replies: 1
    Last Post: 12-07-2007, 11:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •