pyjnius make test command gives Error 1
See original GitHub issueAfter following the docs, when I run make command after installing pyjnius, I get following error:
ant all
Buildfile: /home/kivy/pyjnius/build.xml
compile:
BUILD FAILED
/home/kivy/pyjnius/build.xml:8: Directory /home/kivy/pyjnius/build/classes creation was not successful for an unknown reason
Total time: 0 seconds
make: *** [build_ext] Error 1
What am I doing wrong?
<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31835488-pyjnius-make-test-command-gives-error-1?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github). </bountysource-plugin>Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
kivy@groups.io | [pyjnius:master] reported: pyjnius make test ...
[pyjnius:master] New Comment on Issue #210 pyjnius make test command gives Error 1. By NickQian: may you used sudo? that means you will...
Read more >Pyjnius make and make test command gives erros inspite of setting ...
When I run make command, I get this error: ant all. Buildfile: /home/kivy/pyjnius/build.xml compile: jar: test-compile: all: BUILD SUCCESSFUL Total time: 0 ...
Read more >Pyjnius Documentation - Read the Docs
Pyjnius is a Python library for accessing Java classes. It either starts a new JVM inside the process, or retrieves the already surrounding ......
Read more >Issues during installation of python jnius library ...
I'm getting an error during installation. ... do I check it? Running setup.py bdist_wheel for jnius ... error Complete output from command ......
Read more >Pyjnius: Accessing Java classes from Python - Reddit
r/Python - Pyjnius: Accessing Java classes from Python ... Cython compilation. error: command 'gcc' failed with exit status 1 make: ... Shows the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is what I get: /usr/lib/jvm/java-7-openjdk-amd64
The issue without the last previous posts might have been caused by
nose
using a clean environment, therefore even usingJAVA_HOME=... nosetest -v
might help, but otherwise even kakkarotssj’s solution will help. Not a PyJNIus issue though and if I run the tests withJAVA_HOME
present in the env all runs fine and even if I run the tests separately (unittest.main()
).The other thing is missing
ant
program on the system for building the Java files.