Search on the Internet a lot of online compiling sites, both at home and abroad. For Java, what I feel good about is this:
1. Https://www.jdoodle.com/online-java-compiler
This support Java8, and the ability to save code, and also support the import of external libraries.
But many of the domestic situation is not, I really do not understand this learning site is also closed.
2. https://www.tutorialspoint.com/compile_java8_online.php
This site is more beautiful, also support Java 8, the default is to run Helloworld.class, so the runtime needs to Javac and Java commands specifically set, you can save code to GitHub, Dropbox, etc., but does not support the import of external libraries.
3. http://www.beta.browxy.com/
Not only does it run fast, but it also saves code, which is perfect if it's more beautiful.
The new version already supports Java 8, you can use lambda expression, and more beautiful, but also can import external library, but the size limit, this is the best.
4. https://www.compilejava.net/
This site also supports Java 8, but cannot save code.