Exec format error 32-bit executable Windows Subsystem for Linux?

QEMU and binfmt support light the way 🙂 https://github.com/microsoft/wsl/issues/2468#issuecomment-374904520 After reading that the WSLInterop between WSL and Windows processes used binfmt, I was tinkering with QEMU to try some ARM development, and incidentally discovered how to get 32-bit support working. Edit: requires “Fall Creators Update”, 1709, build 16299 or newer Install qemu and binfmt config: … Read more

How do I detect which kind of JRE is installed — 32bit vs. 64bit

The JVM architecture in use can be retrieved using the “os.arch” property: System.getProperty(“os.arch”); The “os” part seems to be a bit of a misnomer, or perhaps the original designers did not expect JVMs to be running on architectures they weren’t written for. Return values seem to be inconsistent. The NetBeans Installer team are tackling the … Read more