Error launch miner

  • Hi
    I have one question , one i run ./run.bat i get this output.

    Exception in thread "main" java.lang.UnsupportedClassVersionError: burstcoin/jminer/JMinerApplication : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(
    at java.lang.ClassLoader.defineClass(
    at Method)
    at java.lang.ClassLoader.loadClass(
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at org.springframework.boot.loader.Launcher.launch(
    at org.springframework.boot.loader.Launcher.launch(
    at org.springframework.boot.loader.JarLauncher.main(

    i have instaled java 8 on a macbook pro

    Can someone help me ?


  • admin

    @StefanoB I would say you do not have Java8 ... please check your java version with:

    java -version

    And post result here.

    Moved to Help&Support

  • admin

    The issue is because of Java version mismatch.

    Java 8 = 52
    Java 7 = 51
    Java 6 = 50

    These are the assigned major numbers. The error regarding the unsupported major.minor version is because during compile time you are using a higher JDK and a lower JDK during runtime.

    Thus, the 'major.minor version 52.0' error is because the jar was compiled in jdk 1.8, but you are trying to run it using a jdk 1.7 environment. The reported number is the required number, not the number you are using.

  • you are right
    java version was not good