Depends on what kind of window it is, also what methods you are using for rendering
If you are using the Swing/AWT, most likley you have to "repaint()" the panel
If you are using bufferStrategy you have to "show()" the bufferStrategy.
It really depends on what kind of "window" you are making.
update java version windows 10 cmd
I am not sure how it can be done by cmd. But the other option is:
1. Go to "Control Panel"
2. Select "Programs"
3. Click on "Java"
4. Select the "Update"
5. Then click on "Update Now"