Author Topic: [Tut] Random closing.  (Read 185 times)

Ine Master

  • Administrator
  • Techno Junior
  • *
  • Posts: 83
  • Reputation 16
    • View Profile
    • Ine Scape - how it supposed to be!
[Tut] Random closing.
« on: December 02, 2010, 05:37:34 pm »
[Tutorial] How To Fix The 64-Bit Client Crashes [Tutorial]
    So this "fixes" the client crash
    after you clicked 2 times in your client?

    But this isn't a real fix it's more like a walk around.
    Well I also had the problem once though ,and i'm here to explain why.

    Most run applications in clients look like this:

Code: [Select]
    Quote:
    @echo off
    Start java -Xmx500m -cp .;Theme.jar Gui
    exit

    This code "only" works on 32Bit machines. (on some 64Bitmachines should it work)
    Why? because this piece of code follows this path: programfiles/java/jre6......
    Now We are on a OS that haves a Program Files (x86).
    So this code should work.


Code: [Select]
    @echo off
    cls
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
    exit
    pause

    If it still doesnt work here some envoirement variables you might want to add.
    CLASSPATH
Code: [Select]
    C:\Program Files (x86)\Java\jdk1.6.0_22\bin
    CLASSPATH

Code: [Select]
    CLASSPATH=C:\Program Files (x86)\Java\jdk1.6.0_22\bin;%CLASSPATH%;
    If you set your variables you will only need to have in your client run batchfile :

Code: [Select]
    java -Xmx500m -cp .;Theme.jar Gui

Q&a

Q. = Where should i put these codes ?
A. = Right click on the run file--> Click edit--->delete that code and paste one of the codes above.
Ine How it supposed to be Scape

Share on Bluesky Share on Facebook


rabbit

  • techno Newbie/Junior
  • *
  • Posts: 17
  • Reputation 5
    • View Profile
Re: [Tut] Random closing.
« Reply #1 on: December 04, 2010, 02:35:07 am »
Thank you for the help.  ;D It worked wonderfully for me.

Ine Master

  • Administrator
  • Techno Junior
  • *
  • Posts: 83
  • Reputation 16
    • View Profile
    • Ine Scape - how it supposed to be!
Re: [Tut] Random closing.
« Reply #2 on: December 04, 2010, 03:26:03 pm »
No problem

Ine How it supposed to be Scape

R

  • Global Moderator
  • Techno Full
  • *
  • Posts: 101
  • Reputation 3
    • View Profile
Re: [Tut] Random closing.
« Reply #3 on: December 04, 2010, 03:33:43 pm »
yepp worked for me too
Hey Its "R" from in game, i'd love to help out so anytime i'm on pm me for some help or pm me on here!(:

<R.I.P MOM<3 LOVE YOU>


Ine Master

  • Administrator
  • Techno Junior
  • *
  • Posts: 83
  • Reputation 16
    • View Profile
    • Ine Scape - how it supposed to be!
Re: [Tut] Random closing.
« Reply #4 on: December 04, 2010, 03:36:09 pm »
sweet <3
Ine How it supposed to be Scape

Ine Master

  • Administrator
  • Techno Junior
  • *
  • Posts: 83
  • Reputation 16
    • View Profile
    • Ine Scape - how it supposed to be!
Re: [Tut] Random closing.
« Reply #5 on: December 10, 2010, 04:53:56 pm »
Not all of the computers need this. ;)
Ine How it supposed to be Scape