Java 21 - How to install Oracle JDK/OpenJDK on Windows

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 3

  • @mr-debugger
    @mr-debugger  9 месяцев назад

    Normally, you can use the JDK (Java Development Kit) with an IDE (Integrated Development Environment) to develop.
    To start testing Java, you can type jshell in your command prompt and code a little bit.
    Alternatively, the easiest way to start is by creating a simple Java class (using Notepad, for example):
    public class Main {
    public static void main(String[] args) {
    System.out.println("Hello world!!!");
    }
    }
    Save the file as Main.java. Open the file directory in your command prompt and type:
    javac Main.java
    And finally type,
    java Main
    You'll have "Hello world!!!" as result. I hope that helps!

  • @aminekrb2315
    @aminekrb2315 4 месяца назад

    Where is the next step?

  • @arturik_89
    @arturik_89 9 месяцев назад

    and how to launch?