![]() Switch the Java runtime used to run IntelliJ IDEAįrom the main menu, select Help | Find Action or press Ctrl+Shift+A.įind and select the Choose Boot Java Runtime for the IDE action. Define an SDK for each of your projects, which includes the necessary development and runtime environment. The runtime for IntelliJ IDEA is not the same runtime used for your applications. Do not change it unless you were specifically asked to do so by JetBrains support. However, in some cases you may be required to use another Java runtime or a specific version of JetBrains Runtime.Ĭhanging the boot Java runtime may cause unexpected problems. JetBrains Runtime fixes various known OpenJDK and Oracle JDK bugs, and provides better performance and stability. By default, IntelliJ IDEA uses JetBrains Runtime (a fork of OpenJDK), which is included with the IDE. Make sure to download the MSI installer for Windows or the PKG installer for macOS.Ĭontinue following the instructions for your platform below.Įxception in thread "main" : net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0Įxception in thread "main" : net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0Įxception in thread "main" : net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0Įxception in thread "main" : net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.As a Java application, IntelliJ IDEA requires a Java runtime environment (JRE). If the version you want is not listed, or if your operating system is incorrectly detected, you may have to click “Other platforms” and select from the list there. Select the version you want from the list and click “Latest release” to start the download. Visit the website for Adoptium Temurin OpenJDK. If this is the case, you can skip to installation instructions Note: If you are using Linux, most package managers include OpenJDK, so you do not need an installer for them. There are many places where you can get OpenJDK, in this tutorial we will be getting them from Adoptium. Java 17 will show up as either Java version "17. Java 11 will show up as either Java version "11. Java 8 will show up as either Java version "1.8. Next, type in java -version and press enter. You can check if a version of Java is already installed on your computer by following these instructions.įirst, open up a terminal (Win11, macOS, Linux) or Command Prompt (Win10, Win8.1, Win7) The below compatibility chart was last updated. You should use Java 8, 11 or 17 if you can, as they will receive security updates for years to come. ![]() Note: Java versions 6 and 16 no longer receive security updates, and are therefore more risky to use. If you are not are not sure if you are using the correct Minecraft launcher or are getting “This application requires a Java Runtime Environment” when launching Minecraft, then you can download the Minecraft Launcher from. ![]() If you are using the official launcher, you normally do not have to manually install Java, but you may want to if you are trying to run a server, trying to fix an issue, or using it for Java applications other than Minecraft. This includes the Windows 7 and Windows 8.1 version of the launcher. The Minecraft launcher includes the version(s) of Java required to run the game, and automatically keeps them up to date.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |