Skip to content

Commit df3fbc2

Browse files
authored
Update 01_getting-started-with-java.md
Mentioned multi-file program execution-from-command-line feature introduced in JDK 22.
1 parent bdb4ad7 commit df3fbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/learn/01_tutorial/01_your-first-java-app/01_getting-started-with-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Once the compiler produced the binary file that you need, you can execute this b
5252

5353
> These two steps: compilation and execution require two specific pieces of software that are part of the Java Development Kit, also known as the JDK. You will see how to download the JDK for free and how to install it later in this tutorial.
5454
55-
Note that starting with Java SE 11 you can also merge these two steps into one, by executing a `.java` file directly. You can use these feature _only_ if you are executing a program that is written in a single file.
55+
Note that starting with Java SE 11 you can also merge these two steps into one, by executing a `.java` file directly. You can use this feature _only_ if you are executing a program that is written in a single file. Note: Starting with Java SE, you may execute a program that spans multiple files, provided that the classes declared in those files is unique within the program, and those files exist in the same directory.
5656

5757
<a id="first-class">&nbsp;</a>
5858
## Creating a First Java Class

0 commit comments

Comments
 (0)