jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

Can't install on Mac under Java 9 #207

Closed jproy closed 6 years ago

jproy commented 6 years ago

Having errors with introspection when trying to compile a simple demo program on MacOS Sierra. Is it necessary to have Java 8 installed ? Specific release ? Thanks.

jproy commented 6 years ago

~/Desktop/processing.py-3017-macosx$ java -jar processing-py.jar essai_pyprocessing.py WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.python.core.PySystemState (file:/Users/roy/Desktop/processing.py-3017-macosx/processing-py.jar) to method java.io.Console.encoding() WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release java.lang.NoClassDefFoundError: com/apple/eawt/QuitHandler

jdf commented 6 years ago

Because command-line use of Python Mode is no longer officially supported, the best thing to do is to run with --illegal-access=warn as suggested.

jproy commented 6 years ago

--illegal-access=warn has no effect. Same error. Launching processing-py.app on a demo file gives the error Error: Unable to access jarfile /private/var/folders/c9/4v8y64sj47bbh9790lqx317c0000gr/T/AppTranslocation/873D1802-913E-43FA-9BE1-6A0AA5544BA8/d/processing-py.app/Contents/Resources/../../..//processing-py.jar

jdf commented 6 years ago

Wait, what is processing-py.app?

jproy commented 6 years ago

I got that app together with examples etc but I don't remember where, just four days ago. What is the OFFICIAL site for py-processing ? There is one on Github, another on Google...

jproy commented 6 years ago

What about Java 9 ? Should I have JDK 8 or 9 will be fine ?

jproy commented 6 years ago

Also, is Python 3 supported ?

villares commented 6 years ago

Mind the way you are asking about the docs... http://py.processing.org Download it from processing.org + mode install from IDE Jython based, so no Python 3 support

On Tue, Jan 2, 2018, 21:04 jproy notifications@github.com wrote:

Also, is Python 3 supported ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/207#issuecomment-354899112, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhgDAQQWtibGmTHzOryVWNfBhTMgnZ6ks5tGrX7gaJpZM4RQ6yR .

villares commented 6 years ago

It uses its own Java, no need to install any.

On Tue, Jan 2, 2018, 21:03 jproy notifications@github.com wrote:

What about Java 9 ? Should I have JDK 8 or 9 will be fine ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/207#issuecomment-354898948, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhgDNYQG7NG9Lp3VNAbVb7uJKITvHvzks5tGrXFgaJpZM4RQ6yR .

jproy commented 6 years ago

Ok, fine, I was completely lost by obsolete sites with old versions of py-processing. Nice Job. Thanks a lot.