IC211-Specific Resources

Installing Ubuntu as an app on Windows 10

Update to the latest Java Development Kit

  1. Run the following in a terminal window:
    sudo apt update; sudo apt install default-jdk 
  2. Verify by running the following commands in a terminal:
    java --version
    should yield
    openjdk 11.0.6 2020-01-14
    OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
    OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
    and the following command:
    javac --version
    should yield
    javac 11.0.6

CodePrint

Run the one of following groups of commands in a terminal to download the codeprint script and make it executable:

From on the yard/intranet:
curl --url https://faculty.cs.usna.edu/IC211/docs/codeprint -o ~/bin/codeprint
chmod +x ~/bin/codeprint
From off the yard on the public internet:
curl --url https://www.usna.edu/Users/cs/bhawkins/IC211/docs/codeprint -o ~/bin/codeprint
chmod +x ~/bin/codeprint

GitLab

General Unix and Java Programming Resources

VM Resources