java.lang.NoSuchMethodError: java.lang.System.console()Ljava/io/Console;

Coderanch | Mark Vedder | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Handle Java JRE version issues

    Coderanch | 8 years ago | Mark Vedder
    java.lang.NoSuchMethodError: java.lang.System.console()Ljava/io/Console;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.System.console()Ljava/io/Console;

      at javaranch.versionCheck.Hello.main()
    2. javaranch.versionCheck
      Hello.main
      1. javaranch.versionCheck.Hello.main(Hello.java:12)
      1 frame