Using Java 15 with IntelliJ IDEA

preview_player
Показать описание
Java 15 has a lot of exciting language features for us developers – Sealed classes and interfaces, Records, Pattern Matching for instanceof, and Text Blocks.
In this screencast, we'll cover how to use these features in IntelliJ IDEA.

*Author: Mala Gupta

Join us:

#intelliJIDEA #intelliJ #jetbrains #Java15 #Java #programming
Рекомендации по теме
Комментарии
Автор

Excellent video! many thanks, Mala 🤘🏻

luisbenavides
Автор

Excellent presentation, thanks for that!

webfirmframework
Автор

Would like to see coroutines in java like kotlin. This would make android development fun with java.

paragkadam
Автор

I am having a problem with using the upgraded v16 SDK coming from v15-SDK.
I get RED Text in the lower pane of IntelliJ that says this.:::
"" java: invalid source release 15 with --enable-preview
(preview language features are only supported for release 16) ""

And yes I set the project structure to use v16 SDK and also set the library for v16 SDK as well.
I would also like to mention that even though I set project SDK to use v16 "official Release" from OpenJDK.
The project language level still remains in v15 (preview) and does not want to change. and also there is no v16 in the language level that shows in the list.
Even though the Project SDK is currently set at
Its a bit frustrating.

TwstedTV
Автор

So Record is what data class is in Kotlin. Anyways, in jdk versions lower than 15 can use Lombok pretty easily to declare data classes

Tout-Le-Monde
Автор

Can you make a video on how to use Swing in intellij idea ?

tejparmar
Автор

java: text blocks are not supported in -source 11
(use -source 15 or higher to enable text blocks)

lucaspaixao
Автор

I think some of the features are similar to Kotlin. 😄

kshitijyelpale
Автор

I lost it with a upper case method MoveBy

orhn
Автор

Please add arabic language to translation

mahmoudnofal
Автор

You guys throw off my concentration every time you rant on about mac & linux computer commands. its exhausting.

TwstedTV
Автор

wait wait wait... a method name in PascalCase? ... no pls... leave this to the C# developers please...

MatteoAntonioAugelli
Автор

Hi Mala, I have left a comment on the blog, Could you please check that .

DeepakLalchandaniProfile