Thread: Changing .bat to .sh [ REP++ ]

Results 1 to 5 of 5
  1. #1 Changing .bat to .sh [ REP++ ] 
    Registered Member every1thing's Avatar
    Join Date
    Dec 2009
    Posts
    232
    Thanks given
    2
    Thanks received
    2
    Rep Power
    13
    i tried so much and i couldn't change my .bat to .sh
    I already wasted 2 days of my VPS!
    YES I TRIED frugooscape GUIDES!
    It would be great help if someone changed it:

    Code:
    @echo off
    title SERVER
    java -Xmx512m Server
    pause
    THANKS X10000 MUCH!
    MOW387

    [B]Emps-scape 600+ Players!

    20 Skills Working Now
    Reply With Quote  
     

  2. #2  
    Registered Member Zylsium's Avatar
    Join Date
    Jun 2010
    Posts
    111
    Thanks given
    2
    Thanks received
    2
    Rep Power
    3
    Replace
    Code:
    @echo off
    title SERVER
    java -Xmx512m Server
    pause
    With
    Code:
    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.Server
    See if that works, if not. I'm sorry if I wasted any of your time.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2008
    Posts
    58
    Thanks given
    2
    Thanks received
    2
    Rep Power
    1
    The .sh contents will just be
    Code:
    java -Xmx512m Server
    Save that as a .sh(If you don't know how to do that, sorry you shouldn't own anything linux) and then run it ./filename.sh.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Renown Programmer
    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,455
    Thanks given
    0
    Thanks received
    845
    Rep Power
    3019
    Having just the java command in there should be fine (i.e. remove lines one, two, and four).
    :-)
    Reply With Quote  
     

  6. #5  
    Registered Member every1thing's Avatar
    Join Date
    Dec 2009
    Posts
    232
    Thanks given
    2
    Thanks received
    2
    Rep Power
    13
    Quote Originally Posted by brains View Post
    the .sh contents will just be
    Code:
    java -xmx512m server
    save that as a .sh(if you don't know how to do that, sorry you shouldn't own anything linux) and then run it ./filename.sh.
    thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!

    Your the best!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Rep++++++++++++++++++++++++++++++
    MOW387

    [B]Emps-scape 600+ Players!

    20 Skills Working Now
    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
  •