Jump to content


Indexer And Searcher


  • Please log in to reply
1 reply to this topic

#1 isha

isha

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 20 February 2008 - 03:35 AM


Hi.

I will like to ask how to use the command prompt to run indexer and searcher.
I have created both indexer and searcher but don't have any idea how to run them using command prompt.

#2 Hrothgar

Hrothgar

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 22 February 2008 - 04:36 AM

that all depends. are Indexer and Searcher .class files that are console applications?
if they are
you should just be able to navigate cmd to the .class files directory and type
"java <nameoffile>" (file name is case sensitive and without the .class on the end)
if this doesnt work then java directory is probably not set in ur PATH environment Variable
look at step 4 in this link for how to set the PATH variable
http://java.sun.com/javase/6/webnotes/inst...ll-windows.html