Jump to content

Recommended Posts

Posted

I downloaded A fresh minecraft_server.jar from minecraft.net installed "minecraftforge-server-3.3.7.135" only, now my server will not even start.

 

 

wesley@wesley-laptop:~/minecraft/MinecraftJARs/minecraft_server$ java -Xincgc minecraft_servercopy.jar

Exception in thread "main" java.lang.NoClassDefFoundError: minecraft_servercopy/jar

Caused by: java.lang.ClassNotFoundException: minecraft_servercopy.jar

at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: minecraft_servercopy.jar. Program will exit.

 

Posted

I downloaded A fresh minecraft_server.jar from minecraft.net installed "minecraftforge-server-3.3.7.135" only, now my server will not even start.

 

 

wesley@wesley-laptop:~/minecraft/MinecraftJARs/minecraft_server$ java -Xincgc minecraft_servercopy.jar

Exception in thread "main" java.lang.NoClassDefFoundError: minecraft_servercopy/jar

Caused by: java.lang.ClassNotFoundException: minecraft_servercopy.jar

at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: minecraft_servercopy.jar. Program will exit.

 

 

Try java -Xincgc -jar minecraft_servercopy.jar

 

You forgot the -jar part.

Posted

Now it spewed out

wesley@wesley-laptop:~/minecraft/MinecraftJARs/minecraft_server$ java -Xincgc -jar minecraft_servercopy.jar

Exception in thread "main" java.lang.NoClassDefFoundError: forge/ITextureProvider

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:634)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

at ky.a(StatList.java:169)

at ky.<clinit>(StatList.java:87)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:634)

Caused by: java.lang.ClassNotFoundException: forge.ITextureProvider

at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

... 14 more

 

even 3.3.8.147 give me the same

Posted

I grabbed a new copy of mincraft_server.jar rename it to minecraft_servercopy.jar, open minecraft_servercopy.jar and minecraftforge-server-3.3.7.135/minecraftforge-server-3.3.8.147 put all the files from the latter in to the former run " java -Xincgc -jar minecraft_servercopy.jar" and get the error above.

Posted

Whatever you're using to copy the files in isnt doing its job.

There isn't much more we can say beyond do it correctly.

If you get a Class not found issue, its cuz you didn't install everything properly.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Makes no difference you're doing *something* wrong that causes it not to copy the files over properly.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.