https://github.com/aloisseckar/demos-java
From Java 11 to Java 23 - new features in practical examples
https://github.com/aloisseckar/demos-java
hacktoberfest java java-11 java-17 java-18 java-19 java-20 java-21 java-22 java-23
Last synced: 8 months ago
JSON representation
From Java 11 to Java 23 - new features in practical examples
- Host: GitHub
- URL: https://github.com/aloisseckar/demos-java
- Owner: AloisSeckar
- License: unlicense
- Created: 2021-12-10T09:50:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-11T19:32:43.000Z (9 months ago)
- Last Synced: 2025-05-13T13:00:45.034Z (8 months ago)
- Topics: hacktoberfest, java, java-11, java-17, java-18, java-19, java-20, java-21, java-22, java-23
- Language: Java
- Homepage:
- Size: 430 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Java demos - new language features from Java 11 to 23
This application helps to show some new features being introduced in Java versions until Java 23.
All relevant info is written down in comments inside sources.
## Prerequisites
This project requires **Java JDK 23** to run. I namely use [GraalVM for JDK 23](https://www.graalvm.org/release-notes/JDK_23/) for development and testing.
## Usage
Checkout the project and explore the files in your favorite IDE.
You can also `mvn clean install` the project and then just run `java --enable-preview --add-modules=jdk.incubator.vector -jar target\JavaDemos-23.0.jar`.
But you may miss some important context and information without reading the comments in the source code.
Note that `--enable-preview` and `--add-modules` options are necessary to make the newest Java language features available.
## Contributing
You can help making this project better!
Check the [contribution guide](/CONTRIBUTING.md) or contact me directly for more info.
## Author
* alois.seckar@gmail.com
* http://alois-seckar.cz
## Extra - Java Features
[Java Features](JavaFeatures.md) is my list of all Java versions with all JEPs included in each release.
## Extra - Java Tech
[Java Tech](JavaTech.md) is my list of interesting projects based on Java.
## Extra - Java News
[Java News](JavaNews.md) is my list with interesting articles and information from Java world started since 09/2023.
## Extra - JEP Status
[JEP Status](JEPStatus.md) is my tracker of changes in [OpenJDK JEP Index](https://openjdk.org/jeps/0) since 09/2023.