[root@vps runescape]# java -cp deps/data/CompiledFiles:deps/* server.Server
Error: Could not find or load main class server.Server
Can someone help me with this problem?
Printable View
[root@vps runescape]# java -cp deps/data/CompiledFiles:deps/* server.Server
Error: Could not find or load main class server.Server
Can someone help me with this problem?
Can someone please help me with this problem?
You need to add the current directory to the java class path.
i.e)
[root@vps runescape]# java -cp .:./deps/data/CompiledFiles:./deps/ server.Server
Also, it's generally a bad idea to run services as root.
Not sure is it related, but centOS is really sensitive about caps and shit. Took me a while to rename folders and cfg related to even run server on it.