I'm not able to run the windows version of java.exe from BashOnWindows10. It is present in PATH, but the invocation fails silently. My goal is to avoid having to install the JDK/JRE again in WSL. As I'm running the Creator's update, I was was expecting the to be able to invoke any windows application. Any ideas why this is happening? I'm however able to launch the windows installation of Python successfully.
username@PC:~$ which java.exe /mnt/c/ProgramData/Oracle/Java/javapath/java.exe username@PC:~$ java.exe username@PC:~$ <<<nothing happens username@PC:~$ which python.exe /mnt/c/Python34/python.exe username@PC:~$ python.exe Unable to translate current working directory. Using C:\WINDOWS\system32 Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
C:\Users\username>java -version java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)