12/8/2023 0 Comments Ubuntu install jdk 8![]() Sudo apt-get install oracle-java8-installerĭuring the installation process, you must confirm the Java download then accept the licence agreement. Update the packages list with the newly added repository and install Java: sudo apt-get update In Ubuntu terminal, add the repository where Java installation packages can be found: sudo add-apt-repository ppa:webupd8team/java Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) C:\Users\Bruno>javac -version ![]() Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Type the following commands in the prompt, which should print the version information if Java has been configured correctly. In order to validate the Java installation and variables setup, open the Command Prompt by clicking the Start Menu and type cmd. It may already exists on your system under the name Path, so edit its value by adding at the end: %JAVA_HOME%\bin If it not exists already, create a new one with the value %JAVA_HOME%\bin JDK installation path, example: C:\Program Files\Java\jdk1.8.0_20 Open the environment variables settings window by pressing Windows + Pause/Break or through Control Panel -> System -> Advanced system settings -> Environment Variables.Ĭlick on New… button on System environment variables and add the three following variables. Run the newly downloaded installer and proceed with the installation, accepting the licence terms and advancing the installation steps to complete the process, without additional settings. ![]() Visit this link to download the appropriate JDK for your Windows (32 or 64 bits), accepting Oracle’s licence agreement. ![]() This tutorial will show how to install Java 8 on Windows and Ubuntu and the needed environment variables setup for application development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |