voc icon indicating copy to clipboard operation
voc copied to clipboard

Tutorial 0 does not work on ubuntu 16.04

Open sjuk opened this issue 7 years ago • 4 comments

I followed the tutorial leading to the following problem. Main class can not be found.

$ java -classpath ../voc/dist/python-java-support.jar:. python.example Fehler: Hauptklasse python.example konnte nicht gefunden oder geladen werden

Any idea what I'm doing wront?

Thank you in advance.

sjuk avatar Apr 08 '18 10:04 sjuk

I translate your error message as this:

Error: Main class python.example could not be found or loaded

So take a look in the python directory and see if there is an example.class file there.

What versions of Java, Python, and VOC are you using?

donkirkby avatar Apr 08 '18 18:04 donkirkby

Chances are that the path to the python-java-support.jar file is incorrect -- please double check that.

eliasdorneles avatar Apr 08 '18 20:04 eliasdorneles

If the python-java-support.jar file is missing, make sure you ran the ant java command from the installation instructions. I forgot that in one project.

donkirkby avatar Apr 09 '18 05:04 donkirkby

The path is correct I tripple checked that. But after chatting on the pybee irc I decided to stop trying to develop crossplatform android/ios apps with beware (toga/voc/briefcase). At the moment it has not the mature state to be able using it productively. I will give kivy a second try. But thank you very much for any effort to help.

sjuk avatar Apr 09 '18 18:04 sjuk