Problems with installing jcc and pylucene

Posted by Christian on Stack Overflow See other posts from Stack Overflow or by Christian
Published on 2010-03-18T10:04:26Z Indexed on 2010/03/18 21:11 UTC
Read the original article Hit count: 456

Filed under:
|
|
|

I'm trying to install pylucene on Windows XP. I installed JDK on C:\Programme\Java\jdk1.6.0_18 . I also installed Visual Studio C++ Express to have a C++ compiler.

As first step I'm trying to integrate jcc into python2.6 through the command: C:\Python26\python.exe setup.py build

This gives me the following result:

C:\Installfiles\pylucene-3.0.1-1\jcc>C:\Python26\python.exe setup.py build
Traceback (most recent call last):
  File "setup.py", line 332, in <module>
    main('--debug' in sys.argv)
  File "setup.py", line 289, in main
    raise type(e), "%s: %s" %(e, args)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: ['jav
ac.exe', '-d', 'jcc/classes', 'java/org/apache/jcc/PythonVM.java', 'java/org/apa
che/jcc/PythonException.java']

Other information:

In systems I set:

Uservariables:

CLASSPATH

C:\Programme\Java\jdk1.6.0_18\bin\javac.exe

System Variables

Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; C:\Programme\Java\jdk1.6.0_18\bin

Where does the error come from and what do I have to do to overcome it?

© Stack Overflow or respective owner

Related posts about python

Related posts about pylucene