Re: Problem using eclipse 3.1M4 with sablevm
Etienne Gagnon <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | UQAM |
| Message-ID | <[email protected]> |
Hi Sascha, Sascha Flohr wrote: > 1. Starting eclipse with the script from the Wiki I got following > output: > > !MESSAGE While loading class "org.eclipse.ui.plugin.AbstractUIPlugin", > thread "F ramework Event Dispatcher" timed out waiting (5000ms) for > thread "Main-1" to fin ish starting bundle "org.eclipse.ui.workbench". > To avoid deadlock, thread "Frame work Event Dispatcher" is proceeding > but "org.eclipse.ui.plugin.AbstractUIPlugin " may not be fully > initialized. > !STACK 0 > java.lang.Exception: Generated exception. > at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass > (Eclips eClassLoader.java:102) ... Maybe Eclipse's timeout is too low? it gives up after 5 seconds. It takes ~30-45 seconds (depends on the opened projects) to boot on my system (Debian Sid/PowerPC). > 2. I opened the preferences and went to "Java/Installed JREs". The > accordant settings screen opened and showed me the former used Sun JDK. > Now I wanted to add another (sable you will have guessed) VM and pushed > the "Add" button ... that's it for eclipse:( ... eating all of my > processor time and never coming back. Weird. It does not do that to me. See attached screenshot. Note, however, that SableVM cannot be added as a VM into Eclipse. Eclipse's notion of a VM seems very Sun centric... What you can do is add libclasspath.jar as an external Jar in your java projects, so that Eclipse's internal compiler can work. It would be interesting if you could give us a the stack trace gathered by hitting "Ctrl" and "\" [Ctrl+\] when SableVM freezes. This sends SableVM a SIGQUIT signal. Alternatively, you can "kill -3 PID" where PID is the process ID of sablevm running Eclipse (as gathered with "ps"). Have fun! Etienne -- Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ _______________________________________________ SableVM-user mailing list [email protected] http://sablevm.org/lists/control/listinfo/sablevm-user
addvm.jpg
(image/jpeg, 30 KB) - not displayed