Yes, these are two different files.
java.exe is the application that is allowed to use/access the console while javaw.exe is the “console-less” Windows application.
Or in other words java.exe targets the CONSOLE subsystem while javaw.exe targets the WINDOWS subsystem.
TripleA definitely uses javaw.exe to access the web.
So java.exe won’t help you out here.