Prework #1

So it`s time to do prework #1. I got instructions to install some programs before
I start course #SDA.

Programs are:

  1. Slack Communicator
  2. Java JDK8
  3. Intellij IDEA
  4. Git
  5. Maven (sic!!!) – it was very difficult – about this installation a few lines below.
  6. MySQL
  7. MongoDB
  8. Apache Tomcat
  9. Wildfly
  10. Wireshark
  11. MidnightCommander (MC) – they said – write in terminal brew install mc – yes sure mhm – it didn’t work but there is solution so scroll down to see what You have to do to installed it!

Ok, so the tough stuff to install are Maven and MC.  Rest of this program are easy to install so I will not write how to install it.

To install Maven You should install Java SDK8. You should set JAVA_HOME. This is priority. When You do this it’s not enough to work Java properIy. I have to say I did some research to complete this task. I found two sites about installing Maven.

This sites helps me to install this Maven “headake”.

You should remember that instruction on official site is very poor and its not explain everything.  You can look at here:   For beginers who don’t now what is bash or what is terminal, vim etc it will be a nightmare. I cant imagine people who haven’t learn some basic bash or they haven’t have any contact with computer science and they install it as simple as Maven site says.

So this is install method which I used.

Set JAVA_HOME, MAVEN_HOME and M2_HOME using vim. In terminal:

vim .profile

And write this one (in vim click es and the i to insert):

export JAVA_HOME
export MAVEN_HOME="/Users/your_name_profile/your path to extract files apache maven/apache-maven-3.5.4"    
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export M2_HOME=/Users/your_name_profile/your path to extract files apache maven/apache-maven-3.5.4
export PATH=$PATH:$M2_HOME/bin

After copying it write :wq (write and quit) from vim. Then write source .profile in terminal enter.

Test Your installation: In terminal write java -version then mvn -version. You should have something like this:

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
users-MacBook-Pro:~ you_profile_name$
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
Maven home: /Users/your_name_profile/your path to extract files apache maven/apache-maven-3.5.4
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
Default locale: pl_PL, platform encoding: UTF-8
OS name: "mac os x", version: "10.14", arch: "x86_64", family: "mac"

End of story Maven!

So time for:

  • Midnight Commander

In PDF file from SDA there was sth like this:

In terminal enter: brew install mc – It didnt work. Why? Beacouse You didn’t install Homebrew. This was let`s say – tricky. Please go to:  and follow instructions. Read documentation. Then come back to terminal and install Midnight Commander. It was nice to see old fashion commander as Norton Commander was. I remebered it. I grew up on Norton Commander.

So thats it. I hope I helped You to install this two tricky things.

Leave a Reply

Your email address will not be published. Required fields are marked *