I do not think you can use a similar globe in the -cp argument. They will not be expanded in the right direction, separated by a colon if you need to. Try
java -cp config:kernel.jar l2p.loginserver.LoginServer
(With the other arguments you need, of course.)
Please note that it is assumed that you are on Unix. On Windows you will need
java -cp config;kernel.jar l2p.loginserver.LoginServer
(path separator ; on Windows, but : on Unix.)
source share