Thread: Strange compiling errors

Results 1 to 8 of 8
  1. #1 Strange compiling errors 
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Code:
    server.java:307: reached end of file while parsing
                }
                 ^
    server.java:261: 'try' without 'catch' or 'finally'
            try {
            ^
    server.java:309: reached end of file while parsing
    →→
     ^
    3 errors
    Finished!
    Press any key to continue . . .
    Can someone please help?
     

  2. #2  
    Smithy Live
    Guest
    wtf is - →→?
     

  3. #3  
    Registered Member
    Cloke's Avatar
    Join Date
    Nov 2006
    Age
    27
    Posts
    747
    Thanks given
    14
    Thanks received
    1
    Rep Power
    130
    server.java:261: 'try' without 'catch' or 'finally'
    try {


    read it and you will know how to fix it.

    The compiler was parsing your code and was expecting another token--in this case, likely an ending brace: '}'--but instead reached the end of the stream.

    In layman's terms, you're missing a brace to close your class definition.
     

  4. #4  
    Registered Member
    AMG A Bear's Avatar
    Join Date
    Jun 2008
    Posts
    1,157
    Thanks given
    27
    Thanks received
    87
    Rep Power
    945
    at the end of the catch statement, add a:

    }
    catch (Exception e) {}

    If you still get the reached end of file error, add a bracket at the end of the page.
    Quote Originally Posted by The Night Life View Post
    Errm. I had a similar idea a very long time ago, about instead of current rs's gameframe, (622) making a rsps with about a 1645 or something. Make it look like you walked outside. I even gathered proffesional computer programmers to help, but bailed on the idea after i realized if we all worked on it non-stop for months at a time, we'd barely get any progress. (unless you wanted to half ass it)
     

  5. #5  
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Quote Originally Posted by call me bear View Post
    at the end of the catch statement, add a:

    }
    catch (Exception e) {}

    If you still get the reached end of file error, add a bracket at the end of the page.
    Did that and got 93 errors
     

  6. #6  
    Registered Member

    Join Date
    Aug 2007
    Posts
    2,395
    Thanks given
    2
    Thanks received
    63
    Rep Power
    558
    get an IDE retard
     

  7. #7  
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Get off my thread retard.
     

  8. #8  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    at the very end of the file, add }

    that parses it. Can you show me line 261 in server.java and the entire method its in?
     


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
  •