One-time setup
The three toolchains University of Uyo computing courses use: JDK 17 with Apache NetBeans for the COS 211 and COS 221 Java labs, Anaconda with JupyterLab for Python, and GCC via MSYS2 for C. Each guide is three steps, ends with a program you run to prove the setup works, and lists the errors that actually come up.
Do this before Week 1. Three steps, about 20 minutes. Take your time and don't skip the verification.
The JDK (Java Development Kit) contains everything you need to write and run Java.
NetBeans is the IDE used in COS 211 / 221 labs. It has a drag-and-drop GUI designer you will use later.
Confirm everything works by running your first program.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}You will run all Python lessons inside JupyterLab notebooks. The easiest path is to install Anaconda — it bundles Python, Jupyter, and the data libraries (NumPy, pandas, matplotlib) in one installer.
Anaconda is a free Python distribution. It ships with JupyterLab, Jupyter Notebook, and ~250 scientific packages pre-installed. ~700 MB download.
JupyterLab is the modern notebook interface. You can also use the classic Jupyter Notebook — both come with Anaconda.
# From Anaconda Prompt (Windows) or Terminal (mac/Linux)
jupyter lab
# Classic notebook interface (also works):
jupyter notebookCreate your first notebook and run a cell.
name = "Arete"
print(f"Hello from {name}!")
print(2 + 2)C is compiled with GCC. On Windows you get GCC by installing MinGW-w64 (we use MSYS2); macOS provides it via Command Line Tools; Linux usually ships it. You'll write and run your C code in NetBeans — the same IDE you set up for Java, just with the C/C++ plugin added.
GCC turns your .c files into runnable programs.
# After install, this should print a version (not "not found"):
gcc --versionIf you've already set up Java, you have NetBeans. Now add the C/C++ plugin so NetBeans can build C projects.
Write, compile, and run your first C program inside NetBeans.
#include <stdio.h>
int main(void) {
printf("Hello, World!\n");
return 0;
}Once your toolchain runs, the Java, Python and C tracks pick up from here.
Sign in to Areté