>> JPype says the best way to get help with its software is by creating a new item in the Bugs Tracker.
I am using Windows XP. I didn't find any installation instructions. I ran setup.py as follows:
c:\python25\python.exe setup.py build --compiler=mingw32 --build-base=..\PythonBuild install --home=..\PythonInstall
It would not build without the --compiler=mingw32 option,and I want the files somewhere else than in the Python 2.5 directories. I regularly build other packages with mingw and these arguments. so that is unlikely the problem.
I had to comment out the line:
# self.extra_compile_args = ['/EHsc']
as it treats this option as a file and also doesn't like -EHsc.
It built with warnings. When I run it, python 25.exe crashes with:
Unhandled exception at 0x0021f878 in python.exe: 0xC000001E: An attempt was made to execute an invalid lock sequence.
I set the PYTHONPATH to ..\PythonInstall\lib\python. There is no bin directory there. I don't see any DLLs.
The Python program is:
from jpype import *
JVM = "C:/Program Files/Java/jdk1.6.0_11/jre/bin/client/jvm.dll"
startJVM(JVM, "-ea") <---------- here
java.lang.System.out.println("Hello World form JPype")
It also crashes on rmi.py from the distribution.
Thanks for any help.