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

rDNA does not fully work on MacOS #21

Closed
leifeld opened this issue Nov 28, 2013 · 1 comment
Closed

rDNA does not fully work on MacOS #21

leifeld opened this issue Nov 28, 2013 · 1 comment
Labels

Comments

@leifeld
Copy link
Owner

leifeld commented Nov 28, 2013

A problem occurs when trying to run rDNA on MacOs 10.5 or 10.6. It is possible to compile, install and load the package in R, but executing the dna.gui() command fails. The error messages are "Apple AWT Java VM was loaded on first thread -- can't start AWT." and "Error in .jnew("dna/Dna") : java.lang.NoClassDefFoundError: dna/Dna". However, DNA (without the R package rDNA) works well on MacOS.

Update: The problem is apparently caused by the fact that java.awt.Color (and possibly other AWT or Swing classes) are loaded in the main thread (i.e., in the very first thread that is started). A possible solution could be to start a new thread for the rest of DNA immediately after starting the main class of DNA (or any class associated with the DNA JAR file).

First submitted: 2011-03-17

@leifeld
Copy link
Owner Author

leifeld commented Oct 20, 2016

rDNA is not compatible with DNA 2.0 and needs to be rewritten completely anyway.

@leifeld leifeld closed this as completed Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant