Creating java code and simplifying execution with JBang

preview_player
Показать описание
We will look at JBang which is a tool that could simplify your workflow with java applications. For instance you could run java programs directly from maven or github, you can create new programs in java with JBang.

Cyber Security. An introduction to modern information and system protection technology and methods.

40% off Coursera Plus for 3 Months

Support the channel and donate a coffee:

Or visit my blog at:

Outro music: Sanaas Scylla

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

Great video! Btw, a really nice way to show off the usefulness of being able to install multiple JDKs is to use some new code feature that only exists in that version (eg. "record") and then add "//JAVA 15" to the file. If you run it you will see that Jbang will automatically download Java 15 for you before running the code. It makes it really easy to share little snippets of code or small tools without having to worry that the other person has the correct Java version installed.

quintesse
Автор

A nice introduction to JBang, please do a simple automation job example using it. Thanks

digiwizkid
Автор

Amazing video! Thanks a lot for doing it! =)

LeandroCoutinho
Автор

Very helpful video. Thank you! But the only thing I cannot understand. How vscode knows how to find dependencies? Deps in comments is not standard. And I couldn't see any .pom .groovy here. Was there some special plugin?

ЛеонидГ-яя
Автор

Thanks for spreading the info!

Good walkthrough, but doing ./hello.java should actually also work in a bash like env like mingw on windows - if it does not that is a bug - I spent way too many nights checking that worked. If you can reproduce do please open a bug for what you use and I'll get it fixed.

MaxRydahlAndersen
Автор

Nice video. Thanks for sharing. How to set port for rest server?

sharifyy