You can also download Linux software for example, Download CentOS WSL
The first thing to have is a CentOS on WSL (Windows 10 FCU or above), based on WSldl. Basically, it’s a zip file containing rootfs and some other files. CentOS as WSL Instance is an open source project available on Github, so download it here(https://github.com/yuk7/CentWSL)
Remember to run those apps as Administrtor.
Install app on Centos running WSL:
yum install java-1.7.0-openjdk