Thread: Eclipse noob...

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Eclipse noob... 
    Registered Member
    Join Date
    Dec 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hey what's up everyone, I'm a bit of an Eclipse noob. I seem to understand the layout, it being just like Notepad but better, but whenever I try to run the client I get this:

    "unresolved compilation problem at "com.brutality.client.Client.main"

    Anyone know how to fix? You can obviously tell it's OSBrutality. First time working on a server and using Eclipse, been in the community forever though.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Dec 2015
    Posts
    176
    Thanks given
    31
    Thanks received
    22
    Rep Power
    0
    Google is a huge thing nowdays
    Reply With Quote  
     

  3. #3  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Try refreshing or cleaning the project. (Project --> Refresh; Project --> Clean project --> This project (It won't do any harm, don't worry). That generally resolves compilation errors, unless there are actual problems with the code.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks Eldritch, I'll give it a shot.
    @Carehome I have Googled it and it's no good, I couldn't find any source of answer.

    Edit: No good, tried to clean it and it didn't work.

    "Exception in thread "main" java.lang.Error: Unresolved compilation problem: at com.brutality.client.Client.main(Client.java:3887) "
    Reply With Quote  
     

  5. #5  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by SeaShanty View Post
    Thanks Eldritch, I'll give it a shot.
    @Carehome I have Googled it and it's no good, I couldn't find any source of answer.

    Edit: No good, tried to clean it and it didn't work.

    "Exception in thread "main" java.lang.Error: Unresolved compilation problem: at com.brutality.client.Client.main(Client.java:3887) "
    Show the code around that part (Client.java;3887). Compilation errors are usually always fixed by a simple refresh. I'd take a look at this myself if only I weren't so lazy >.> Sorry lol.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Eldritch View Post
    Show the code around that part (Client.java;3887). Compilation errors are usually always fixed by a simple refresh. I'd take a look at this myself if only I weren't so lazy >.> Sorry lol.
    Totally cool lol. Here's a screenshot of when I click the link at the bottom (Client.java.3887) http://imgur.com/a/tU2yU
    Reply With Quote  
     

  7. #7  
    Extreme Donator


    Join Date
    Nov 2011
    Posts
    311
    Thanks given
    15
    Thanks received
    94
    Rep Power
    361
    Quote Originally Posted by SeaShanty View Post
    Totally cool lol. Here's a screenshot of when I click the link at the bottom (Client.java.3887) http://imgur.com/a/tU2yU
    Looks like your build path wrong
    Reply With Quote  
     

  8. #8  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Yeah that's a compilation error. Make sure all libs are included in the project. It feels as if a/some lib(s) is/are missing. (The massive amount of errors displayed indicates that). If they're not included.. Project --> Locate the library that's not included yet --> Right click it --> Build path --> Add to build path.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Eldritch View Post
    Yeah that's a compilation error. Make sure all libs are included in the project. It feels as if a/some lib(s) is/are missing. (The massive amount of errors displayed indicates that). If they're not included.. Project --> Locate the library that's not included yet --> Right click it --> Build path --> Add to build path.
    Remember I'm a noob lol, this is my first time ever so I don't think I really understand. So just go to my Project -> Right click and locate the library (where would I find it?) -> Right click and build path -> Add

    Edit: Right clicked, build path, add library, now would this be my JRE System library?
    Reply With Quote  
     

  10. #10  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    https://puu.sh/tjbqG/7364f0cdf3.png
    This is of course if you have the actual libraries included in the client or whatever you're using there and just don't have them included in the project in Eclipse. Otherwise you'll need to figure out which libs you're missing, download them and then include them in the project.
    You can tell if a lib is already included in the project or not by looking at the java icon there by the library. The green/orange little rectangle thingy in the bottom left indicates it's already included.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 12-31-2015, 06:10 PM
  2. Eclipse noob question
    By Akitheone in forum Help
    Replies: 2
    Last Post: 12-17-2013, 09:05 AM
  3. Replies: 14
    Last Post: 11-27-2011, 04:04 AM
  4. Full Specials[not Noob Friendly]
    By Jamez in forum Tutorials
    Replies: 14
    Last Post: 05-20-2007, 01:13 AM
  5. Object Actions in TestScape (noob-friendly)
    By LandScape in forum Tutorials
    Replies: 0
    Last Post: 05-19-2007, 01:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •