Jump to content
  • 0
Sign in to follow this  
thoml

Convert .bat to .sh?

Question

Can someone convert this .bat code to .sh?

@echo off
title InsidiaX
"C:\Program Files\Java\jdk1.7.0_01\bin\java.exe" -Xmx1000m -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
pause

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
java -Xmx1000m -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

Try something like that.

Share this post


Link to post
Share on other sites
  • 0
java -Xmx214m -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
Works then i get


[[email protected] runescape]# java -Xmx214m -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
java.io.FileNotFoundException: ./data/cfg/prices.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.util.Scanner.<init>(Scanner.java:656)
at server.world.ItemHandler.loadItemPrices(ItemHandler.java:316)
at server.world.ItemHandler.<init>(ItemHandler.java:35)
at server.Server.<clinit>(Server.java:62)
./Data/CFG/npc.cfg: file not found.
./Data/CFG/spawn-config.cfg: file not found.
shops.cfg: file not found.
java.io.FileNotFoundException: data/lolmap.bin (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
at server.world.WalkingHandler.initialize(WalkingHandler.java:45)
at server.Server.main(Server.java:114)
[2/9/12 12:35 AM]: Launching InsidiaX...
[2/9/12 12:35 AM]: java.io.FileNotFoundException: data/lolmap.bin (No such file or directory)
[2/9/12 12:35 AM]: at java.io.RandomAccessFile.open(Native Method)
[2/9/12 12:35 AM]: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
[2/9/12 12:35 AM]: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
[2/9/12 12:35 AM]: at server.world.WalkingHandler.initialize(WalkingHandler.java:45)
[2/9/12 12:35 AM]: at server.Server.main(Server.java:169)
[2/9/12 12:35 AM]: Server listening on port vodka-scap3.no-ip.biz:43594

Share this post


Link to post
Share on other sites
Sign in to follow this  

×