Jump to content
  • 0

Server Command Not Working Mac


Secretx51

Question

Hi I've been trying to do this for almost forever.

 

I made a sever for my friends and I did the mac command 

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx6G -Xms5G -XX:MaxPermSize=256M -jar server.jar nogui

 

Then I verified it with chmod a+x and then when I open it, it comes up with this error

 

Last login: Tue Nov 17 19:40:11 on ttys000

Secrets-MacBook-Pro:~ Secretx51$ /Users/Secretx51/Desktop/realm-of-mianite_1/Launch\ Server\ \(Mac\).command ; exit;

[19:50:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[19:50:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[19:50:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker

[19:50:32] [main/INFO] [FML]: Forge Mod Loader version 7.99.30.1492 for Minecraft 1.7.10 loading

[19:50:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_65, running on Mac OS X:x86_64:10.10.5, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

[19:50:33] [main/WARN] [FML]: The coremod am2.preloader.AM2PreloaderContainer does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:33] [main/INFO] [FML]: AMCore initializing...stand back!  I'm going to try MAGIC!

[19:50:33] [main/INFO] [FML]: [AppEng] Core Init

[19:50:33] [main/WARN] [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:33] [main/INFO] [FML]: Loading tweaker me.guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.0.1.jar

[19:50:34] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/INFO] [STDERR]: [codechicken.core.launch.DepLoader$DepLoadInst:checkExisting:436]: Warning: version of bspkrsCore, 6.16 is newer than request 6.15

[19:50:34] [main/WARN] [FML]: The coremod cofh.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/WARN] [FML]: The coremod fastcraft.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/WARN] [FML]: The coremod codechicken.core.launch.DepLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/WARN] [FML]: The coremod mrtjp.relocation.asm.RelocationPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/WARN] [FML]: The coremod invtweaks.forge.asm.FMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:461]: java.lang.UnsupportedClassVersionError: net/malisis/core/asm/MalisisCorePlugin : Unsupported major.minor version 51.0

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.ClassLoader.defineClass1(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.security.AccessController.doPrivileged(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.Class.forName0(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.Class.forName(Class.java:249)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:74)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:39)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:23)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.reflect.Method.invoke(Method.java:597)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)

[19:50:34] [main/ERROR] [FML]: An error occurred trying to configure the minecraft home at /Users/Secretx51/Desktop/realm-of-mianite_1/. for Forge Mod Loader

java.lang.UnsupportedClassVersionError: net/malisis/core/asm/MalisisCorePlugin : Unsupported major.minor version 51.0

    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) ~[?:1.6.0_65]

    at java.lang.ClassLoader.defineClass(ClassLoader.java:621) ~[?:1.6.0_65]

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) ~[?:1.6.0_65]

    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) ~[?:1.6.0_65]

    at java.net.URLClassLoader.access$000(URLClassLoader.java:58) ~[?:1.6.0_65]

    at java.net.URLClassLoader$1.run(URLClassLoader.java:197) ~[?:1.6.0_65]

    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65]

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65]

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

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]

    at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]

    at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]

    at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460) ~[server.jar:?]

    at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389) ~[server.jar:?]

    at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221) ~[server.jar:?]

    at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [server.jar:?]

    at cpw.mods.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:74) [server.jar:?]

    at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:39) [server.jar:?]

    at cpw.mods.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:23) [server.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.6.0_65]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]

    at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]

    at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [server.jar:?]

    at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [server.jar:?]

A problem occurred running the Server launcher.[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:461]: java.lang.reflect.InvocationTargetException

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at java.lang.reflect.Method.invoke(Method.java:597)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:464]:     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:488]: Caused by: java.lang.UnsupportedClassVersionError: net/malisis/core/asm/MalisisCorePlugin : Unsupported major.minor version 51.0

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.ClassLoader.defineClass1(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.security.AccessController.doPrivileged(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.Class.forName0(Native Method)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at java.lang.Class.forName(Class.java:249)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:74)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:39)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at cpw.mods.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:23)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:490]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[19:50:34] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTraceAsCause:492]:     ... 6 more

logout

 

[Process completed]

 

 

Please help I've had this problem forever

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  • Moderators

Your Mac is running Java 1.6. Update to the latest 64 bit version supported by your OS. 

 

Also, Aroma backup was causing a crash. I updated to the latest and your server launched. 

 

Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_65

 

 

Edited by AetherPirate
Link to comment
Share on other sites

  • 0

Thanks you so much I've had this issue for ages.

It wasn't my java that wasn't working it was the java development kit.

So after I downloaded JDK and I just deleted aroma backup (I really don't need it) it worked.

Again thanks so much you've been a huge help and I liked all your posts

Edited by Secretx51
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...