Skip to content

OSX Apple Chip: xuggle not found when run from jar in MacOS Sonoma 14.4 (Apple Chip) // SBT fails on SAXParserFactory #190

@daniloabbate

Description

@daniloabbate

Hi there,
I'm really appreciating how your code could help me with my GoPro videos and GPX overlays. I'm on MacOS Sonoma 14.4, Apple Chip. I have JDK 22 MacOS aarch64 installed, and sbt installed (via brew).

I'm struggling to have my GoPro (Hero 3) videos being loaded. I tried both running the .jar from command line and "run sbt":

  • JAR: when I run the application from command line with the following command java --add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -jar gps-overlay-on-video.jar . this errors due to java.lang.UnsatisfiedLinkError: no xuggle in java.library.path java jar.log
  • SBT: when I run the application from sbt run (as from 2017 video from Bigjuergo), it fails on startup due to module java.desktop does not "opens javax.swing.plaf.basic"
  • SBT with SBT_OPTS: If i first set SBT_OPTS="--add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED", export it and then run sbt run the application fails on javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.SAXParserFactory cannot be createdcaused by java.nio.file.NoSuchFileException: /Users/theUser/Downloads/git/gps-overlay-on-video/target/bg-jobs/sbt_3ea9eba7/target/cf1f95be/4f47a0d5/xercesImpl-2.8.1.jar sbc output.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions