I'm running a new server through Eclipse, and I've had issues in the past with Eclipse but I figured them out. It's always regarding the run configurations.
My runserver:
[code]@echo off
title Runserver
"C:\Program Files (x86)\Java\jdk1.7.0_65\bin\java.exe" -Xmx1024m -classpath bin server.Server release nogui
pause
exit
[/code]
The main class would be server.Server, right? Well when I try to run the server through Eclipse and select server.Server in the run config, I get this:
My runserver:
[code]@echo off
title Runserver
"C:\Program Files (x86)\Java\jdk1.7.0_65\bin\java.exe" -Xmx1024m -classpath bin server.Server release nogui
pause
exit
[/code]
The main class would be server.Server, right? Well when I try to run the server through Eclipse and select server.Server in the run config, I get this:
[code]Usage:
java com.rs.Server [debug/release] [gui/nogui][/code]
What am I doing wrong? I know that that HAS to be the main class file I run. It simply won't do anything.
Share this post
Link to post
Share on other sites