I installed the Windows 10 Anniversary Update to try Bash on Ubuntu on Windows. See how to install it . I wanted to see how it was. Then I installed the Oracle JDK according to this article , so I could compare the compilation time with my own Windows Java compiler.
Then I tried to run Maven in my project, but that didn't work. Maven just hung up. I noticed in the task manager that the "java" process hung around 92% of the CPU.
So, I tried something simple. I created the Java mannequin Hello-world-like class and tried to compile it using javac. Similarly, the javac process consisted of 92% of the CPU.
I thought this might be due to running headless, but the option -Djava.awt.headless=true not improved.
Has anyone got this to work or try something?
Update:
I also tried installing Open JDK instead of Oracle JDK (via sudo apt-get install openjdk-7-jdk ) with the same result.
source share