Help
"edgnets" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jorge, Looks like your Event.java file does not have a reserved work that define it as class, interface, or enum. Review it and see if you forgot the 'public class' declaration. Post the Event.java code if you can. Jorge Gallardo Rius wrote: > Dear sirs, > I am an experienced programmer but a beginner with Java and NetBeans. I am trying to run the Netbeans Selection Management Tutorial for Netbeans Platform and have built the the first excercise, but when I run it, I get the following error message: > > > Compiling 1 source file to C:\Users\Jorge\Documents\NetBeansProjects\EventManager\MyAPI\build\classes > warning: [options] bootstrap class path not set in conjunction with -source 1.6 > C:\Users\Jorge\Documents\NetBeansProjects\EventManager\MyAPI\src\org\myorg\api\Event.java:10: error: class, interface, or enum expected > * > C:\Users\Jorge\Documents\NetBeansProjects\EventManager\MyAPI\src\org\myorg\api\Event.java:11: error: class, interface, or enum expected > * @author Jorge > 2 errors > > 1 warning > > > I appreciate any help I can get. > > > Jorge Gallardo