Shutdown is busy updating waiting for lock
And of course, the "minor problem" that Oracle doesn't provide DEBs.
When I ran your test program on my machine, the CPU usage was approximately zero in the 10 second shutdown period ... I did a cursory search of the Java bugs database, and nothing relevant showed up.
This can fixed by creating a new profile from Safe Mode, and logging in to the system using that account.
To accomplish this, follow this procedure: Wait for the system to load the new account.
This article highlights numerous approaches on how to analyze this problem and remove it appropriately from your system.
Method 1: Launch Safe Mode and Perform a Clean Boot Safe Mode is a troubleshooting mode that starts Windows with minimal set of drivers and services.