Thread: Error when compiling configured IP.

Results 1 to 7 of 7
  1. #1 Error when compiling configured IP. 
    Registered Member
    Join Date
    Sep 2013
    Posts
    36
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    How might I configure the IP of a client of my server to connect to the localhost?

    I get this error when I try to compile the client.java after I edit the IP to 127.0.0.1 :43594 . Their are two places I edited it in, the first simply server = *.*.*.* ; the second being public static String server = "127.0.0.1 :43954";
    What have I done wrong? I'm new to RSPS.
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    remove the space between the Localhost and the :

    Cheers,
    Nighel
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Nov 2010
    Age
    14
    Posts
    2,639
    Thanks given
    158
    Thanks received
    280
    Rep Power
    0
    you mean localhost?

    then it's the reply above
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Sep 2013
    Posts
    36
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    Well, I did what you guys said but I still get the error. Here is the text file of client.java, Client.txt, it's over 100,000 characters so I can't post it here.
    Reply With Quote  
     

  5. #5  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Shut up if you don't know.


    Server is a string. Put it in quotes. ""

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jun 2012
    Posts
    438
    Thanks given
    13
    Thanks received
    27
    Rep Power
    0
    wait you got eclipse open but using a batch compiler o.o
    as eclipse said it is a string so it must have quotations and btw don't use :43594 thats should be somewhere else
    so just leave as
    Code:
    server = "127.0.0.1";
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Sep 2013
    Posts
    36
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Eclipse View Post
    Shut up if you don't know.


    Server is a string. Put it in quotes. ""

    Aha, it compiled, thank you very much

    Finally, after a week, I got my first RSPS Thankyou everyone!
    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. Replies: 10
    Last Post: 01-04-2010, 10:53 AM
  2. Error When Compiling
    By 2good4you in forum Help
    Replies: 10
    Last Post: 01-01-2010, 01:57 AM
  3. 2 small errors when compiling
    By DarkArt in forum Help
    Replies: 6
    Last Post: 12-27-2009, 12:53 AM
  4. tempSave ERROR WHEN COMPILING
    By Ryann in forum Help
    Replies: 2
    Last Post: 10-29-2009, 03:50 AM
  5. Javac error when Compiling? - Fix it!
    By Mickle in forum Tutorials
    Replies: 2
    Last Post: 12-04-2007, 05:13 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
  •