I have installed Jpype0.5 latest rpm and using JDK1.5
After that trying to execute following code.

#!/usr/bin/python2.3

from jpype import * 

def main():
        startJVM("", "-ea") 
        java.lang.System.out.println("hello world") 
        shutdownJVM() 

if __name__=='__main__':
        main()

getting ImportError

python2.3 javaTesting.py
Traceback (most recent call last):
  File "javaTesting.py", line 3, in ?
    from jpype import *
  File
"/usr/lib/python2.3/site-packages/jpype/__init__.py",
line 17, in ?
    from _jpackage import *
  File
"/usr/lib/python2.3/site-packages/jpype/_jpackage.py",
line 18, in ?
    import _jpype
ImportError:
/usr/lib/python2.3/site-packages/_jpype.so: undefined
symbol: PyUnicodeUCS4_FromWideChar



please help me...

Thank You.



                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to