MyGit

v2.7-alpha.1

Stewori/JyNI

版本发布时间: 2013-07-18 18:36:35

Stewori/JyNI最新发布版本:v2.7-alpha.5(2017-09-22 04:13:53)

Release alpha 1 is mainly intended as a proof of concept. A major lack is a smooth way to build it, since I did not setup any autotool-stuff yet. However, there are binaries for Linux Mint Debian Edition (LMDE) 64 and 32 bit. I could test the 64 bit one also on Ubuntu-based Linux Mint and it ran just like on LMDE, so it should work for Ubuntu as well. I suppose it would also work on other distributions. Additionally, the README contains some build instructions if you want to build JyNI yourself. Don't expect it to be usable for much more than seeing that it works. Try out the demo extension and modify it like you want. The README tells you what should work and what not. Unfortunately, behind the scenes the garbage collection is still broken, so native objects are not collected. For the demo-extension, this does not matter, but as I said - don't expect it to be usable for much more in this release.

Quickguide to run the demo using the binaries:

Extract JyNI-Demo/src/JyNIDemo.py from the sources. To launch it with CPython, extract DemoExtension.so from the bin archive (32 or 64 bit, whatever is appropriate for your system). JyNIDemo.py adds the extension folder via sys.path.append([path]). You can modify that line so it finds your extracted DemoExtension.so or delete the line and put DemoExtension.so on the pythonpath. If you launch JyNIDemo.py with Jython, it won't work. Put JyNI.jar, libJyNI-Loader.so and libJyNI.so on Jython's pythonpath or classpath. libJyNI-Loader.so and libJyNI.so can alternatively be placed somewhere on the Java library path. Jython should now be able to run JyNIDemo.py. This has been tested with Jython 2.7 beta 1. I believe, it would not work with older Jython versions, but haven't tried.

相关地址:原始地址 下载(tar) 下载(zip)

1、 JyNI-2.7-alpha.1-bin-LMDE32.tar.bz2 233.44KB

2、 JyNI-2.7-alpha.1-bin-LMDE64.tar.bz2 239.41KB

3、 JyNI.jar 16.05KB

查看:2013-07-18发行的版本