For All Operating Systems
The Jet Brains IntelliJ IDEA Ultimate Version is installed from your GitHub Student Package. We do need the Ultimate Version for the class. When installing, taking the defaults is the best way to proceed.
This video shows how your instructor has configured his IDE. You may have your own preferences.
Some notes on configuration:
- Under Code Folding, only the show Code Folding Menu should be checked
- All Braces placement should say Next Line
- All places should say Force Braces
- Only Annotations should be wrapped
- Remember to connect your GitHub profile to IntelliJ
For Windows 10 Operating System
The basic steps to installing the software are:
- Download and install the Windows software from:
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
Note that you have to accept the licensing agreement before you can download the software
- add to environment variable JAVA_HOME C:\Program Files\Java\jdk-11.0.2
- add to path C:\Program Files\Java\jdk-11.0.2\bin
To test the installation
- java -version
- javac -version
Download and install the Windows software from https://www.sublimetext.com/
Surf to the site https://gitforwindows.org/
Download and install the software
To configure Git, enter the following from a command prompt
- git config --global user.name " < Your Name > "
- git config --global user.name " < Your GitHub email address > "
For Mac OS
To install Homebrew, first install the Xcode CLI. Alternatively, install the full Xcode software provided by Apple.
- To install the Xcode cli, from a terminal prompt enter
xcode-select --install
- To install Homebrew, from a terminal prompt enter
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- To test the Homebrew installation, from a terminal prompt enter
brew doctor
Download and install the dmg software from https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html In order to download the software, first accept the licensing agreement.
To configure the software
- determine the java home path. From a terminal prompt enter
/usr/libexec/java_home -v11
- Go to your home directory. Enter
cd
- Edit your user profile. Enter
nano .bash_profile
- At the end of the file, add
export JAVA_HOME="<directory found earlier>"
- Exit nano and restart your computer.
To test the software, from a terminal prompt enter
- java -version
- javac -version both should respond with version numbers
Surf to the website https://www.sublimetext.com/ and install the software
For Linux specifically Ubuntu 18
From a terminal prompt, enter
- sudo add-apt-repository ppa:linuxuprising/java
- sudo apt update
- sudo apt install oracle-java11-installer
- sudo apt install oracle-java11-set-default
To test the installation, enter
- java -version
- javac -version
Both should respond with version numbers
From a terminal prompt, enter
- wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
- echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
- sudo apt update
- sudo apt install sublime-text
From a terminal prompt, enter
- sudo apt upgrade
- sudo apt install git
To configure Git, enter the following from a terminal prompt
- git config --global user.name " < Your Name > "
- git config --global user.name " < Your GitHub email address > "