Thread: galkons refactored jar?

Results 1 to 9 of 9
  1. #1 galkons refactored jar? 
    Registered Member
    Join Date
    May 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    yeah so i spent some time working with galkons refactored client
    and it turns out that when i jar it, it just doesnt open....

    shows some error in the java console

    any way to fix this? cause i tried with a un-edited version and it did the same thing.
    Reply With Quote  
     

  2. #2  
    Registered Member Hucci's Avatar
    Join Date
    Oct 2009
    Posts
    281
    Thanks given
    1
    Thanks received
    6
    Rep Power
    9
    Why not use a different client
    Reply With Quote  
     

  3. #3  
    Registered Member
    Nando's Avatar
    Join Date
    Feb 2009
    Age
    26
    Posts
    3,518
    Thanks given
    2,437
    Thanks received
    1,107
    Rep Power
    5000
    Quote Originally Posted by Daveallen View Post
    Why not use a different client
    that doesn't help his problem at all?

    try making the jar into .exe


    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    eh ill try that, hopefully it works cause galkons client is awesome
    Reply With Quote  
     

  5. #5  
    Respected Member


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    12,549
    Thanks given
    177
    Thanks received
    5,784
    Discord
    View profile
    Rep Power
    5000
    There's no reason why you couldn't jar it..What's the error you're getting?

    Reply With Quote  
     

  6. #6  
    Client God

    Join Date
    Aug 2009
    Posts
    3,130
    Thanks given
    3
    Thanks received
    614
    Rep Power
    896
    Make sure you change 2 methods for it will run
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    May 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    what do you mean?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    May 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    i figured out what's causing it but still don't get it.

    the original bat file that jar maker made with the client jar is
    @ECHO OFF
    ECHO THIS BATCH IS FOR DEBUGGING THE EXECUTABLE JAR ONLY
    ECHO DOUBLE-CLICK THE "Client.jar" TO RUN IT
    ECHO -
    ECHO Generated by: JAR Maker ([Only registered and activated users can see links. ])
    @ECHO ON
    java -jar Client.jar
    @ECHO OFF
    pause
    HOWEVER, it will only open the client if i use this in the bat
    @ECHO OFF
    ECHO THIS BATCH IS FOR DEBUGGING THE EXECUTABLE JAR ONLY
    ECHO DOUBLE-CLICK THE "Client.jar" TO RUN IT
    ECHO -
    ECHO Generated by: JAR Maker ([Only registered and activated users can see links. ])
    @ECHO ON
    java -jar Client.jar 10 0 highmem members 32
    @ECHO OFF
    pause
    "10 0 highmem members 32"

    the problem now is that i can only open it from the bat file and not the jar its self
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Oct 2009
    Posts
    115
    Thanks given
    3
    Thanks received
    5
    Rep Power
    105
    Quote Originally Posted by Decs View Post
    i figured out what's causing it but still don't get it.

    the original bat file that jar maker made with the client jar is


    HOWEVER, it will only open the client if i use this in the bat


    "10 0 highmem members 32"

    the problem now is that i can only open it from the bat file and not the jar its self
    You need to run it from a batch file to use Java arguments.
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •