Thread: Running and compiling on linux x64

Results 1 to 6 of 6
  1. #1 Running and compiling on linux x64 
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Anybody know how to do it? i know it has something to do with a bash file becuase i got my client to run. but i have 64-bit so it just closes out right away.

    heres the run.bat for server.
    Code:
    @echo off
    title Divine Rampage
    java -Xmx512m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar;-server -XX:+AggressiveHeap -XX:MaxHeapFreeRatio=90 -XX:MinHeapFreeRatio=90 -XX:+DisableExplicitGC -XX:+RelaxAccessControlCheck -XX:+UseParallelGC -XX:CompileThreshold=1 -XX:ThreadStackSize=128 server.Server
    pause
    heres compiler
    Code:
    @echo off
    :build
    cls
    "C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe" -classpath deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\world\map\*.java
    pause
    this is run.sh for client
    Code:
    @echo off
    #!/bin/bash
    title Divine Fury
    java -Xmx300m Jframe 10 0 highmem members 32
    pause
    and compiler
    Code:
    @echo off
    COLOR 9
    Title Compiler
    "C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe" *.java
    pause
    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    compiler

    javac *.java

    run

    java -Xmx300m Jframe 10 0 highmem members 32
    Reply With Quote  
     

  3. #3  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by animeking1120 View Post
    that doesnt even make them a shell? are u retarded or just want post count? Read the topic b4 u post next time reject.
    No one will help you because I posted how to compile and also run.

    If you do not know how to create a shell script and put those lines in well good luck with RSPS.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Feb 2008
    Posts
    384
    Thanks given
    30
    Thanks received
    26
    Rep Power
    0
    instead of using ; use a :
    Reply With Quote  
     

  5. #5  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Quote Originally Posted by RogueX View Post
    No one will help you because I posted how to compile and also run.

    If you do not know how to create a shell script and put those lines in well good luck with RSPS.
    okay still doesnt explain how to run 64-bit because when i run my client using java it fucks up half the sprites and closes after 2 steps
    Reply With Quote  
     

  6. #6  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by animeking1120 View Post
    okay still doesnt explain how to run 64-bit because when i run my client using java it fucks up half the sprites and closes after 2 steps
    64 bit and 32 bit make no difference in linux. However directory naming is case sensitive.

    Example

    /root/images/image.png

    we have to use that path we cannot have /root/Images/image.png
    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
  •