Closed kevinports closed 10 years ago
Have you set the PROCESSING_ROOT: "/home/tux/processing-2.0.3"
in .rp5rc?
Obviously path is wrong for you on Mac. You can do this by running SetProcessingRoot.pde see this gist https://gist.github.com/monkstone/7438749
I've had the path to "/Applications/Processing.app", but whether it needs to point to somewhere inside the package is non-obvious to me.
The suggested "path/to/package/Contents/MacOS/Processing" in your gist does not exist.
The path seems to be stopping at Processing not Processing.app. Ayway the PROCESSING_ROOT is the outer folder around the core
folder and modes
folder, wherever that is. Dots in path is not a good idea (bloody Apple).
Changing to "/Applications/Processing.app/Contents/Resources/Java" did the trick.
Thanks for your help. I'm excited about this project!
@kevinports Thanks for report I will amend suggested path for the Mac in the gist. Please feel free to report any other issues, I',m guessing a bit with the Mac.
Hi, i faced this issue (cannot load Java class processing.core.PApplet) on ubuntu and the root of the problem was similar as suggested above - on linux the ~/.rp5rc looks as following:
cat ~/.rp5rc
---
PROCESSING_ROOT: /home/peter/processing-2.2.1
JRUBY: true
and in my case I installed Processing into another folder.
exporting the variable in bash is not working (export PROCESSING_ROOT="/my/custom/path/to/proceissing")
and the ~/.rp5rc must be edited.
Hi, Im getting a similar error but not quite. Could somebody please help me point out what im doing wrong. Thanks in advance!
I run: rp5 run bounce.rb
And then I get the following error: NameError: cannot link Java class monkstone.MathToolLibrary, probable missing dependency: monkstone/MathToolLibrary : Unsupported major.minor version 51.0 for_name at org/jruby/javasupport/JavaClass.java:1286 get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
Could be java version issue, it should be OK to use java7 with ruby-processing (which is what ubuntu still defaults to). But maybe by mistake MathTool library got compiled (by my mistake) with java 8. Can you try either java8 or compile MathTool with jdk7?
Actually runs ok for me with java7, are you running java6 perchance, in which case please update.
sudo update-alternatives --config java
http://www.mkyong.com/java/java-unsupported-major-minor-version-51-0/
@javogel In future it might be better to open a new issue, because this thread is now covers unrelated problems (PS I would have opened a new issue for a genuine issue).
@monkstone That did the trick. I just had to update to jdk8. Also had to change processing version back to 2.2 (I had mistakenly updated it) Thank you very much!
And sorry about not opening a separate issue. Will do next time.
Hello, I'm trying to get a sketch running but keep hitting this error. Any help would be greatly appreciated!
Running Mac osx 10.9, using Processing 2.0.3 (also attempted with 2.1), and wget is installed.
ruby
(also attempted with 1.9.3)
java
(also attempted with Java 6)
jruby
command and stack trace
Thank you!