Sams-Java-RTS is a project mainly written in Java, it's free.
A really simple Java RTS that I am creating to extend my knowledge of Java.
This a little project I have created with NetBeans IDE to help me learn Java. It should open with Netbeans as a project and can be run from there.