I understood Apache 2.0 is not compatible c GPLv2, but OpenJDK uses GPLv2 with CPE. Apache 2.0 allows linking CPE allow linking. So can I use it together without modification code of OpenJDK: OpenJDK (GPLv2 + CPE) and Spring (Apache 2.0)?
Or can I use OpenJDK under GPLv3 + CPE, because GPLv3 is compatible with Apache 2.0?
I plan to publish a free Spring MVC application on GitHub. Which type of license should I use?