I'm doing this in my makefile to try and get the PATH to Java, but the resulting string from find isn't escaped properly to be used in bash, how do I get find to return the escaped path to java.exe?
JAVA_EXE := "$(shell find /c/Program\ Files\ \(x86\)/Java/ -type f -name 'java.exe' -print0 -quit)"
JAVA_PATH := $(dir $(JAVA_EXE))