
Originally Posted by
Fire Cape
here is the thing: eclipse does not know about the path in the .bat file.
.bat is windows specific extension
eclipse handles this separately, I haven't used it in a while but it should be in Run -> Run configurations, there should be an option to select the main class
I did this:
(not sure why image isnt showing but main class was changed to "redone.Server"
It now at least prints out in the terminal but there is a lot of errors like so:
Code:
item.cfg: file not found.
java.io.FileNotFoundException: .\data\cfg\prices.txt (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.util.Scanner.<init>(Unknown Source)
at redone.world.ItemHandler.loadItemPrices(ItemHandler.java:339)
at redone.world.ItemHandler.<init>(ItemHandler.java:36)
at redone.Server.<clinit>(Server.java:63)
./Data/CFG/npc.cfg: file not found.
./Data/CFG/spawn-config.cfg: file not found.