ok so I found and fixed the problem my guess is its unique to windows 10 I would guess.
within find_java.bat it atemps to find if your system is 32 or 64 bit this fails because the reg entry it looks for does not exist in win 10.
this is the code
if exist %sys_32%\reg.exe (
rem This first-pass solution returns the correct architecture even if you
rem call this .bat file from a 32-bit process.
rem See also: http://stackoverflow.com/a/24590583/1299302
%sys_32%\reg query "HKLM\Hardware\Description\System\CentralProcessor \0"^
| %sys_32%\find /i "x86" > NUL && set arch_ext=32|| set arch_ext=64
) else (
rem This fallback approach is simpler, but may misreport your architecture as
rem 32-bit if running from a 32-bit process. Still, it should serve to help
rem our users without reg.exe, at least.
if "%PROCESSOR_ARCHITECTURE%" == "x86" (set arch_ext=32) else (set arch_ext=64)
so all I did was delete that code hard set arch_ext=64
This complete fixed all the issues
compiles fine now hopefully this helps anyone that has the same problem and I with win 10 and the creative update
Thank you for all your help.