1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, If you'd like to instant message with many other users, then join our
    Official Rune-Status Discord Server!
    Dismiss Notice
  3. Got your own Server? Looking for a Server to play right now??
    Make sure you check out the Public Server Directory!
    Dismiss Notice
  4. If you're new to the Rsps Scene and want to jump straight into learning how to Set-up and Customise your own RuneScape Private Sever then check out the Guides and Tutorials for RS2 here.
    Dismiss Notice
Dismiss Notice
Hey Guest,
Are you sure your posting in the Right Sections?
If your unsure which RuneTek version you are working with visit this page to find out.

How to JAR a Client

Discussion in 'Guides & Tutorials' started by Life, Jul 12, 2017.

  1. Okay I've been messaged about this at least 5 times this week, and seen posts on this, and didn't find any tutorial that went in depth without people commenting that it didn't work. This is an extremely easy and basic thread. Will add photos whenever my ShareX stops acting up.



    1. Import your Client into Eclipse
    File
    New
    Java Project
    Uncheck "Use Default Location" and find the location of your client.
    [​IMG]


    2. Setup
    Setup the VPS IP address on your client, usually located in Client.java, or ClientLoader.java
    [​IMG]

    3. Running the client
    Right click your client, and choose "Run as", then "Java Application".
    You may get a popup asking what directory you'd like to run, but usually it will auto-load the client. If not, choose something like RSClient, Loader, Client, etc.
    Close out of the client.
    [​IMG]

    4. Exporting
    Select your client in the Package Explorer, right click, and choose "Export".
    Open the Java drop down arrow, and choose "Runnable JAR", and click Next.
    First, choose your launch configurations; you SHOULD only have 1 since you ran your client in the last step, so chose that one, and choose where you want the JAR file to be stored.
    Keep "Libarary Handling" as "Extract required libraries into generated JAR", and click "Finish"
    Click "OK" when you get the next popup mentioning that the operation repacks referenced libraries.
    You will receive another popup saying your JAR has exported with warnings (Don't worry about that).
    [​IMG]

    5. Finishing up
    Find your JAR where you exported it, and start it up!


    For those who still didn't understand, here's a video tutorial.
    This is a GIF. If it goes too fast, just keep watching it's a loop video.



    Now please stop messaging me and paying grimy users on this site to do a 2 minute step. Happy JARing. =)







     
    #1 Life, Jul 12, 2017
    Last edited: Jul 12, 2017
  2. Very nice (gif needs to be either attached or imgur hosted or similar ;) )
     
Loading...