Perform a search with Find - Find handle or DLL utility for ig4icd32.dll (for 32-bit) or ig4icd64.dll (for 64-bit) while the program is running. You can try using Process Explorer from SysInternals. That's why applying the fix to them also fixes the main program. Most programs using Python and Java respectively rely on these platforms to get access to OpenGL, so Intel OpenGL driver is most often loaded by these platforms directly when they are part of execution flow.
exe file that loads the Intel OpenGL driver. The most complicated part of fixing process is the identification of the. exe file, Java and Python are not involved you won't need them to fix it. You need to make the fix for your program.