How to install Java SDK 9 with Maven and IntelliJ Using Homebrew on a Mac November 2017 edition

preview_player
Показать описание
To install Java SDK (JDK) on a mac. Also install Maven and IntelliJ, using Homebrew. Updated edition.

You'll see:

- check if Java is installed with `javac -version`
- check if maven is installed with `mvn -version`
- install Java using Homebrew with `brew cask install java`
- install maven with `brew install maven`
- run the tests for the project using `mvn test`
- install IntelliJ with `brew cask install intellij-idea-ce`
- open the project in IntelliJ
- if necessary configure IntelliJ to use the Java 9 SDK
- run a Java JUnit Test from IntelliJ
- run maven commands from within Intellij using the built in terminal

You can find more information at:

Or read my book, Java For Testers

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

Great Video. Straight forward and super easy to follow. I love your startUsingJavaJUnit-master.

robbyseck
Автор

I wasted an hour trying to download stupid Maven. Thank God for Homebrew.

Great video!

mantistoboggan
Автор

Thanks for this EvilTester! Will be using this for my Automation Training Setup Course!

HoldenRiot
Автор

Thanks Alan! I'm new with Mac and your's video was 100% . You helped me a lot to setup my  Intellij.

papunio
Автор

Great job! Thanks a lot for your effort and sharing your knowledge with us!!! Bought your book already :-)

BigStallion
Автор

jdk 15/16 No Cask with this name exists. with Big Sur. any pointers? Many thanks

ohhhgggeeezzz
Автор

Thank you for the video, but I'm having a problem with maven that it doesn't pass the test as it did before:
I did the following:
1- Installed Maven (as it'll automatically install JDK 1.8).
2- Installed intelliJ.
3- Tried to run the project it failed the test but the command "mvn test" was working as expected.
4- After searching the error, found that the problem was related to that the JDK was an old version for the MAC.
5- Installed JDK 9.0. and now the build is running fine but maven is always failing the test.

Is there anything I should be doing?
I'm sorry as I'm new to this and really appreciate your help! thanks

mohamedclio
Автор

how to download StartUsingJavaJUnit (3:12) from website?

prasannapasunooru