Apple ditched Intel and switching to Arm M1.
On the newer Mac, the code like:
if ( osName.contains("OS X") ) { // Macintosh case
if ( System.getProperty("os.arch").equals("x86_64") || System.getProperty("os.arch").equals("amd64")) {
distDir = "dist_cocoa-macosx-x86_64";
} else {
distDir = "dist_cocoa-macosx";
}...
wouldn't work.
says Java's os.arch would return "aarch64". What's our plan? Are we going to make dist_cocoa-macosx-aarch64 ?
But does Okapi actually have any processor architecture dependency? Isn't it pure Java ?
Can't we just drop "-x86_64" part from the directory name?
Kuro