Java Build Overview: javac, Ant, Maven, Gradle, with demonstration

preview_player
Показать описание
Compiling, or building, a Java program is the process of turning text-based source code files, with the .java extension, into platform independent bytecode files, with a .class extension. Next, a Just In Time compiler turns that into machine code - the 0s and 1s that speak the language of the native computer.

There are several ways to build Java programs:
javac: native Java builder.
gradle: json-based build system, with dependency management. Frequently used with Android.
Maven: XML-based dependency and versioning management. Frequently used with core Java programs and Spring Boot.

In this video, I give an overview of each of these.

Рекомендации по теме
Комментарии
Автор

This is really friendly to a java beginner. We got a historical view of the developing of java building tools. Now, we know where we are, and where to go. Thank you so much!

bolong
Автор

Wow, you are a great teacher. This clarified so many things for me.

hjwqsjx
Автор

Great video, I got so much clarified! Thanks a lot Brandan

eliazzzito
Автор

This is really helpful. Thanks a lot and the tutorial coming :)

cogitatersigauke
Автор

Gradle is not JSON based. It's a DSL on top of Groovy, like Jenkins.

mcndr
Автор

Hello Sir. Why my runnable Jar is running fine from CMD but i can not run it by double clicking? Thanks.

nicosiarecords
Автор

Hi Brandan,
As I created the Maven project I got the errors "Unresolved plugin: 'org.apache.maven.plugins ...'" which, thanks to stackoverflow, I fixed with "File > Invalidate Caches > Invalidate and Restart."
Now, I also noticed that the .gitignore file in the Maven project differs from the one we created for the original project. Am I supposed to merge the lines from .gitignore of the original project into .gitignore of the Maven project? Or replace the content of .gitignore of Maven project with the one generated by gitignore(.)io, this time using the updated set of the keywords like 'Java' 'IntelliJ' 'Maven'?

fyokspx