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

"Could not find the main class: processing.app.Base. Program will exit." #756

Closed
processing-bugs opened this issue Feb 10, 2013 · 7 comments
Closed

Comments

@processing-bugs
Copy link

@processing-bugs processing-bugs commented Feb 10, 2013

Original author: scottaha...@gmail.com (June 02, 2011 22:52:43)

processing or arduino will not install on my 64 bit windows 7 machine

Original issue: http://code.google.com/p/processing/issues/detail?id=717

@processing-bugs
Copy link
Author

@processing-bugs processing-bugs commented Feb 10, 2013

This issue is a duplicate of #176

@processing-bugs
Copy link
Author

@processing-bugs processing-bugs commented Feb 10, 2013

From murray.m...@gmail.com on November 24, 2011 03:35:51
I'm in the same boat. I am running Ubuntu 11.10 64 bit, and got Processing 1.5.1 from this tarball: http://processing.googlecode.com/files/ ... -linux.tgz.

I am assuming that my problem is somehow 64-bit incompatibility related, because of the "wrong ELF class: ELFCLASS64" error. I'll try replacing the entire processing-1.5.1/java folder with a 64 bit java 1.5.1 distributable, but not tonight.

My error message went like this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/mindwave/processing-1.5.1/java/lib/i386/xawt/libmawt.so: libXtst.so.6: wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.(Toolkit.java:1627)
at processing.app.Base.(Base.java:445)
Could not find the main class: processing.app.Base. Program will exit.

@processing-bugs
Copy link
Author

@processing-bugs processing-bugs commented Feb 10, 2013

From mamba2...@gmail.com on November 24, 2011 07:03:17
You only need to create a symbolic link to your 64 bit jdk (assuming you've already got it installed).
In a console cd to the processing folder:-
then mv java to say java_old (or rm -rf java if you are brave)
ln -sfn /opt/jdk1.6.0_29 java

Do not bother developers with this, they've enough to do, this is not a development issue!!! I would prefer the option of expert download like Windows, but clearly most people are not ready for that.

@jecsanjuan
Copy link

@jecsanjuan jecsanjuan commented Jun 17, 2013

hello. how do you create a symbolic link? step by step? I am just a newbie in programming and it confused me. Thank you

@benfry
Copy link
Member

@benfry benfry commented Jun 20, 2013

Please use the forum for question; this is for bug reports and fixes.

@jecsanjuan
Copy link

@jecsanjuan jecsanjuan commented Jun 20, 2013

okay. thank you

@github-actions
Copy link

@github-actions github-actions bot commented Jun 17, 2021

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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants