Thread: Runnable jar

Results 1 to 2 of 2
  1. #1 Runnable jar 
    Registered Member

    Join Date
    Jul 2007
    Age
    28
    Posts
    460
    Thanks given
    83
    Thanks received
    52
    Rep Power
    87
    Hello, I have problem with my client. If I export client as Runnable jar everything work for me, but for my friend is client small, he got resolution scale on windows 125% every other client that he try working for him fine, he got java compatibility on system. I have try to replicate his settings on my PC but without luck. Any idea how to fix this ?

    If I run client with .bat file with java or javaw options client will load fine for him
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jul 2007
    Age
    28
    Posts
    460
    Thanks given
    83
    Thanks received
    52
    Rep Power
    87
    bump I did try to reinstall java on my PC and export server with defferent version but still save problem, client ignoring windows scale and is small, if I run client by shell script java or javaw it work fine.... any idea where can be problem ?

    I fexed this problem by running
    Code:
    		File jarFile = new File(Launcher.class.getProtectionDomain().getCodeSource().getLocation().toURI());
    		String cmd = "java -Xmx1g -Xms1g -cp \"" + jarFile.getPath() + "\" \"net.runelite.client.RuneLite\"";
    		Runtime.getRuntime().exec(cmd);
    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. [317] Donwloading runnable jar "JNI errors"
    By chase92 in forum Help
    Replies: 14
    Last Post: 07-02-2019, 08:41 PM
  2. Replies: 0
    Last Post: 05-13-2015, 01:30 PM
  3. Replies: 28
    Last Post: 05-04-2008, 07:38 PM
  4. Easy way of making a JAR file
    By MuZzA in forum Tutorials
    Replies: 5
    Last Post: 11-21-2007, 06:18 PM
  5. Making a .JAR file to .CLASS files
    By ParasyncheD in forum Tutorials
    Replies: 10
    Last Post: 05-18-2007, 04:05 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
  •