View previous topic :: View next topic |
Author |
Message |
(\/)_(;,,;)_(\/) Grandmaster Cheater Supreme
Reputation: 3
Joined: 07 Apr 2008 Posts: 1610
|
Posted: Sun May 23, 2010 3:24 pm Post subject: DOS->Linux |
|
|
Who can help me convert these from .bat to .sh?
Code: |
@echo off
@title World Server
set CLASSPATH=.;dist\PMS.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -Xmx100m -Drecvops=recvops.properties -Dsendops=sendops.properties -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd net.world.WorldServer
pause
|
Code: |
@echo off
@title Login Server
set CLASSPATH=.;dist\PMS.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -Xmx100m -Drecvops=recvops.properties -Dsendops=sendops.properties -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd net.login.LoginServer
pause
|
Code: |
@echo off
@title Channel Server
set CLASSPATH=.;dist\ShineSource.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -Xmx600m -Drecvops=recvops.properties -Dsendops=sendops.properties -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd net.channel.ChannelServer -Dcom.sun.management.jmxremote.port=13373 -Dcom.sun.management.jmxremote.password.file=jmxremote.password -Dcom.sun.management.jmxremote.access.file=jmxremote.access
pause
|
|
|
Back to top |
|
 |
Hero I'm a spammer
Reputation: 79
Joined: 16 Sep 2006 Posts: 7154
|
Posted: Sun May 23, 2010 6:09 pm Post subject: |
|
|
Bat to sh
Its amazing how many links there are huh?
|
|
Back to top |
|
 |
(\/)_(;,,;)_(\/) Grandmaster Cheater Supreme
Reputation: 3
Joined: 07 Apr 2008 Posts: 1610
|
Posted: Sun May 23, 2010 7:46 pm Post subject: |
|
|
Hero wrote: | Bat to sh
Its amazing how many links there are huh? |
Too bad I've tried them all, huh?
|
|
Back to top |
|
 |
WinRAR Grandmaster Cheater
Reputation: 1
Joined: 16 Mar 2007 Posts: 890 Location: skullfucking dead children
|
Posted: Mon May 24, 2010 12:51 am Post subject: |
|
|
x2Gιя& wrote: | Hero wrote: | Bat to sh
Its amazing how many links there are huh? |
Too bad I've tried them all, huh? |
Surely you haven't clicked all 265,000 links!
:O
|
|
Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon May 24, 2010 5:58 pm Post subject: |
|
|
Just using the java command should work.
|
|
Back to top |
|
 |
|