Creating your first Java application with IntelliJ IDEA

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 262

  • @Renso2010
    @Renso2010 3 роки тому +29

    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ú.

  • @run-forrest-run
    @run-forrest-run 4 роки тому +262

    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 роки тому +19

      Can I have permission to use your notes. I know you worked hard to prepare it. Thanks.

    • @deltaninjadrm
      @deltaninjadrm 4 роки тому +7

      you need a notepad bro

    • @run-forrest-run
      @run-forrest-run 4 роки тому +15

      @@deltaninjadrm I got a memory of a goldfish. When UA-cam 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 роки тому +1

      @@run-forrest-run how are you now bro

    • @bhargavi_myself
      @bhargavi_myself 11 місяців тому

      How to set the classpath

  • @laithal-zoubi1547
    @laithal-zoubi1547 4 роки тому +236

    The more I use IntelliJ idea, the more I love it.

    • @zes3813
      @zes3813 3 роки тому

      wrr

    • @destiny_02
      @destiny_02 3 роки тому +2

      It laggs on old PC's

    • @justsheeeps134
      @justsheeeps134 3 роки тому +1

      @@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!!!

  • @deepankarchakraborty236
    @deepankarchakraborty236 3 роки тому +18

    Kudos to the person who explain this video. You really saved a lot of people from trouble and confusions. Thanks.

  • @martinmichajlow6370
    @martinmichajlow6370 4 роки тому +121

    in 2:44 it is crucial that you have selected `src` before creating a new class

    • @Twenbo
      @Twenbo 4 роки тому +11

      thanks dude. I was going nut because i cannot find "Java Class" in New.

    • @hepbep_
      @hepbep_ 4 роки тому +3

      the new class wont be in the source if you dont

    • @cybercery5271
      @cybercery5271 4 роки тому

      bro tysm

    • @didoforce3
      @didoforce3 3 роки тому

      thank you

    • @sangeychoikyong2032
      @sangeychoikyong2032 3 роки тому

      Thanks

  • @celina6204
    @celina6204 4 роки тому +15

    Python coder here trying to learn Java. Exactly what I needed! Thank you!

    • @fairypoppins2376
      @fairypoppins2376 4 роки тому +2

      same!

    • @kartikkhanna7704
      @kartikkhanna7704 3 роки тому +1

      same here celina python is far more easy

    • @intellijidea
      @intellijidea  3 роки тому +1

      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 ?

  • @youvegotmail9385
    @youvegotmail9385 2 роки тому +1

    Probably the best quick start tutorial i've ever seen.

  • @cerulean22b69
    @cerulean22b69 4 роки тому +53

    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.

  • @chrison87
    @chrison87 3 роки тому +3

    Awesome video... First time user to IntelliJ, and I am already in love with it.

  • @lifesamazinginindia
    @lifesamazinginindia 3 роки тому +5

    Coming from Eclipse this IDE feels like alien tech !!! Great video

  • @kubaczek20
    @kubaczek20 3 роки тому +4

    Thanks for simple and clean explanation of entering program :)

  • @rocknlife9192
    @rocknlife9192 4 роки тому +3

    Thanks JetBrains for this awesone tutorial !!!

  • @lukewestfall1689
    @lukewestfall1689 4 роки тому +7

    Incredibly articulate and informative. Perfect tutorial!

    • @lolpro5922
      @lolpro5922 3 роки тому

      Are you programmer or learner

  • @pio024
    @pio024 3 роки тому +1

    thanks very much for creating and sharing such a nice and easy to follow Tutorail

  • @BillionaireDeveloper
    @BillionaireDeveloper 2 роки тому +1

    IntelliJ, Pycharm, Visual Studio Code, Visual Studio, Android Studio and Xcode, Code::Blocks are my favorite IDE's for Software Development.

  • @barkeeper7887
    @barkeeper7887 4 роки тому +9

    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 роки тому +1

      @@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.

  • @ondebass9538
    @ondebass9538 3 роки тому +8

    This video was so well explained, thank you!

  • @chakt2772
    @chakt2772 4 роки тому +8

    Awesome tutorial for someone starting with IntelliJ. The tutorial even show how to build jar (Java Archive) file.

  • @amitkumarsharma7449
    @amitkumarsharma7449 Рік тому

    Thank you for a wonderful tutorial, No complains as a beginner.. Kudos👏👏🙏

  • @srirachahero4679
    @srirachahero4679 2 роки тому +1

    Late to the party but just saying thank you for this tutorial 🙂
    Now, on to Spring examples!

  • @yarikblack
    @yarikblack 3 роки тому +1

    Thank you for this video! Finally i found how to create a Java file. This is first step :)

  • @IoannisPanteleakis
    @IoannisPanteleakis 4 роки тому +13

    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/

  • @parthsalat3915
    @parthsalat3915 2 роки тому +2

    Thanks a lot for the elaborate explanation! 👏👏

  • @parthsalat
    @parthsalat 2 роки тому +2

    Thanks a lot for the detailed explanation!

  • @hdemonts
    @hdemonts 4 роки тому +3

    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

  • @shashank8322
    @shashank8322 3 роки тому +1

    IntelliJ is IDEA is really a good IDE I'm in love with it

  • @briza_md
    @briza_md 3 роки тому +3

    Perfect explanation, thank you!

  • @bojacksworldwideweb
    @bojacksworldwideweb 2 роки тому

    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 роки тому +1

    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!

  • @sinpleplayer7340
    @sinpleplayer7340 4 роки тому +1

    Trisha is the best!

  • @JonnyInChina
    @JonnyInChina 4 роки тому +6

    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 роки тому +1

      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

  • @hamidja1537
    @hamidja1537 2 роки тому

    Thanks for sharing

  • @mohamadibrahim9981
    @mohamadibrahim9981 3 роки тому

    thanks for great and simple video

  • @DarkBraveStuff
    @DarkBraveStuff 3 роки тому +2

    I started out using eclipse, but switch over to IntelliJ within a day.

  • @mr.perfect4594
    @mr.perfect4594 2 роки тому +2

    Hey, Thank You Soo Much!!
    You solved many problems...
    Thank A Lot ❤️ :)

  • @PareshGujarati
    @PareshGujarati 2 роки тому

    Get to know the full features of a simple application. Thanks, IntelliJ IDEA.

  • @amikawi
    @amikawi 3 роки тому +2

    Very helpful! Thank you very much!

  • @Redguard677
    @Redguard677 Рік тому +1

    Thanks Trisha

  • @najeebullah4900
    @najeebullah4900 3 роки тому

    Great Miss!

  • @buraxta_
    @buraxta_ 3 роки тому +1

    it was very helpful, thanks.

  • @GradeFX
    @GradeFX 4 роки тому +4

    Notes to myself:
    (credits to Trung)
    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)

  • @aashmitanand788
    @aashmitanand788 2 роки тому

    Intellij IDEA is amazing

  • @mohamedkanu66
    @mohamedkanu66 3 роки тому +2

    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

  • @botsynth
    @botsynth Рік тому

    Which way is the best: creating a project with one module (like in video), or creating an empty project and adding multiple modules?

  • @softwareair8181
    @softwareair8181 3 роки тому +1

    Thank you so much, this really helps!!
    😃😃

  • @akanpagsininaa.richmond4442
    @akanpagsininaa.richmond4442 2 роки тому

    very helpful

  • @jeffersonvalle1077
    @jeffersonvalle1077 2 роки тому +1

    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

  • @shanayasingh7949
    @shanayasingh7949 6 місяців тому

    Kudos

  • @jrfraser5892
    @jrfraser5892 4 роки тому

    Nice...better than eclipse. Well done.

  • @kavinskz126
    @kavinskz126 3 роки тому +1

    vera level super

  • @whitedeskcoding7298
    @whitedeskcoding7298 2 роки тому

    The perfect IDE doesn't exi...

  • @AdrianSmithSEO
    @AdrianSmithSEO 4 роки тому

    IntelliJ Idea Rocks!

  • @HarshaVardhan-xx6ii
    @HarshaVardhan-xx6ii 3 роки тому +1

    Why does it run the entire build process? Couldn't it simply compile and run in half a second like Eclipse does?

  • @MrVirkMedia
    @MrVirkMedia 2 роки тому

    Very helpful thank you

  • @micleh
    @micleh 4 роки тому +10

    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.

  • @Quantum_in_Java
    @Quantum_in_Java 2 роки тому +1

    Do we need to create a new package everytime we write a new code for different programs ?

  • @zoladkow
    @zoladkow 9 місяців тому

    Wow, this video is actually 13:37 ! 😁👍

  • @romeochannel5738
    @romeochannel5738 4 роки тому +2

    I try so many times still cannot get is I can put system after the run the main

  • @gurjaschawla7487
    @gurjaschawla7487 3 роки тому

    Thank You , very useful

  • @forismanos1
    @forismanos1 4 роки тому +5

    Yes but why when i double click on jar it doesn't do anything ?

  • @veermehta2926
    @veermehta2926 4 роки тому +2

    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 4 роки тому

      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 3 роки тому

      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.

  • @johnyo4146
    @johnyo4146 3 роки тому

    IntellJ IDEA is very good.

  • @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?

  • @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 3 роки тому

    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?

  • @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

  • @GurmeetSingh-fr8uo
    @GurmeetSingh-fr8uo Рік тому

    After creating a project why didn’t you create a package? I thought classes are created within a package? Please could you explain this

  • @Robert723
    @Robert723 4 роки тому

    Great tutorial!

  • @salvador759
    @salvador759 Рік тому

    What if I wanted to run the file outside the IDE, like a normal executable?

  • @sanchaykumar3343
    @sanchaykumar3343 3 роки тому

    thanks, Czech republic!!

  • @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

  • @mirthikashanmugakumar8032
    @mirthikashanmugakumar8032 3 роки тому

    Awesome!! It works!!

  • @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!!

  • @hardryv3719
    @hardryv3719 2 роки тому +1

    I loaded IntelliJ on Win-10 and the UI is sadly *quite* different.

  • @aknerdem865
    @aknerdem865 3 роки тому

    how can I add multithreading here on this project . I want to start solve 5 different position.

  • @luispiedra4918
    @luispiedra4918 3 роки тому +1

    Where does the .jar saves? Im trying to find it, so I can run it

  • @ayishashaik7787
    @ayishashaik7787 2 роки тому

    Thank you so much

  • @tamannamondal500
    @tamannamondal500 2 роки тому

    Thank you 💞

  • @alisalehi8688
    @alisalehi8688 3 роки тому

    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?

  • @eurbanautotech
    @eurbanautotech 2 роки тому

    Hmm... the length of this video happens to be exactly 13 minutes and 37 seconds... Nice! (Yes, I'm a 90's kid...)

  • @shrutiranjanjha7595
    @shrutiranjanjha7595 3 роки тому

    Cannot resolve symbol 'String' showing this as error
    how to solve it? I'm a beginner at java

  • @codewithluq
    @codewithluq 4 роки тому

    This great. I am asking for videos about linking libraries with IntelliJ . Forexample in CLION, how do I integrate OPENGL

  • @vipnirala
    @vipnirala 4 роки тому

    I just love intellij😍

  • @willcummings3631
    @willcummings3631 4 роки тому +1

    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.

  • @riyachoudhary3541
    @riyachoudhary3541 2 роки тому

    Was unable to create packages had confusions😑 now it's sorted

  • @Roozbeh49463
    @Roozbeh49463 3 роки тому

    thanks. that's helpful

  • @abhiramnaik8399
    @abhiramnaik8399 4 роки тому

    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!!!!

  • @My-Notes
    @My-Notes 4 роки тому

    Best 👍

  • @aknerdem865
    @aknerdem865 3 роки тому

    How can I print the all board every time it solves one box?

  • @idanikamal4789
    @idanikamal4789 3 роки тому

    I'm having problems doing the with java 16.0.1

  • @gauravthakur4787
    @gauravthakur4787 4 роки тому

    1:30 its showing no jdk package are available for download

  • @ittechnology8773
    @ittechnology8773 2 роки тому

    Hello Bhai intelligent idea mein jab java korta hu Space work nahi kor Raha ha or points ka right site later ku delete kor Raha ha kiya koru botaoo

  • @Andrii_V
    @Andrii_V 3 роки тому

    Error: Unable to access jarfile
    Process finished with exit code 1

  • @PaluGrandi
    @PaluGrandi 4 роки тому +3

    this dosent work for me at all im supper stumped :C

    • @Chux48
      @Chux48 4 роки тому

      you are very right this is the worst tutorial I found on earth

  • @msnowman
    @msnowman 4 роки тому

    Do more videos like this!

  • @sarvarmarimboyev4747
    @sarvarmarimboyev4747 3 роки тому

    Hi my inteleji idea is not reading files what I need to do?

  • @veljko9301
    @veljko9301 3 роки тому

    Does anyone knows why I don't have configure files (.idea)?

  • @hashcat1568
    @hashcat1568 3 роки тому

    Can we make desktop apps like ms paint in intellij idea

  • @arush.27
    @arush.27 4 роки тому +1

    You work in light mode?!! NANI WHO ARE YOU WHO CAN MANAG THIS FEAT?!!!

    • @swordx3732
      @swordx3732 4 роки тому

      Hey Please help when I type Sy Synchronized is coming and I am having the latest version 2020.3 please help as fast as possible Thank you.

  • @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