java.io.IOException: invalid header field name: Main-Class

Oracle Community | 843802 | 1 decade ago
  1. 0

    FileNotFound Exception at JAR creation

    Oracle Community | 1 decade ago | 843802
    java.io.IOException: invalid header field name: Main-Class
  2. 0

    Error while trying to extract jar file

    Stack Overflow | 3 years ago | user1016179
    java.io.IOException: META-INF : could not create directory
  3. 0

    Java EE SDK 7 installation macosx issues

    Stack Overflow | 3 years ago | Jordan Holmer
    java.io.IOException: Push back buffer is full
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jar manifest files - Adding url

    Stack Overflow | 2 years ago
    java.io.IOException: line too long
  6. 0

    Java 7 Update 25 Client App Downloaded From Web... | Oracle Community

    oracle.com | 1 year ago
    java.io.IOException: invalid header field

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      invalid header field name: Main-Class

      at java.util.jar.Attributes.read()
    2. Java RT
      Main.main
      1. java.util.jar.Attributes.read(Attributes.java:403)
      2. java.util.jar.Manifest.read(Manifest.java:167)
      3. java.util.jar.Manifest.<init>(Manifest.java:52)
      4. sun.tools.jar.Main.run(Main.java:124)
      5. sun.tools.jar.Main.main(Main.java:904)
      5 frames