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.
2. Setup
Setup the VPS IP address on your client, usually located in Client.java, or ClientLoader.java
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.
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).
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.
Now please stop messaging me and paying grimy users on this site to do a 2 minute step. Happy JARing. =)