Thread: How to JAR a client in Eclipse

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 How to JAR a client in Eclipse 
    Ask me how I'm doing

    .NF.'s Avatar
    Join Date
    Aug 2015
    Age
    28
    Posts
    2,165
    Thanks given
    285
    Thanks received
    612
    Discord
    View profile
    Rep Power
    501
    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.
    Spoiler for Click Me:

    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. =)








    Reply With Quote  
     


  2. #2  
    Registered Member Chas3r's Avatar
    Join Date
    Dec 2016
    Posts
    17
    Thanks given
    4
    Thanks received
    5
    Rep Power
    11
    Hopefully this will help all of the people that beg and beg for help on this simple subject, and surely it will look even better with pictures!
    Reply With Quote  
     

  3. #3  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    27
    Posts
    577
    Thanks given
    17
    Thanks received
    13
    Discord
    View profile
    Rep Power
    0
    Means alot for people posting stuff to help others out on rune-server not been the same here for years.
    Reply With Quote  
     

  4. #4  
    Ask me how I'm doing

    .NF.'s Avatar
    Join Date
    Aug 2015
    Age
    28
    Posts
    2,165
    Thanks given
    285
    Thanks received
    612
    Discord
    View profile
    Rep Power
    501
    Quote Originally Posted by 'Brad View Post
    Means alot for people posting stuff to help others out on rune-server not been the same here for years.
    Got tired of seeing the same questions being asked and users commenting "skype me ill do it $5". This is way too simple to keep paying people. Even if it helped 1 person, it's worth it.

    Reply With Quote  
     

  5. #5  
    Donator
    Gladius.'s Avatar
    Join Date
    May 2010
    Posts
    1,161
    Thanks given
    112
    Thanks received
    58
    Rep Power
    11
    there are many tut on how to jar a client but this will help alot of noobs


    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2017
    Posts
    158
    Thanks given
    5
    Thanks received
    5
    Rep Power
    10
    There is no reason to call people noobs they are just beginners just like all of us if your calling them noobs your calling your self noob well used to
    Reply With Quote  
     

  7. #7  
    Extreme Donator

    Join Date
    Oct 2011
    Posts
    232
    Thanks given
    3
    Thanks received
    14
    Rep Power
    37
    Quote Originally Posted by xOdin View Post
    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.
    Spoiler for Click Me:

    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. =)







    How come some people have to have JDK downloaded in order to run the jar file? Is that normal?
    Quote Originally Posted by Poseidon
    vouch for dragon trade went smooth
    Quote Originally Posted by Sillhouette
    Vouch for callmedragon, we went half and half on a service trade and he followed through
    Reply With Quote  
     

  8. #8  
    Ask me how I'm doing

    .NF.'s Avatar
    Join Date
    Aug 2015
    Age
    28
    Posts
    2,165
    Thanks given
    285
    Thanks received
    612
    Discord
    View profile
    Rep Power
    501
    Quote Originally Posted by callmedragon View Post
    How come some people have to have JDK downloaded in order to run the jar file? Is that normal?
    You don't need JDK to run a JAR file. You only need JRE (Java Runtime Environment)

    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Oct 2017
    Posts
    643
    Thanks given
    6
    Thanks received
    116
    Rep Power
    161
    thanks mate for help
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Mar 2018
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0


    I keep getting this problem. Any help?
    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. [614] How to make my client in .jar ?
    By oh hi broski in forum Help
    Replies: 1
    Last Post: 12-29-2013, 03:23 PM
  2. Replies: 6
    Last Post: 07-13-2013, 08:08 AM
  3. How To Jar a client?
    By RuneTools in forum Help
    Replies: 4
    Last Post: 12-16-2012, 10:41 AM
  4. Replies: 0
    Last Post: 09-09-2011, 06:21 PM
  5. any one teach me how to jar 508 client?
    By Ninja assassin in forum Help
    Replies: 1
    Last Post: 09-24-2010, 12:49 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
  •