Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks, this also explains why the JAVA_HOME is not valid: all Java binaries are for Windows.
    – M Rajoy
    Commented Sep 8, 2016 at 11:23
  • You could use apt-get install default-jre default-jdk and then you'd be able to use bash to compile .java to byte-code and run it. You should, in principle, be able to run java applications you've compiled under Windows and vice versa. Commented Sep 8, 2016 at 12:46
  • 1
    This is no longer valid. With the latest preview build of windows 10, WSL can execute windows binaries just fine.
    – Dave
    Commented Oct 31, 2016 at 13:10