Thread: Compiler - Take a look!

Results 1 to 5 of 5
  1. #1 Compiler - Take a look! 
    sizar12
    Guest
    Ive got an error , it says
    pcscape client.java:15: class client is a public, should be declared in a file named client.java

    public class client extends Player implements Runnable }

    1 error
    Finished!
    Click any buttons to continue...


    Many people says you need to rename the client.java to client.java i already done it i keep get that error, it must be because ive renamed the client.java once before..


    Im confused,

    If you know how to fix it please contact me..


    Update: -Thanks for reading-





    Reply With Quote  
     

  2. #2  
    Log out, please.

    Georgio's Avatar
    Join Date
    Apr 2009
    Posts
    1,431
    Thanks given
    212
    Thanks received
    50
    Rep Power
    1585
    Go to your client java then click "save as" client.java and under it pres all files then OK
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    The bracket is the wrong way round as well.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Lingerz's Avatar
    Join Date
    Dec 2008
    Age
    29
    Posts
    396
    Thanks given
    2
    Thanks received
    2
    Rep Power
    176
    You have your opening bracket facing inwards. } should be {
    Reply With Quote  
     

  5. #5  
    Gods-Fury
    Guest
    Change your bracket from } to {
    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

Tags for this Thread

View Tag Cloud

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