Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

issue with pylucene

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


matifq at gmail

Aug 16, 2012, 8:39 PM

Post #1 of 1 (267 views)
Permalink
issue with pylucene

Hello all,

This is Atif, and I am new to Lucene, I am trying to install pylucene
however, I am having trouble with make operation. I would appreciate any
help in this matter.

I used svn for downloading pylucene '
http://svn.apache.org/repos/asf/lucene/pylucene/trunk'

I followed installation guide from '
http://lucene.apache.org/pylucene/install.html'

I am using ubuntu 12.04 64 bit bit.

Following is the error I get (in make):

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/pylucene/analysis/PythonTokenFilter : Unsupported major.minor
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
While loading org/apache/pylucene/analysis/PythonTokenFilter
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
"/usr/local/lib/python2.7/dist-packages/JCC-2.13-py2.7-linux-x86_64.egg/jcc/__main__.py",
line 104, in <module>
cpp.jcc(sys.argv)
File
"/usr/local/lib/python2.7/dist-packages/JCC-2.13-py2.7-linux-x86_64.egg/jcc/cpp.py",
line 578, in jcc
cls = findClass(className.replace('.', '/'))
File
"/usr/local/lib/python2.7/dist-packages/JCC-2.13-py2.7-linux-x86_64.egg/jcc/cpp.py",
line 73, in findClass
cls = _findClass(className)
jcc.cpp.JavaError
make: *** [compile] Error 255

Thanks,
Atif

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.