Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Sorry, I don't think you could have read through the 7 or so pages so quickly.
  2. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Have you read the tutorial about packages: Creating and Using Packages (The Java™ Tutorials > Learning the Java Language > Packages)

    If you have questions after reading the tutorial, copy the...
  3. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Did you read the error message? Now the compiler can not find another package: org.apache.mina...

    Where is dir command used to show what was in the folder?

    Read the tutorial given in post#15
  4. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Take a look at the tutorial: Creating and Using Packages (The Java™ Tutorials > Learning the Java Language > Packages)
  5. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Please re-read post #12.
  6. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    What happens when you execute that command?

    The command line to use depends on where the files and folders are located.
    Please copy the full contents of the console window where you enter the...
  7. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    Set the -cp option to point to the folder with stickemu folder. Make sure the other classes are in the folders that reflects their packages.

    Try using google to get more info on how to use...
  8. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    The compiler can not find the packages the import statements refer to.

    The classpath needs to point to the folder that contains the first folder on the package path: stickemu
  9. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    With this package: stickemu.Tools the Tools folder must be in the stickemu folder
    The stickemu folder must be in the current folder.
  10. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    You need to find the definitions for those packages and make sure they are on the classpath for the compiler.
    Are those packages in a jar file or are they files in a folder?

    How are you...
  11. Replies
    21
    Views
    2,844

    Re: class,interface, or enum expected?

    A class can only be in one package.
    The compiler is confused by the extra package statements and is looking to find a definition for: class,interface, or enum after the first package statement.
Results 1 to 11 of 11