My friend has Minecraft server downloaded from minecraft.net (the official one v 1.7.3) and it's working properly.
But after he takes my modified server jar (mod added) ,which was running fine on my computer ,
and run it. The server is not working and telling
"Could not find the main class : net.minecraft.server.minecraftserver. Program will exit"
What would be the problem? I cannot think of one since it worked fine for me. Also I've checked out FAQ
on this page and there was no solution.
Note that I modified the original server jar (v 1.7.3).
ps Apologize if I posted this on the wrong forum.
----------------------------------------------------------------
Dont want to bump the topic :smile.gif:
Is he starting it from the same batch file as you did?
Both of us do not use .bat to run the server, just double click jar.
Anyway, The problem is fixed. It's just an "version issue", I compiled
my mod with Java 1.7 while my friend uses Java 1.6
To solve the problem is easy, just recompile the mod with Java 1.6 and
things work fine now :wink.gif:
But after he takes my modified server jar (mod added) ,which was running fine on my computer ,
and run it. The server is not working and telling
"Could not find the main class : net.minecraft.server.minecraftserver. Program will exit"
What would be the problem? I cannot think of one since it worked fine for me. Also I've checked out FAQ
on this page and there was no solution.
Note that I modified the original server jar (v 1.7.3).
ps Apologize if I posted this on the wrong forum.
----------------------------------------------------------------
Dont want to bump the topic :smile.gif:
Both of us do not use .bat to run the server, just double click jar.
Anyway, The problem is fixed. It's just an "version issue", I compiled
my mod with Java 1.7 while my friend uses Java 1.6
To solve the problem is easy, just recompile the mod with Java 1.6 and
things work fine now :wink.gif: