-
Notifications
You must be signed in to change notification settings - Fork 17
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
Setting JyNI to work with Processing #36
Comments
I think you have to examine the launch process of processing. To clarify: I hadn't had a look at it at all. When launching from command line via That said, keep in mind that JyNI is highly experimental. Using unsupported API crashes the JVM. Attempting to import an extension that doesn't work yet crashes the JVM. Be prepared for frequent full JVM crashes. Some NumPy core functionality works but it is not very exhaustive. |
You can try to insert additional classpath here and in processing-py.bat as well if you need it on WIndows. However, the setup is fairly complex and maybe it somehow overides the classpath configured there. It might require some serious effort to sort things out. |
Thank you so much for the reply. All the libraries are available in the
I already tried to create a
When running the same sketch but replacing numpy 1.13.3 in
|
Don't try NumPy > 1.13 atm. It won't work, see #22. Stick to 13.3 specifically. If |
You may want to have a look at https://github.com/Stewori/JyNI/blob/master/JyNI-Java/src/JyNI/JyNI.java#L114 to better understand the logic. Make sure to observe |
Dear @Stewori ,
Thank you for the clarifications provided on the Processing.py git thread.
I (and some other folks from the Processing community) would love to see JyNI working in Processing Python mode but are completely overwhelmed by the installation instructions. Would you mind give us a hand with this ?
Here's what I could do so far:
looked for the
jython.jar
file on my computer. It lies in a Processing sub-folder called 'mode' with 2 other jar files,PythonMode.jar
andguava-17.0.jar
set a
JRE_HOME
variable pointing to the JRE installation pathC:\Program Files (x86)\Java\jre1.8.0_211
This leaves me with 2 questions:
JyNI.jar
andJyNI.dll
in this 'mode' sub-folder (with the other jar files) or somewhere inside the JRE installation, like inC:\Program Files (x86)\Java\jre1.8.0_211\lib
for example ?Your help, even guidelines or a simple hint, would be greatly appreciated.
Sincerely,
solub
The text was updated successfully, but these errors were encountered: