Creating your first Java application with IntelliJ IDEA

  Рет қаралды 861,040

IntelliJ IDEA, a JetBrains IDE

IntelliJ IDEA, a JetBrains IDE

4 жыл бұрын

In this tutorial, you will learn how to create, run, and package a simple Java application that prints Hello, World! to the system output. Along the way, you will get familiar with IntelliJ IDEA features for boosting your productivity as a developer: coding assistance and supplementary tools.
For more information, take a look at: jb.gg/0ii4zs
Download IntelliJ IDEA: jb.gg/download-intellij-idea
Top 15 IntelliJ IDEA shortcuts: • Top 15 IntelliJ IDEA s...
*Author: Trisha Gee
Join us:
Website jb.gg/website
Blog jb.gg/blog
Twitter / intellijidea
Facebook / intellijidea
#intelliJIDEA #intelliJ #jetbrains #java #HelloWorld #programming

Пікірлер: 262
@run-forrest-run
@run-forrest-run 4 жыл бұрын
Notes to myself: 3:00 - create package along with java class 4:13 - insert live template (command + j) 8:12 - open and close run window (command + 4) 8:46 - define artifact for JAR file 12:35 - show run anything dialog (ctrl twice)
@yolamontalvan9502
@yolamontalvan9502 4 жыл бұрын
Can I have permission to use your notes. I know you worked hard to prepare it. Thanks.
@deltaninjadrm
@deltaninjadrm 3 жыл бұрын
you need a notepad bro
@run-forrest-run
@run-forrest-run 3 жыл бұрын
@@deltaninjadrm I got a memory of a goldfish. When KZfaq recommended this video again, I was happy to see my notes written by my younger-self. I was total oblivious that I watched this video before. Regard my notes as digital sticky notes. Put them on the things as close as possible. ;)
@guywithhair4362
@guywithhair4362 2 жыл бұрын
@@run-forrest-run how are you now bro
@bhargavi_reddy_5
@bhargavi_reddy_5 7 ай бұрын
How to set the classpath
@laithal-zoubi1547
@laithal-zoubi1547 4 жыл бұрын
The more I use IntelliJ idea, the more I love it.
@zes3813
@zes3813 3 жыл бұрын
wrr
@destiny_02
@destiny_02 3 жыл бұрын
It laggs on old PC's
@justsheeeps134
@justsheeeps134 3 жыл бұрын
@@destiny_02 enable power save mode alho many functions will be lost....
@destiny_02
@destiny_02 3 жыл бұрын
@@justsheeeps134 it has a power saver ?
@ID_Station
@ID_Station 3 жыл бұрын
Me too!!!
@Renso2010
@Renso2010 2 жыл бұрын
My native language is spanish, but this tutorial I understand you 90 percent because your explanation is an easy to follow, your pronunciation, entonation, grammar is perfect for me, I know that this tutorial is the most basic but for me was incredible to understand you because you are from the ee.uu, thanks for share this information, regards from Perú.
@deepankarchakraborty236
@deepankarchakraborty236 2 жыл бұрын
Kudos to the person who explain this video. You really saved a lot of people from trouble and confusions. Thanks.
@intellijidea
@intellijidea 2 жыл бұрын
Glad you liked it!
@martinmichajlow6370
@martinmichajlow6370 4 жыл бұрын
in 2:44 it is crucial that you have selected `src` before creating a new class
@Twenbo
@Twenbo 3 жыл бұрын
thanks dude. I was going nut because i cannot find "Java Class" in New.
@hepbep_
@hepbep_ 3 жыл бұрын
the new class wont be in the source if you dont
@cybercery5271
@cybercery5271 3 жыл бұрын
bro tysm
@didoforce3
@didoforce3 3 жыл бұрын
thank you
@sangeychoikyong2032
@sangeychoikyong2032 2 жыл бұрын
Thanks
@celina6204
@celina6204 3 жыл бұрын
Python coder here trying to learn Java. Exactly what I needed! Thank you!
@fairypoppins2376
@fairypoppins2376 3 жыл бұрын
same!
@kartikkhanna7704
@kartikkhanna7704 3 жыл бұрын
same here celina python is far more easy
@intellijidea
@intellijidea 3 жыл бұрын
Great to hear!
@DreamDropsTV
@DreamDropsTV 3 жыл бұрын
@@kartikkhanna7704 I don't know why when you are talking about procedural programming I feel python has the easiest syntax not even c/c++ can come near that , but when OOP is applied I feel very uncomfortable in python whereas, OOP in JAVA is very much sorted (I previously learnt c/c++ from there i got this "C-style" Programming influence) . If you talk about non-C- style programming languages, I have learnt BASIC and python only. Python is great language
@Quantum_in_Java
@Quantum_in_Java 2 жыл бұрын
Do we need to create a new package everytime we write a new code for different programs ?
@cerulean22b69
@cerulean22b69 4 жыл бұрын
thank you for this, i was having trouble with getting started with using IDEs. i've been learning in an online course which teaches how the language works but doesn't cover IDEs.
@anshul9856
@anshul9856 4 жыл бұрын
Keep it up
@cerulean22b69
@cerulean22b69 4 жыл бұрын
@@anshul9856 thanks i will. Im really enjoying learning coding so far.
@intellijidea
@intellijidea 3 жыл бұрын
Glad it was helpful!
@Ihavetoreturnsomevideotapes
@Ihavetoreturnsomevideotapes 2 жыл бұрын
@@intellijidea the ide is shit
@youvegotmail9385
@youvegotmail9385 Жыл бұрын
Probably the best quick start tutorial i've ever seen.
@lifesamazinginindia
@lifesamazinginindia 3 жыл бұрын
Coming from Eclipse this IDE feels like alien tech !!! Great video
@chakt2772
@chakt2772 4 жыл бұрын
Awesome tutorial for someone starting with IntelliJ. The tutorial even show how to build jar (Java Archive) file.
@kubaczek20
@kubaczek20 3 жыл бұрын
Thanks for simple and clean explanation of entering program :)
@intellijidea
@intellijidea 3 жыл бұрын
Glad it was helpful!
@yarikblack
@yarikblack 2 жыл бұрын
Thank you for this video! Finally i found how to create a Java file. This is first step :)
@lukewestfall1689
@lukewestfall1689 4 жыл бұрын
Incredibly articulate and informative. Perfect tutorial!
@lolpro5922
@lolpro5922 2 жыл бұрын
Are you programmer or learner
@rocknlife9192
@rocknlife9192 3 жыл бұрын
Thanks JetBrains for this awesone tutorial !!!
@intellijidea
@intellijidea 3 жыл бұрын
Glad you liked it!
@parthsalat
@parthsalat 2 жыл бұрын
Thanks a lot for the detailed explanation!
@srirachahero4679
@srirachahero4679 2 жыл бұрын
Late to the party but just saying thank you for this tutorial 🙂 Now, on to Spring examples!
@parthsalat3915
@parthsalat3915 2 жыл бұрын
Thanks a lot for the elaborate explanation! 👏👏
@NooglerNafiz
@NooglerNafiz 2 жыл бұрын
IntelliJ, Pycharm, Visual Studio Code, Visual Studio, Android Studio and Xcode, Code::Blocks are my favorite IDE's for Software Development.
@chrison87
@chrison87 3 жыл бұрын
Awesome video... First time user to IntelliJ, and I am already in love with it.
@intellijidea
@intellijidea 2 жыл бұрын
Glad you like it!
@pio024
@pio024 2 жыл бұрын
thanks very much for creating and sharing such a nice and easy to follow Tutorail
@ondebass9538
@ondebass9538 3 жыл бұрын
This video was so well explained, thank you!
@intellijidea
@intellijidea 3 жыл бұрын
Glad you enjoyed it!
@amitkumarsharma7449
@amitkumarsharma7449 10 ай бұрын
Thank you for a wonderful tutorial, No complains as a beginner.. Kudos👏👏🙏
@barkeeper7887
@barkeeper7887 4 жыл бұрын
Intellij IDEA is the best IDE ever!!!!!!
@HarshRajAlwaysfree
@HarshRajAlwaysfree 4 жыл бұрын
Personally I like VScode more , its much more user friendly but its not good for Java, For front end atleast VScode is best for me
@Amaraticando
@Amaraticando 4 жыл бұрын
@@HarshRajAlwaysfree VSCode is halfway between a code editor and an IDE. IDEs are always more complicated and tend to be less user friendly at first.
@briza_md
@briza_md 3 жыл бұрын
Perfect explanation, thank you!
@intellijidea
@intellijidea 3 жыл бұрын
Glad it was helpful!
@mr.perfect4594
@mr.perfect4594 2 жыл бұрын
Hey, Thank You Soo Much!! You solved many problems... Thank A Lot ❤️ :)
@amikawi
@amikawi 3 жыл бұрын
Very helpful! Thank you very much!
@intellijidea
@intellijidea 3 жыл бұрын
Glad it was helpful!
@shashank8322
@shashank8322 3 жыл бұрын
IntelliJ is IDEA is really a good IDE I'm in love with it
@mohamadibrahim9981
@mohamadibrahim9981 2 жыл бұрын
thanks for great and simple video
@micleh
@micleh 4 жыл бұрын
Awesome! Could you please make more such videos. My students will benefit greatly from them and I' like to link them to our tutorials section. In future, I'd very much like to see a similar video with the configuration for JavaFX. I'm struggelining a bit to make it run with openjfx and openjdk (adoptjdk) under linux since the vmoptions must be set. With liberica there is no need to do so.
@pixelPlex
@pixelPlex 4 жыл бұрын
Just use SDK Man ( sdkman.io/ ) to manage the JDK's, and other JVM based technologies (eg Kotlin). When downloading IntelliJ go for the option that includes the Idea JDK.
@softwareair8181
@softwareair8181 3 жыл бұрын
Thank you so much, this really helps!! 😃😃
@intellijidea
@intellijidea 2 жыл бұрын
Glad it helped!
@buraxta_
@buraxta_ 2 жыл бұрын
it was very helpful, thanks.
@Robert723
@Robert723 4 жыл бұрын
Great tutorial!
@intellijidea
@intellijidea 3 жыл бұрын
Thank you! Cheers!
@kavinskz126
@kavinskz126 3 жыл бұрын
vera level super
@msnowman
@msnowman 4 жыл бұрын
Do more videos like this!
@hamidja1537
@hamidja1537 Жыл бұрын
Thanks for sharing
@mirthikashanmugakumar8032
@mirthikashanmugakumar8032 2 жыл бұрын
Awesome!! It works!!
@MrVirkMedia
@MrVirkMedia 2 жыл бұрын
Very helpful thank you
@sinpleplayer7340
@sinpleplayer7340 4 жыл бұрын
Trisha is the best!
@IoannisPanteleakis
@IoannisPanteleakis 4 жыл бұрын
Can you do the same video for a JavaFx project (creating a new project, coding, packaging etc using Java/JavaFx 14)?
@TrishaGee
@TrishaGee 4 жыл бұрын
I'm working on a JavaFX 14 project at the moment, but I haven't had time to finish it off. I do have JavaFX in some of my other tutorials, like this Spring + JavaFX tutorial: blog.jetbrains.com/idea/2019/12/tutorial-reactive-spring-boot/
@bojacksworldwideweb
@bojacksworldwideweb Жыл бұрын
Java aint not walk in the park, its actually more challenging than Phyton and plus this IDE makes it even more nerve wrecking!! on the other hand the UI and promps are fantasic, just awe-struck.
@flashbao1922
@flashbao1922 3 жыл бұрын
IntelliJ idea made me into JAVA from the boring NotePAD! but I don't use code completions at all, this is a good way to forget code syntax! so it just write them out!
@Redguard677
@Redguard677 10 ай бұрын
Thanks Trisha
@My-Notes
@My-Notes 4 жыл бұрын
Best 👍
@najeebullah4900
@najeebullah4900 2 жыл бұрын
Great Miss!
@MagicJonathan
@MagicJonathan 3 жыл бұрын
Can somebody explain why you need this jar File? It appears as the class and the jar file have the same functionality, so why do we need to create a jar file? Thanks
@DreamDropsTV
@DreamDropsTV 3 жыл бұрын
Jar file can be used to make an executable application which you can click and run on any OS(since java is platform independent, but keep it in mind target machine must have JRE installed) JAR is also used to archive certain class files and store it in a repository for future use (As normally people use winRAR, winZip, 7zip) JAR is also an file archiver
@Quantum_in_Java
@Quantum_in_Java 2 жыл бұрын
Do we need to create a new package everytime we write a new code for different programs ?
@akanpagsininaa.richmond4442
@akanpagsininaa.richmond4442 Жыл бұрын
very helpful
@codewithluq
@codewithluq 3 жыл бұрын
This great. I am asking for videos about linking libraries with IntelliJ . Forexample in CLION, how do I integrate OPENGL
@gurjaschawla7487
@gurjaschawla7487 2 жыл бұрын
Thank You , very useful
@intellijidea
@intellijidea 2 жыл бұрын
You are welcome
@jrfraser5892
@jrfraser5892 3 жыл бұрын
Nice...better than eclipse. Well done.
@intellijidea
@intellijidea 3 жыл бұрын
Thanks a lot!
@luispiedra4918
@luispiedra4918 3 жыл бұрын
Where does the .jar saves? Im trying to find it, so I can run it
@hdemonts
@hdemonts 4 жыл бұрын
8:36 Use the following keyboard shortcut to open the project's structure : - Mac : Cmd+; - Windows/Linux : Shift+Ctrl+Alt+double-tap-your-belly+S
@shanayasingh7949
@shanayasingh7949 Ай бұрын
Kudos
@Unknown-hu4gf
@Unknown-hu4gf 2 жыл бұрын
Hey, how do I get IntellJ IDEA to now hang and stutter when using it? Do I need a bigger CPU or something? I'm using a SSD and 32GB of RAM and my cpu is just a two core AMD, but it has a 3.4Ghz rating. And the thing just won't run smoothly! Are their configuration settings that I'm not using or something?
@giacomomosele2221
@giacomomosele2221 2 жыл бұрын
Once I have created the jar file, can I just run it by double-clicking it in its folder? If I can, will it open the cmd or what?
@sanchaykumar3343
@sanchaykumar3343 3 жыл бұрын
thanks, Czech republic!!
@vipnirala
@vipnirala 3 жыл бұрын
I just love intellij😍
@intellijidea
@intellijidea 3 жыл бұрын
We are happy to hear that :)
@aashmitanand788
@aashmitanand788 2 жыл бұрын
Intellij IDEA is amazing
@cybercery5271
@cybercery5271 3 жыл бұрын
Oh damn i live this
@DarkBraveStuff
@DarkBraveStuff 3 жыл бұрын
I started out using eclipse, but switch over to IntelliJ within a day.
@ayishashaik7787
@ayishashaik7787 2 жыл бұрын
Thank you so much
@zoladkow
@zoladkow 5 ай бұрын
Wow, this video is actually 13:37 ! 😁👍
@botsynth
@botsynth 9 ай бұрын
Which way is the best: creating a project with one module (like in video), or creating an empty project and adding multiple modules?
@tamannamondal500
@tamannamondal500 2 жыл бұрын
Thank you 💞
@LachCrafter
@LachCrafter 2 жыл бұрын
thank you!
@Roozbeh49463
@Roozbeh49463 2 жыл бұрын
thanks. that's helpful
@intellijidea
@intellijidea 2 жыл бұрын
Glad it was helpful!
@AdrianSmithSEO
@AdrianSmithSEO 3 жыл бұрын
IntelliJ Idea Rocks!
@intellijidea
@intellijidea 3 жыл бұрын
Yay! Thanks
@areebarazzaq5210
@areebarazzaq5210 2 жыл бұрын
Thank u so much
@whitedeskcoding7298
@whitedeskcoding7298 2 жыл бұрын
The perfect IDE doesn't exi...
@mohamedkanu66
@mohamedkanu66 3 жыл бұрын
I like using IntelliJ so much . Now I need to install and configure the CloudSim simulation toolkit in it for my semester project. Unfortunately, Most tutorials for this are based on using eclipse IDE and I don’t want to change using IntelliJ. Please help me on how to integrate CloudSim toolkit in IntelliJ IDEA. Thank u so much
@LifeOnline15
@LifeOnline15 2 жыл бұрын
Did you solve it ?
@willcummings3631
@willcummings3631 4 жыл бұрын
I'm on Mac. Whenever I press Command N to open a new class, as she said, it gives me a different option that says "editor coding files". Does anybody know what I'm doing wrong?
@TrishaGee
@TrishaGee 4 жыл бұрын
There used to be two keymaps for the Mac. The old one is more similar to the Windows shortcuts, so maybe that's the one you're using? The keymap I'm using (the one from the video) used to be called "Mac OS X 10.5", although I think in the latest version of IntelliJ IDEA it's just the default MacOS keymap.
@y.bgamesplayer
@y.bgamesplayer 3 жыл бұрын
Cool I got many idea
@jeffersonvalle1077
@jeffersonvalle1077 2 жыл бұрын
Is it just me or when I install Intellij and try and open a new project I don't have the Java option just Java FX
@salvador759
@salvador759 Жыл бұрын
What if I wanted to run the file outside the IDE, like a normal executable?
@HarshaVardhan-xx6ii
@HarshaVardhan-xx6ii 2 жыл бұрын
Why does it run the entire build process? Couldn't it simply compile and run in half a second like Eclipse does?
@abhiramnaik8399
@abhiramnaik8399 3 жыл бұрын
Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate with errors. Please check your firewall settings and restart IntelliJ IDEA. sir I am getting this error I open intelija app how to change the setting in fire can u please do a video on that!!!!
@aspasiapolitou8115
@aspasiapolitou8115 2 жыл бұрын
At 0:40 on the top-left of the screen "java" is selected, on my pc this option is not available. How can I add this?
@aknerdem865
@aknerdem865 2 жыл бұрын
how can I add multithreading here on this project . I want to start solve 5 different position.
@PareshGujarati
@PareshGujarati Жыл бұрын
Get to know the full features of a simple application. Thanks, IntelliJ IDEA.
@yassinghareeb5761
@yassinghareeb5761 2 жыл бұрын
thank you
@sarvarmarimboyev4747
@sarvarmarimboyev4747 3 жыл бұрын
Hi my Inteleji idea is not reading image and audio files I enter all file location correctly but still it doesn't working maybe in my settings something changed you know how to fix it
@sirjack19
@sirjack19 2 жыл бұрын
I guess its a rather simply problem, but the code completion doesnt show any of the system tags for me... How could I fix that? Great vid btw!!
@johnyo4146
@johnyo4146 3 жыл бұрын
IntellJ IDEA is very good.
@brothermalcolm
@brothermalcolm Жыл бұрын
Java + IntelliJ - kill two birds with one stone!
@veermehta2926
@veermehta2926 4 жыл бұрын
Hey, I've got an issue with the run part, I don't get an option to run my class, it just shows edit configurations And I don't know how to go about it Please could you help me
@TrishaGee
@TrishaGee 3 жыл бұрын
You might need to make sure you have a JDK downloaded and installed? Difficult to know exactly what the issue is. If you can't get it to work you can raise an issue: youtrack.jetbrains.com/issues/IDEA
@tejaskausal6277
@tejaskausal6277 2 жыл бұрын
Try downloading new jdk from new project menu and after creating new project click on build project icon. Then you can get the run option.
@ashleyduffy2088
@ashleyduffy2088 3 жыл бұрын
oh my god thank you!
@intellijidea
@intellijidea 3 жыл бұрын
You're welcome!
@gauravthakur4787
@gauravthakur4787 3 жыл бұрын
1:30 its showing no jdk package are available for download
@AyushSingh-vl4qy
@AyushSingh-vl4qy 2 жыл бұрын
when i run it, it keeps giving me error, "cannot determine path to tools.jar library for openjdk. what can i do to fix it
@forismanos1
@forismanos1 4 жыл бұрын
Yes but why when i double click on jar it doesn't do anything ?
@BerkayYilmaz16
@BerkayYilmaz16 3 жыл бұрын
Merhaba. Çok acil sorum olacak yardımcı olursanız çok sevinirim. Ben intellij ideayı indirdim. Ondan önce de Java development kit 11 indirdim. Lakin ideayı açmaya çalıştığımda critical startup error verdi. Nedeni nedir ? Java development kit eski sürüm olduğu için mi ? Yani Java development kit 16 yı mı indirmem gerekiyor ? Şimdiden teşekkürler.😊😊
@ubaidullahbadvi9485
@ubaidullahbadvi9485 3 жыл бұрын
translation: Hello there. I would be very grateful if you could help me with my urgent question. I downloaded intellij idea. Before that, I downloaded the Java development kit 11. But when I tried to open the idea, it gave a critical startup error. What is the reason? Is it because the Java development kit is an old version? So do I need to download Java development kit 16? Thanks in advance.
@veljko9301
@veljko9301 3 жыл бұрын
Does anyone knows why I don't have configure files (.idea)?
@stefbbq1898
@stefbbq1898 4 жыл бұрын
thanks madam
@hashcat1568
@hashcat1568 3 жыл бұрын
Can we make desktop apps like ms paint in intellij idea
@romeochannel5738
@romeochannel5738 3 жыл бұрын
I try so many times still cannot get is I can put system after the run the main
@beckpalmer8367
@beckpalmer8367 3 жыл бұрын
i'm having this problem, too
@mondoshigua
@mondoshigua Жыл бұрын
👋🏼🇨🇴🧔🏻👍🏼🤝🏼 Saludos desde Colombia.
@shrutiranjanjha7595
@shrutiranjanjha7595 3 жыл бұрын
Cannot resolve symbol 'String' showing this as error how to solve it? I'm a beginner at java
@Plynn33
@Plynn33 4 жыл бұрын
I am having a problem here, When I click "Build", there is only Build Module"HelloWorld" and no "Build Artifacts". Everything in my IntelliJ IDEA is as default. There is no "Out" folder after running. The Artifacts folder is in the .idea folder with a file called HelloWorld_jar.xml. Anyone have an idea what have I done wrong ? Thx
@sanandkrishnan9172
@sanandkrishnan9172 4 жыл бұрын
You mean you can't write system.out.println
@sanandkrishnan9172
@sanandkrishnan9172 4 жыл бұрын
Mine error says package doesnot exist
@alisalehi8688
@alisalehi8688 2 жыл бұрын
Hello dear friends . I have a problem in using buttons. When i set buttons and i run instead of what i want just show some dots. Do you now how can i fix it?
@hardryv3719
@hardryv3719 2 жыл бұрын
I loaded IntelliJ on Win-10 and the UI is sadly *quite* different.
@aknerdem865
@aknerdem865 2 жыл бұрын
How can I print the all board every time it solves one box?
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,6 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 34 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 15 МЛН
42 IntelliJ IDEA Tips and Tricks
1:00:12
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 354 М.
Learn Java in One Video - 15-minute Crash Course
14:54
Coding with John
Рет қаралды 672 М.
Top 15 IntelliJ IDEA shortcuts
7:59
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 367 М.
IntelliJ IDEA. Tips for Writing Code
9:44
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 79 М.
Java Is Better Than Rust
42:14
ThePrimeTime
Рет қаралды 150 М.
IntelliJ IDEA Full Course
2:35:00
Amigoscode
Рет қаралды 805 М.
Java calculator app 🖩
34:36
Bro Code
Рет қаралды 413 М.
How To Use GUI Designer In IntelliJ IDEA IDE
14:50
ProgrammingKnowledge
Рет қаралды 76 М.
Apple's surprise 2024 product LEAKED! iPhone 16 Changes!
12:30
The Apple Circle
Рет қаралды 86 М.
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 34 МЛН