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

Coderanch | Mark Vedder | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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