[MacPorts] #72569: AppleCommander @1.9.0: General error during conversion: Unsupported class file major version 67

MacPorts noreply at macports.org
Sat Jun 7 20:36:06 UTC 2025


#72569: AppleCommander @1.9.0: General error during conversion: Unsupported class
file major version 67
-----------------------------+------------------------
  Reporter:  amadeus24       |      Owner:  ryandesign
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  AppleCommander  |
-----------------------------+------------------------

Comment (by ryandesign):

 I didn't know which java versions are required; that's why my answer was
 vague. My answer was based on a quick Internet search for "Unsupported
 class file major version 67" which told me major version 67 is associated
 with java 23. I speculated that you either have java 23 and that is too
 new, or you have a version older than 23 and it is too old. I am not
 sufficiently familiar with java to know more.

 The portfile says it requires java 11+ but that may be outdated
 information and it also only says what version is too old; it doesn't say
 if some version might be too new.

 I don't know which of the 6 versions of java you have installed MacPorts
 will use.

 The port uses a built-in copy of gradle 7.3.1; there is a comment in the
 portfile that it is incompatible with gradle 8 and later. Gradle 7.3.1
 announces itself as being compatible with java 17. This lends support to
 the idea that, if you are using java 23, it might be too new.

 I now found
 [https://www.reddit.com/r/fabricmc/comments/1flwv0b/unsupported_class_file_major_67_help/
 this page] about this error message in another project, which says the
 error can come from using java 23 with a file meant for an earlier java --
 in their case, downgrading to java 21 worked.

 If there is a way outside of MacPorts to specify which java version you
 want used by default, try specifying one earlier than 23.

-- 
Ticket URL: <https://trac.macports.org/ticket/72569#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list