Spigot Server - Mac

Discussion in 'Spigot Help' started by RowanOfTheAbyss, Jun 4, 2018.

  1. I've made multiple servers on spigot for macs, but for some reason, my current mac won't let me make one. The error message goes as follows:

    Last login: Mon Jun 4 10:43:26 on ttys000

    name-Mac-mini:~ name$ /Users/name/Desktop/Server\ 10.43.53\ AM/start.command ; exit;

    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/bukkit/craftbukkit/Main : Unsupported major.minor version 52.0

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

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

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

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

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

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

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

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

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

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

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

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

    logout


    [Process completed]

    My Java is fully updated, and I understand that a common issue is the server running 6 instead of 8, but I've only ever installed 8 on this mac. It appears to be the wrong version of bukkit (I'm using spigot but whatever) yet I downloaded the newest version.
     
  2. Uninstall your java version fully then reinstall it just to be sure.
     
  3. I uninstalled and reinstalled it and it says the same thing.
     
  4. electronicboy

    IRC Staff

    Install the java 8 JDK, not the JRE (JDK actually installs itself on the system properly, JRE only really handles stuff launched by the desktop)
     
  5. It worked! Thank you so much!