Thread: classpath error? or something close to that.

Results 1 to 6 of 6
  1. #1 classpath error? or something close to that. 
    Registered Member JeremyM's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    251
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Code:
    Running Compiler
    --------------------------------------
    server.java:52: cannot access handling.Handlers.CommandManager
    bad class file: .\handling\Handlers\CommandManager.java
    file does not contain class handling.Handlers.CommandManager
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
            public static CommandManager CommandManager = null;
                          ^
    Press any key to continue . . .
    I tried to package CommandManager, well idk why it says it can't read it? What is wrong? Someone help
    Love the Weed! Don't do it...it will get you hooked.

    Working on life.

    Like a Boss!
    Reply With Quote  
     

  2. #2  
    Registered Member Mini's Avatar
    Join Date
    Jul 2007
    Posts
    285
    Thanks given
    5
    Thanks received
    7
    Rep Power
    35
    Is the path to the file right? Meaning, do you have letters lowercased where needed and capitalized when necessary? Other than that, I'm not sure..
    Reply With Quote  
     

  3. #3  
    Registered Member JeremyM's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    251
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    From what I see they are all good. Eh I really want to package this stuff...
    Love the Weed! Don't do it...it will get you hooked.

    Working on life.

    Like a Boss!
    Reply With Quote  
     

  4. #4  
    Registered Member Mini's Avatar
    Join Date
    Jul 2007
    Posts
    285
    Thanks given
    5
    Thanks received
    7
    Rep Power
    35
    Do you have like
    Code:
    package handling.Handlers.CommandManager
    or whatever you have to put at the top of the CommandManager.java?
    Reply With Quote  
     

  5. #5  
    Registered Member JeremyM's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    251
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Yes I do.
    Love the Weed! Don't do it...it will get you hooked.

    Working on life.

    Like a Boss!
    Reply With Quote  
     

  6. #6  
    Registered Member JeremyM's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    251
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    I fixed it already, thanks for your help.

    In CommandManager I had import handling.Handlers.*; All I needed was just import src.*;
    Love the Weed! Don't do it...it will get you hooked.

    Working on life.

    Like a Boss!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •