Problem on running Aurora

15 views
Skip to first unread message

Andy

unread,
Jun 2, 2008, 7:29:19 PM6/2/08
to aurorarnm
Hi Alex (or others),

I have just updated the Aurora codes on my computer. After doing so,
I can't compile and run both simulator and configurator. The error
messages are:

For simulator:

"java.lang.NoClassDefFoundError: aurora/hwc/gui/MainPane
Exception in thread "main""

For configurator

"java.lang.NoClassDefFoundError: aurora/hwc/config/MainPane
Exception in thread "main""


Do you have any clue? Please advise.

Andy

Alex

unread,
Jun 3, 2008, 1:10:51 AM6/3/08
to aurorarnm
Suggestion:

1. Remove gt2*.jar, geoapi*.jar and jts-1.8.jar from your library list
by going to Project -> Properties and selecting 'Java Build Path'

Try to run now. Some errors will be displayed, but it doesn't matter.

2. If it runs fine, add these jars back to the library list.

Andy

unread,
Jun 3, 2008, 4:31:22 PM6/3/08
to aurorarnm
Hi Alex,

I can open the simulator/configurator by reconstructing the library
list. However, I couldn't run (i.e. open a file) a simulation without
disabling the following lines (rows 420 - 438 in MainPane.java). It
appears that there is some problem in compiling the class "desktop".
Same problem happened to me before. Would it be a "bug"? Please check.
Thanks.


if (cmdHelpAbout.equals(cmd)) {
new WindowAbout("Simulator", this);
return;
}
if (cmdHelpContactTOPL.equals(cmd)) {
Desktop desktop = null;
String email = AuroraConstants.CONTACT_EMAIL;
if (Desktop.isDesktopSupported()) {
desktop = Desktop.getDesktop();
if (desktop.isSupported(Desktop.Action.MAIL))
try {
desktop.mail(new URI("mailto", email, null));
return;
}
catch(Exception exp) { }
}
JOptionPane.showMessageDialog(this, "Cannot launch email client...
\n Please, email your questions to\n" + email , "",
JOptionPane.INFORMATION_MESSAGE);
return;
}
Reply all
Reply to author
Forward
0 new messages