MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / getPages

Method getPages

launcher/ui/java/InstallJavaDialog.cpp:282–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282QList<BasePage*> InstallDialog::getPages()
283{
284 return {
285 // Mojang
286 new InstallJavaPage("net.minecraft.java", "mojang", tr("Mojang")),
287 // Adoptium
288 new InstallJavaPage("net.adoptium.java", "adoptium", tr("Adoptium")),
289 // Azul
290 new InstallJavaPage("com.azul.java", "azul", tr("Azul Zulu")),
291 // IBM
292 /* Must watch out in case the AdoptOpenJDK infrastructure is deprecated.
293 In case of happening, IBM does not seem to provide as of today (03/2026) an API like Adoptium does and rather uses GitHub directly in its website: `developer.ibm.com`.
294 GitHub is known for rate limiting requests that do not use an API key from an account. */
295 new InstallJavaPage("com.ibm.java", "openj9_hex_custom", tr("IBM Semeru Open")),
296 };
297}
298
299QString InstallDialog::dialogTitle()
300{

Callers 2

InstallDialogMethod · 0.45
PageContainerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected