You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: