Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install JCC.

Steps:

  • svn co http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc
  • sudo python setup.build

I am getting this error:

Java JDK directory '/usr/lib/jvm/java-7-openjdk-amd64' does not exist. Please set the environment variable JCC_JDK to the correct location before help.

share|improve this question

migrated from stackoverflow.com Mar 7 '13 at 17:16

This question came from our site for professional and enthusiast programmers.

    
Here is a link on how to set environment variables in Ubuntu: stackoverflow.com/questions/2655641/… –  Atif Mar 7 '13 at 17:04

1 Answer 1

First, we need to install setuptools from: https://pypi.python.org/pypi/setuptools#files

Then, go the jcc folder we downloaded. The default folder is: ~/jcc

Then, using this command: sudo python setup.py install

By the way, the second line of the commands you have is not correct. 'sudo python setup.build' should be 'sudo python setup.py install'

check the site: http://lucene.apache.org/pylucene/jcc/install.html

And the system I use is Ubuntu 12.10 64-bit

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.