application-services icon indicating copy to clipboard operation
application-services copied to clipboard

Fix java warning on x86_64 machines in verify-android-environment

Open tarikeshaq opened this issue 2 years ago β€’ 0 comments

tried running this locally on my Intel machine and got a

WARNING: mismatching Java (with
64-bit
64-bit) and system (x86_64) architectures. Make sure this is intentional, or you may get strange build errors.

This could be an issue with my own setup though, as I vaguely remember I installed multiple versions of java at some point (can't remember for sure πŸ™ƒ) For reference, here's what which java | xargs file prints:

/usr/bin/java: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/usr/bin/java (for architecture x86_64):	Mach-O 64-bit executable x86_64
/usr/bin/java (for architecture arm64e):	Mach-O 64-bit executable arm64e

If this is a very edge setup (which means I should get my java stuff fixed locally πŸ˜…) then nevermind! πŸ˜„

Originally posted by @tarikeshaq in https://github.com/mozilla/application-services/pull/4824#discussion_r799878977

┆Issue is synchronized with this Jira Task

tarikeshaq avatar Apr 01 '22 02:04 tarikeshaq