OSX Java App Bundle runs on HFS + but not APFS

I ran into this problem, which, it seems to me, is not available on the Internet and I need help as I have been working on this for the past few days without any instructions.

Why does java application suddenly stop working for APFS? It works if I transfer the application to a USB device other than APFS, but when I transfer the application to an SSFS formatted in APFS, it stops working.

When I checked the application logs, it turns out that for some reason some libraries were not correctly imported / recognized by the application when they were launched from an SSD formatted in APFS. Why should this behave differently in the APFS SSD module versus HFS + usb / hard drive?

I have already highlighted this case and found that only APFS is a common factor. I tested it on other devices that run High Sierra without an APFS drive, and those that run Sierra with an SSD that has not yet been converted to an APFS drive, and only those devices that use the APFS file system formatting encounter a problem.

Additional Information:

  • The Java application was correctly signed, it is distributed personally, but not through the App Store.
  • The application comes bundled using the AppBundler, not the JavaPackager.
  • The application runs on previous versions of OSX and has been distributed and tested working on hundreds of Mac devices with OSX ranging from 10.8 to 10.12
  • , - , - apache, commons-lang-2.6 ( 3), commons-logging ( , , ). , sqlite .

, , !

+4
1

, , .

: commons.lang.2.6 commons.lang.3.6

, - , , , .

, APFS commons.lang.3.6 , , 2.6. APFS , USB.


, , , , , , .

+2

Source: https://habr.com/ru/post/1686866/


All Articles