Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df3fbc2

Browse filesBrowse 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
Copy full SHA for df3fbc2

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: app/pages/learn/01_tutorial/01_your-first-java-app/01_getting-started-with-java.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.