Thread: Eclipse IDE Question/Problem

Results 1 to 4 of 4
  1. #1 Eclipse IDE Question/Problem 
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    Hello, recently i decided to use Eclipse again so i re-downloaded it.
    When i opened it i noticed that some things changed when you press new java project:

    How it used to be (not my picture):




    How it is now(my picture):




    Okay so, when i tried setting it up i ended up at this:




    and my question is , in a tutorial i road it told me to select this:



    but it doesn't show the server -org


    please i need help i'm really confused atm.

    if someone could tell me how to setup Eclipse for my rsps tell me because i think ECLIPSE updated .

    Thanks you.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    You need the method where static void main(string args[]) is in.
    Reply With Quote  
     

  3. #3  
    Extreme Donator


    Join Date
    Oct 2006
    Posts
    1,370
    Thanks given
    64
    Thanks received
    197
    Rep Power
    426
    Untick the "use default location" box, then browse to the /src/ folder of your RSPS, then click finish.


    ~flow@hacking . rs
    Reply With Quote  
     

  4. #4  
    Registered Member Delx's Avatar
    Join Date
    Jul 2011
    Age
    28
    Posts
    321
    Thanks given
    100
    Thanks received
    21
    Rep Power
    11
    Okay so, i did everything it all worked fine but when i press run, it runs but with an error:

    Code:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    	PlayerHandler cannot be resolved to a type
    	Player cannot be resolved to a type
    	PlayerHandler cannot be resolved to a variable
    	PlayerSave cannot be resolved
    	Client cannot be resolved to a type
    
    	at server.Server.main(Server.java:150)
    I went to line 150 in server.java and saw this (line 150 red collor):

    Code:
    try {
    			while (!Server.shutdownServer) {
    				if (sleepTime >= 0)
    					Thread.sleep(sleepTime);
    				else
    					Thread.sleep(600);
    				engineTimer.reset();
    				itemHandler.process();
    				playerHandler.process();	
    	                        npcHandler.process();
    				shopHandler.process();
    				objectManager.process();
    				fightPits.process();
    				pestControl.process();
    				cycleTime = engineTimer.elapsed();
    				sleepTime = cycleRate - cycleTime;
    				totalCycleTime += cycleTime;
    				cycles++;
    				debug();
    Could you explain me how to fix this please?
    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

Similar Threads

  1. Eclipse.. IDE
    By Arron in forum Help
    Replies: 2
    Last Post: 01-10-2012, 08:30 PM
  2. Replies: 4
    Last Post: 01-23-2010, 07:33 AM
  3. Eclipse IDE
    By Mrthunder23 in forum Help
    Replies: 10
    Last Post: 09-14-2009, 06:28 PM
  4. Replies: 20
    Last Post: 04-21-2009, 05:23 PM
  5. The usage of Eclipse as IDE.
    By Maxi in forum Downloads
    Replies: 12
    Last Post: 10-24-2008, 07:22 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •