COS 212 Resources

COS 212 Resources

  • Docs

›Getting Started

Getting Started

  • Introduction
  • Installing Linux
  • Development Environment

Java Crash Course

  • Hello World
  • Compiling and Running
  • Makefile
  • Comments
  • Variables and Types
  • Operators
  • Slides

Tools

  • Version Control
  • Hello World with Git

Notes

  • Self Organising Lists

Development Environment

This document assumes you are running a new install of Fedora 29. The instructions here are aimed at installations, usage will be described later.

Java (JRE and JDK)

  • https://fedoraproject.org/wiki/Java
  • https://docs.fedoraproject.org/en-US/quick-docs/installing-java/
sudo dnf install java-1.8.0-openjdk java-1.8.0-openjdk-devel

Visual Studio Code

  • Visual Studio Code is a flexible editor with Extensions for most major languages.
  • IntelliJ has better debugging features out of the box but is limited to Java.

I will be using VSCode.

https://code.visualstudio.com/docs/setup/linux :

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

dnf check-update
sudo dnf install code

VSCode can now be opened by running code from the terminal.

Extensions

Without extensions VSCode is just a good text editor. With extensions it can be turned into an IDE.

# Java Extension Pack:
code --install-extension vscjava.vscode-java-pack

# Spell Checker
code --install-extension streetsidesoftware.code-spell-checker
Last updated on 2/5/2019 by Evert Geldenhuys
← Installing LinuxHello World →
  • Java (JRE and JDK)
  • Visual Studio Code
    • Extensions
COS 212 Resources
Docs
Getting Started
GitHubStar
Facebook Open Source
Copyright © 2019 Evert Geldenhuys