Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn GitHub Codespaces For Java Development
Rating: 4.5 out of 5(57 ratings)
3,663 students

Learn GitHub Codespaces For Java Development

A codespace is a software development environment hosted in the cloud and accessed via a browser.
Created byDoug Ryan
Last updated 1/2023
English

What you'll learn

  • Understand the concept of a Codespace
  • Become productive using a Codespace
  • Learn the software development cycle using GitHub and a Codespace
  • Practice simple problem solving with GitHub, a Codespace, and the language of your choice

Course content

1 section9 lectures1h 18m total length
  • Introduction to GitHub7:28

    Learn how to create a repository on GitHub using your browser.

    1. Create a GitHub account.

    2. Create a repository on GitHub.

    3. Understand visually what just happened.

  • Introduction to GitHub Codespaces8:11

    Learn how to create a GitHub codespace and what that means.

    1. Create a codespace.

    2. Understand the concept of a Virtual Machine (VM).

    3. Understand the difference between a local repository and remote repository.

  • GitHub and codespace workflow7:32

    Learn the GitHub/Codespace workflow.

    1. Modify README.md file in the codespace VM.

    2. Stage and Commit changes to local repository.

    3. Sync  the local repository changes.

    4. View the pushed changes on the remote repository.

  • Working from the Terminal13:45

    Add additional codespace workflow through the Terminal

    1. Introduce Linux commands (ls, ls -al, more).

    2. Stage a file using git add.

    3. Commit a file using git commit.

    4. Push a file using git push.

  • How and Why to stop a codespace7:35

    Codespace Details

    1. How are Codespace minutes logged and what does this mean?

    2. How can you stop your Codespace?

    3. How can you check your Codespace usage and other billing details?

  • Codespace Java program7:11

    Create a new Java program in a codespace

    1. How to spin up a new codespace called JavaCodespace.

    2. Brief description of managing settings (e.g tab size, font size).

    3. Installation of recommended extensions for Java programs.

    4. Create and Run Java.

  • Stage, Commit, and Push in a codespace5:40

    How to stage, commit, and push a Java program to remote a repository from the Terminal

    1. git status

    2. git add .

    3. git commit

    4. git push

    5. Other linux commands (clear, java --version, javac --version).

  • java, javac, and .gitignore in the codespace Terminal7:58

    What really happens with Run Java?

    1. The javac compiler is executed and creates some .class file.

    2. A JVM is created using the java command.

    3. Wny not commit a .class file?

    4. How to not commit a .class file using a .gitignore.

  • Debugging a program13:20
    1. How to set a break point.

    2. Run, Debug and Step Over one statement at a time.

    3. How to find and fix a bug.

Requirements

  • Basic computer literacy

Description

If you are looking for a framework for developing Java programs across most hardware platforms using a simple browser and the internet, then this is the course for you. In this course you will be taken through essential GitHub usage as well as the creation of a GitHub codespace for Java development. This course will not take you through learning Java.


A GitHub codespace is a Linux-based virtual machine that contains a local repository that you want to use for software development. More specifically, the codespace contains a development UI that is based on the popular Visual Studio Code IDE. As with the desktop version of Visual Studio Code, the codespace version allows the addition of extensions to aid in the software development process for the language of your choosing. The codespace also contains a Terminal (command shell) for doing many useful command line operations such as command line Git operations (e.g. git add, git commit, git push, git status) and all of the most common Linux commands.


One of the major headaches with software development is the installation of all of the tools and languages necessary for code creation. The beauty of a GitHub codespace is that all of this installation has already occurred by the time you launch a codespace for a given repository. For instance, the Java JVM and Java compiler, javac, are already installed and ready for use and all within a browser. If you think this is magic, it is!!! Come on in and have a look

Who this course is for:

  • Anyone interested in developing software on any hardware platform with a simple browser and internet access