question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pyjnius make test command gives Error 1

See original GitHub issue

After 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:closed
  • Created 8 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
parthibbiswascommented, Mar 13, 2016

This is what I get: /usr/lib/jvm/java-7-openjdk-amd64

0reactions
KeyWeeUsrcommented, Feb 4, 2019

The issue without the last previous posts might have been caused by nose using a clean environment, therefore even using JAVA_HOME=... nosetest -v might help, but otherwise even kakkarotssj’s solution will help. Not a PyJNIus issue though and if I run the tests with JAVA_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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found