Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successfully compiled for Windows #87

Merged
merged 4 commits into from
Jan 15, 2014

Conversation

kevlened
Copy link
Contributor

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

@tito
Copy link
Member

tito commented Jan 15, 2014

Great, perfect! Thanks a lot for your valuable contribution!

tito added a commit that referenced this pull request Jan 15, 2014
@tito tito merged commit de6af49 into kivy:master Jan 15, 2014
@vazudew
Copy link

vazudew commented Mar 31, 2015

The same issue exists for Windows 64... PyJnius is great but sadly, has no foolproof installation methods .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants