Skip to content
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

processing-java can't find org.eclipse.jdi.Bootstrap in 2.0b9 #1787

Closed
skotchvail opened this issue May 19, 2013 · 10 comments
Closed

processing-java can't find org.eclipse.jdi.Bootstrap in 2.0b9 #1787

skotchvail opened this issue May 19, 2013 · 10 comments

Comments

@skotchvail
Copy link

I am on OS X Mountain Lion, and I installed processing 2.0b9 and now nothing runs from the command line. Previous versions worked fine. I get an error about org.eclipse.jdi.Bootstrap not being found. I am not using Eclipse, does the new Processing require that?

For example, when I run the example Sketch called "Particles", I get the following error:

$ processing-java --sketch=/Volumes/Data/skotchvail/Downloads/Processing.app/Contents/Resources/Java/modes/java/examples/Demos/Graphics/Particles  --output=${TMPDIR}TempDir --run --force
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jdi/Bootstrap
 at processing.mode.java.runner.Runner.findConnector(Runner.java:759)
 at processing.mode.java.runner.Runner.launchVirtualMachine(Runner.java:215)
 at processing.mode.java.runner.Runner.launch(Runner.java:120)
 at processing.mode.java.Commander.<init>(Commander.java:260)
 at processing.mode.java.Commander.main(Commander.java:97)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdi.Bootstrap
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 5 more

Things work fine from the app itself, just not from processing-java

@skotchvail
Copy link
Author

I am not renaming the app (it is Processing.app) and I installed the tool after updating the app. Rebooting has not helped. 2.0b8 is working without problem, though.

@benfry
Copy link
Contributor

benfry commented May 20, 2013

Possible that the command line stuff needs an update for some of the changes that showed up in 2.0b9. We're slowly moving to using the Eclipse compiler and debugger instead of the full JDK, though we're not there yet.

I'll have to look into it. Otherwise, you can modify the processing-java shell script to include more of the .jar files that are in the java/mode folder buried inside the .app. (But only if any of that means anything to you...)

@skotchvail
Copy link
Author

yes, editing the script fixed it. I added these jars and it works:

:lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar:lib/jdi.jar:lib/jdimodel.jar:lib/com.ibm.icu_4.4.2.v20110823.jar

@benfry
Copy link
Contributor

benfry commented Jun 1, 2013

Fixed for the next release.

@benfry benfry closed this as completed Jun 1, 2013
@goonzoid
Copy link

goonzoid commented Jun 5, 2013

I'm seeing this issue in Processing 2.0. By 'next release' do you mean 2.1 (or 2.0.1)?

@benfry
Copy link
Contributor

benfry commented Jun 20, 2013

Should be fixed in 2.0. You'll need to reinstall the command line tool after installing a new version, however.

@brendandawes
Copy link

This still won't work for me. Using the latest release, reinstalled "processing-java" and get the same error when trying to run from Sublime Text 2. Version 2.0b8 works fine. Checked processing-java shell script and it has all the jar files listed. Using Mac 10.8.4 with latest Java update.

Any ideas?

@ElectricJack
Copy link

Also seeing this in 2.0b9 on Mac OS X Lion 10.7.5 (11G63)... I'll try stable 2.01

@benfry
Copy link
Contributor

benfry commented Jul 14, 2013

Indeed, it will be broken forever in 2.0b9. Please use 2.0.1 (or any later release that becomes available).

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants