Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I combined some suggestions from others that had issues with Windows. I also made it a bit easier to identify a JDK_HOME and JRE_HOME.
Here's the system I compiled the attached binary on:
64-bit Windows 7 Ultimate
32-bit Python 2.7.6
32-bit Oracle JDK 1.7.0_25
MinGW
To run successfully in Windows:
Install a JDK and add a JAVA_HOME environment variable that points to the JDK folder
Install Cython from http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython
Install jnius from the attached executable or build your own module from source
If you run into errors, try the following:
Add C:\Program Files (x86)\Java\jdk[YOUR JDK VERSION]\jre\bin\server to your path
Make sure you're using a 32-bit JDK
Log out of Windows and log back in
https://github.com/kevlened/pyjnius/releases/tag/v1.1