Compiling PokeNET .Jar Files to Exe for Windows

Results 1 to 13 of 13
  1. #1
    Hardcore Member Altheim is offline
    MemberRank
    Sep 2011 Join Date
    102Posts

    Compiling PokeNET .Jar Files to Exe for Windows


    RaGEZONE Recommends

    RaGEZONE Recommends

    Alright bud, this is my first time to write a tutorial, so don't expect anything marvelous from it.
    I'll keep things short, ask question (question, not questions :p) if you don't understand about something...

    After compiling you .jar, you'll have something like this...


    Things that you'll need


    Alright, i'll assume you have instaled both your Java & JRE now.
    Now step
    1. Extract Your PokeNet and go to your client file, it'll probably look like this


    2. Get your Launch4J up, your output file will be where the exe files comes out,
    your jar, would be your client .jar files!

    You can put any icons that you want it to have in your icon path, process priority is how you want your exe priority to run in the user computer(i would suggest to leave it as normal)

    Error title is when the java crashed.
    Here's a screenie to help you get it buddy


    3. Click on your JRE tab in your Launch4J
    Now, you would wanna put in the JRE path of your client (same folder as the client, look at my first ss of the client for reference)
    Here, i'll just make it simple and make it in the same folder, but you might wanna put it in the lib to hide it a bit so ur client looks cool...

    The Min JRE version would be your JRE version, the max as well, but don't really bother with it mate, you got the bundled version already, so why bother??

    Now don't tick the 64-bit, otherwise people with 32-bit windows won't be able to run it,

    Next step is your JVM options, this is the line that you usually find in your start.bat, put it there~

    Here's a screenie to help you get it


    4. The Version Info, go ahead and bust your way through it, or just leave it empty


    5. Ur' good to go! now just click that gear icon over there, and freakin save your setting!


    6. Save it, and it'll compile..

    7. Don't go to your exe file yet, go to you "C:\Program Files (x86)\Java" or wherever you installed your JRE, now copy the damned file


    8. Now you can go to your client folder...
    Now in my case, the JRE patch that i set before was just "JRE6", so i would rename the folder that i copied from my java installation into "jre6", and put it into my client folder...

    Then, you better get the lib & res files from your PokeNet client source, and paste it into your client folder, don't forget the rev.txt

    It'll look like this once you completed everything...


    9. Test it! (You can uninstall your JAVA & JRE to if you want... you don't need it anymore to run the client)

    Here's my client screenshot!


    NB:
    What's awesome about it is, you no longer have that black annoying CMD box, so it'll all look beautiful now!

    And sorry PokeNet, you ain't getting ur default screen in my client


    Now, everyone can be happy! No Java, no JRE, whatever hate complicated stuff, just play the game! Let's roll~
    Last edited by Altheim; 13-09-13 at 07:52 AM.


  2. #2
    Delta Subscription xkl is offline
    SubscriberRank
    Dec 2011 Join Date
    252Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Why doesn't this thread have comments yet?
    Anyways, excellent tutorial man! :)
    This should be implemented on every server running, PokeNET.

  3. #3
    Hardcore Member Altheim is offline
    MemberRank
    Sep 2011 Join Date
    102Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Probably because anyone have tried it??
    Hahahaha,

    Thanks bro, and
    indeed, it's a really helpful program, eliminates all the hassle and barrier making player install a JAVA :D

    Btw, xkl, are you still working on the PokeNet project??

  4. #4
    Earth is Beautiful. vergil250493 is offline
    Gold SubscriberRank
    Jul 2009 Join Date
    brazilLocation
    403Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Quote Originally Posted by xkl View Post
    Why doesn't this thread have comments yet?
    Anyways, excellent tutorial man! :)
    This should be implemented on every server running, PokeNET.

    do you can help me with pokemon server ?

  5. #5
    Hardcore Member Altheim is offline
    MemberRank
    Sep 2011 Join Date
    102Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Quote Originally Posted by vergil250493 View Post
    do you can help me with pokemon server ?
    Use pokemonium source, they're a good one, and read some guides :D

  6. #6
    Account Inactive fokerss is offline
    InactiveRank
    Nov 2013 Join Date
    5Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    my game have no speech and no monster at all .... and no words appear......

  7. #7
    Hardcore Member Altheim is offline
    MemberRank
    Sep 2011 Join Date
    102Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Quote Originally Posted by fokerss View Post
    my game have no speech and no monster at all .... and no words appear......
    You are using the wrong java version then :o
    Are you using Poke.Net / Pokemonium??

    PokeNet require Java 6, Pokemonium require java7

  8. #8
    Account Inactive fokerss is offline
    InactiveRank
    Nov 2013 Join Date
    5Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    i host pokenet ... require java 6 jre and jdk?


  9. #9
    Hardcore Member Altheim is offline
    MemberRank
    Sep 2011 Join Date
    102Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Quote Originally Posted by fokerss View Post
    i host pokenet ... require java 6 jre and jdk?

    Yep, java 6 jre and jdk

  10. #10
    Earth is Beautiful. vergil250493 is offline
    Gold SubscriberRank
    Jul 2009 Join Date
    brazilLocation
    403Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    Quote Originally Posted by Altheim View Post
    Use pokemonium source, they're a good one, and read some guides :D
    thanks for the help

  11. #11
    Registered learn4hack is offline
    MemberRank
    Apr 2015 Join Date
    10Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    can you repost picture on number 3, 7 8 ? i cannot see it... i want change to exe but looks like not clear to me. please.

  12. #12
    Hardcore Member King Boss is offline
    MemberRank
    Jul 2016 Join Date
    105Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows

    not working i installed java jre 1.8.0 and 1.6.0 but every time itshow me an error pls help me

  13. #13
    Omg It's -DefaulT -DefaulT is offline
    True MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,402Posts

    Re: Compiling PokeNET .Jar Files to Exe for Windows





Advertisement