Edit: It works (for Ruby and Python)
Here is how to set up GraalVM for the Linux Subsystem on Windows 10:
1. Enable and Install Ubuntu for Windows 10: https://docs.microsoft.com/en-us/windows/wsl/install-win10
2. Download the EE edition of GraalVM to Windows: http://www.graalvm.org/downloads/
3. Mount the folder that has the tar file: https://stackoverflow.com/a/42586455/2548452
4. Unzip the files (tar xvfs graalvm-ee-1.0.0-rc1-linux-amd64.tar.gz)
5. Create a .bash_profile for setting the $PATH (my personal preference)
6. Follow the instructions from the following up until the "Running Programs": http://www.graalvm.org/docs/getting-started/
7. Follow instructions for installing LLVM and locales: https://github.com/oracle/truffleruby#system-compatibility
8. Follow instructions for installing libssl-dev: https://github.com/oracle/truffleruby/blob/master/doc/user/i...
9. NOW continue on with everything _after_ "Running Programs": http://www.graalvm.org/docs/getting-started/
Getting npm to work:
I could run node -v, but could not run npm and I was getting this error:
jvm library could not be loaded: /home/raj/graalvm/jre/lib/polyglot/libpolyglot.so: cannot enable executable stack as shared object requires: Invalid argument
I fixed it by running the following:
1. sudo apt-get install prelink
2. sudo execstack -c ~/graalvm/jre/lib/polyglot/libpolyglot.so
Going to do some experimenting, but so far so good!
If you really insist, invoke instead as .exe so you can still use bash and other tools, but run the actual compile or runtime using the system-native implementation.