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

Import error on a clean install #197

Closed
jsbruneau opened this issue Jan 28, 2016 · 2 comments
Closed

Import error on a clean install #197

jsbruneau opened this issue Jan 28, 2016 · 2 comments

Comments

@jsbruneau
Copy link

jsbruneau commented Jan 28, 2016

The current state of the tree is broken on windows 10

Last commit a00ce3d

`Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import jnius
Traceback (most recent call last):
File "", line 1, in
File "jnius__init__.py", line 12, in
from .jnius import *
ImportError: No module named jnius`


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@jk1ng
Copy link

jk1ng commented Feb 8, 2016

Hi jsbruneau, you might want to ensure that your PATH and JAVA_HOME environment variables are configured correctly.

For windows, JAVA_HOME should point to your JDK root; and PATH should include a path that goes to your jvm.dll file -- which should be in your JAVA_HOME subdirectory of /jre/bin/server

Hope that helps.

That said, I feel that it would be nice if the setup process captured all of this from the beginning.

jk1ng pushed a commit to jk1ng/pyjnius that referenced this issue Feb 9, 2016
jk1ng pushed a commit to jk1ng/pyjnius that referenced this issue Feb 9, 2016
jk1ng pushed a commit to jk1ng/pyjnius that referenced this issue Feb 9, 2016
jk1ng pushed a commit to jk1ng/pyjnius that referenced this issue Feb 9, 2016
akshayaurora added a commit that referenced this issue Mar 10, 2016
Updated readme to counter issues #197
@KeyWeeUsr KeyWeeUsr added this to the 1.1.4 milestone Nov 29, 2018
@KeyWeeUsr
Copy link
Contributor

Ref #199 (comment).

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

No branches or pull requests

3 participants