I have a license for Quartus Prime Pro Edition 18.1 and I made a companion license for my other PC at home.
Make sure you have the latest Java installed: https://www.java.com/en/download/manual.jsp
I downloaded the latest JAVA and still experiencing the same thing.
How come there are no message explaining why it closes?
If that didn't fix it, I'd try uninstalling and reinstalling Quartus.
Have you try sstrell's suggestion?
For more complete information about compiler optimizations, see our Optimization Notice.