Jump to content

Server.jar file will not open by using a .bat file!


Recommended Posts

Recently I've tried running a forge server and it works great! The only problem is I wanted to allocate more RAM for the server but my .bat file I'm using to open the server.jar file is giving me what looks to be a rather long error message. I always used this .bat file for my vanilla servers but I'm wondering if I need to change it for the forge server.

The .bat file is using this command line:

java -Xms1024M -Xmx1024M -jar forgeserverjar.jar

pause

Here is what I'm getting in the command window:

 

C:\Users\House\Desktop\Minecraft Mod Server>java -Xms1024M -Xmx1024M -jar forgeserverjar.jar

[11:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker

[11:49:23] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker

[11:49:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker

[11:49:26] [main/INFO] [FML]: Forge Mod Loader version 12.18.1.2011 for Minecraft 1.10.2 loading

[11:49:26] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_67, running on Windows 8.1:amd64:6.3, installed at C:\Users\Ken\introcs\java

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]: java.lang.UnsupportedClassVersionError: vazkii/quark/base/asm/LoadingPlugin : Unsupported major.minor version 52.0

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.ClassLoader.defineClass1(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.ClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.security.SecureClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.net.URLClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.net.URLClassLoader.access$100(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.net.URLClassLoader$1.run(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.net.URLClassLoader$1.run(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.security.AccessController.doPrivileged(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.net.URLClassLoader.findClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.ClassLoader.loadClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.ClassLoader.loadClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.Class.forName0(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.Class.forName(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:543)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:423)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:253)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:102)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:86)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:46)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:62)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at java.lang.reflect.Method.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.FMLLaunchHandler:setupHome:106]:    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)

[11:49:26] [main/ERROR] [FML]: An error occurred trying to configure the minecraft home at C:\Users\Ken\Desktop\Minecraft Mod Server\. for Forge Mod Loader

java.lang.UnsupportedClassVersionError: vazkii/quark/base/asm/LoadingPlugin : Unsupported major.minor version 52.0

        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_67]

        at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_67]

        at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_67]

        at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_67]

        at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_67]

        at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_67]

        at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_67]

        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_67]

        at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_67]

        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) ~[launchwrapper-1.12.jar:?]

        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]

        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]

        at java.lang.Class.forName0(Native Method) ~[?:1.7.0_67]

        at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_67]

        at net.minecraftforge.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:543) ~[forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:423) ~[forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:253) ~[forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:102) [forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:86) [forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:46) [forgeserverjar.jar:?]

        at net.minecraftforge.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:62) [forgeserverjar.jar:?]

        at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]

        at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]

        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]

        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62) [forgeserverjar.jar:?]

        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31) [forgeserverjar.jar:?]

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]: java.lang.reflect.InvocationTargetException

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at java.lang.reflect.Method.invoke(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:31]:      at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]: Caused by: java.lang.UnsupportedClassVersionError: vazkii/quark/base/asm/LoadingPlugin : Unsupported major.minor version 52.0

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.ClassLoader.defineClass1(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.ClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.security.SecureClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.net.URLClassLoader.defineClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.net.URLClassLoader.access$100(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.net.URLClassLoader$1.run(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.net.URLClassLoader$1.run(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.security.AccessController.doPrivileged(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.net.URLClassLoader.findClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.ClassLoader.loadClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.ClassLoader.loadClass(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.Class.forName0(Native Method)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at java.lang.Class.forName(Unknown Source)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:543)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:423)

[11:49:26] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:253)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:102)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:86)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:46)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraftforge.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:62)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[11:49:27] [main/INFO] [sTDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:67]:        ... 6 more

 

I don't know how forge works well enough to understand what's going on here.

Any information regarding to what I'm doing wrong or what is even going on would be great, thanks!

Link to comment
Share on other sites

Fixed and found the problem:

There was another version of java (Java 7) being found first and it wasn't using my Java 8 because the Java 7 version was found first.

So I simply replaced the java folder in the directory the command prompt was using with an updated version of java.

Thanks!

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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