Since the whole world was in lockdown it is now important for all educational institutions to move their training online. This might be a good time to take your Java courses online so your students can self-pace their learning. In this article I will discuss with you just how you can do that.
Here are the five tools I would recommend to get you started:
- Google Classroom
- Java SE – Downloads | Oracle Technology Network
- Netbeans IDE
Now you know the five tools I would recommend using let’s look at the steps you would go through to get online in detail.
Steps To Get You Online
The tools do not make sense without a set of steps telling you what you need to support those tools. Not only will we review the tools above, but we will mention some of their alternatives as well.
Here are the steps you should follow to move your Java course online:
- Learning Java Yourself
- Choose a Learning Management System
- Create, Upload and Organize your Classes
- Create an Online Code Repository
- Conduct Live Online Classes
- Creating Class Assignments
- Creating Coding Comptetitions
- Setting Up Java on Your Computer
- Student Classroom Setup
Learning Java Yourself
If you do not already know Java yourself it can be quite daunting to learn and teach it the first time but know there are heaps of resources online to help you get started. While you can teach programming and Java without any formal training it may be worthwhile looking at getting your Java certification just to prove to yourself that you have the width and depth of knowledge in general programming and the Java libraries.
From a training point of view there are heaps of free Java training resources online and you can find one you like. Or alternately I like going to YouTube first and doing a search for “Java Tutorial” and then changing the filter to “Playlist” to get all the videos in the tutorial.
If time is an issue and you don’t want to spend hours searching YouTube for an instructor you like you can go to Udemy and for a small fee you can get a course that is guaranteed quality with a community of people learning Java as well you can talk with.
This is the Udemy course I would recommend:
If you want the offical Oracle training you can go here:
NOTE: The official training can be quite expensive and very few people choose that path to learn on their own.
Then finally there is the certification and note it is not up to date to the latest version of the Java Standard Edition or JavaSE. The associate level exam is all you would be looking at doing if you chose too. The exam price is quite high but the pass mark is quite low compared to other vender exams.
Java Certified Associate Exam Information
Choosing a Learning Management System
For the purposes of the rest of this article we will assume you already know how to code in Java. And all you are trying to do is move your class online.
The first thing you will need if you don’t already have one is a Learning Management System (LMS). This is where you can post all your course content, put your assignments, and communicate with your students.
The simplest tool you can use as an individual or as a school is Google Classroom. While it does not yet have the features of the other mainstream LMS it is catching up fast and is used by lots of schools and universities already.
That is links to the rest of the Google tools and that most students already have a google account with their phone means it is an easy choice.
Alternatives of Google Classroom
You can use any powerful LMS tool to manage your course online, if you are familiar with them. Some popular and good alternatives are:
Each one comes with its pros and cons and there are many others you could use as well. If you already have another LMS or you prefer another LMS than that will be fine to use as well. They all have very similar functions these days although there are more plugins with the ones above then with Google Classroom.
Still, we recommend you start with Google Classroom. Because a lot of Google products like Google Drive, Google Docs, Google Keep are already integrated with Google Classroom. And due to recent competition due to COVID-19 lockdown, Google Classroom and Google Meets have pushed certain updates and made some features free.
Create, Upload and Organize your Classes
After you have chosen your preferred LMS you will have to create a class. Then you can upload and organize your content. Here is how you can do that in Google Classroom.
Google Classroom Setup
- Create a new class
- Go to Google Classroom
- Click the + icon
- Click Create new class
- NOTE : Google Classroom requires your institution to be signed up for their G Suite for Education. However, you can create 20 classes from your individual Google Account
- Upload Your Course Material
- Use the Classworks page to create topics
- Upload your files for the course
- Create Assignments
- You can upload your Assignments for students here and both theory and practical coding. You can let the students see them straight away or schedule them for later release.
- If you are using any other LMS you can install the Google Assignments plug-in to your LMS for similar features.
- (Optional) If you want students to get a better understanding of what it is like to code professionally. You can get them to submit and manage their code in a code repository like GitHub instead of java files uploaded to Google Classroom. We will discuss the later in the article.
- Tests (Discussed Later in Detail)
- The theory-based exams can be taken through Google Classroom.
- For tests to examine coding skills you can create a programming contest on another website for them. (Discussed Later)
- Google Classroom offers grading standards like Rubrics, SIS and more.
- Create a Grade Sheet which you can download after all students’ complete assignments and exams for a class overview. This can be filed digitally outside of Goggle Classroom for your permanent records.
- Easily communicate with students through the Google Class Stream.
- Send Announcements in Stream and Students will be notified via email.
Create an Online Code Repository (Optional)
Most of your assignments when teaching Java online will be written in code and the perfect place for managing that code is Code repository. This is what students will use when they do work professionally and so it a great real-world skill for them to develop.
Any theory-based assignments like Technical Requirements, User Requirements and System Requirements documents and project management can be handled through Google Classroom.
Code Repositories like GitHub allow you to keep each version of your code as you develop and give the student the ability to check in and check out their code as well as rolling back to previous versions.
They also let you work on the code in teams and branch code development as well as version the code. It is ok if some of this does not make sense to you yet as the intro video below will discuss some of these things.
It is not difficult for them to do and it is something they will do when they do any further study at University or do work for customers professionally if they develop their coding skills on their own.
It does however add a layer of complexity if you are in K-12 that you may not wish to add. I would use them if I were at the College or University level though.
GitHub has an Education portal that can provide you with Teacher and Student tools to get you started here:
For an introduction on what a Code Repository is and specifically GitHub watch this video.
Setting up GitHub
The following steps will act as a checklist for you to set up your Code Repository. Don’t worry through if it seems complicated as there is a video at the end of the steps that will walk you through everything you need to do.
- Open a GitHub account
Both the teacher and the students have to open a GitHub Account.
- Install GitHub Desktop on your computer
- Install GitHub for Desktop from https://desktop.github.com/
- Create a Repository
- Invite students to your repository
- Make a Class folder.
- Add the code you have written during the class. Students can look at it anytime if they need help
- Make an Assignments Folder
- You’ll take the assignments through this folder.
- Students will upload their code here
- Make a Projects folder
Pro Tip: Use the email provided by your Institute/University for signing up to Github (e.g. [email protected]). This will give you extra features for free as a student.
Assigning Marks through Google Classroom
- Automatically assign code testers in GitHub to test code assignments for grades
- Create a similar assignment in Google Classroom for each code assignment
- Once you review their assignment in GitHub you can transfer the mark to their Google Classroom Assignment based on how well their code worked.
This YouTube tutorial will take you though the above steps to set up and use GitHub and GitHub Desktop.
For beginners, it might seem a little hard to use GitHub. But GitHub is important because almost all software is built using some sort of version control.
Whether you are using Microsoft Teams, GitHub or Sourceforge depending on the company you work for or whether you develop on your own it is essential to keep your code organized. This is a great learning experience for all students.
Alternatives of GitHub
Some other online repository services that provide similar features you can try are:
While using a code repository is the best choice you can always use Google Drive as an alternative by using folders in the same way. It does not secure the code or handle multiple users updating the code or do branching or version control, but it is a simple way to get started.
Conduct Live Online Classes
You can use any video conferencing service that provides multiple people to join. If it allows all your students to join at once, you are good to go. We recommend Google Meet. Google Meet is already integrated with Google Classroom and easy to use.
Alternatives of Google Meet
I personally use WebEx when teaching my classes online as it is the one I know has all the features I need to run online classes.
- Cisco Webex
If you want to know more about teaching live online check out this article:
ARTICLE : How to Teach Live Online
Setting up Google Meet
- Start a Google Meet meeting to take classes.
- If you use your school account, you can directly create a Google Meet link in Google Classroom.
- Go to Settings
- Under General Settings, there will be a Google Meet option
- Click generate link
- Make it visible to students when you want to take your classes.
- If you use your school account, you can directly create a Google Meet link in Google Classroom.
- If you are using a personal account, you have to share the code manually.
- Go to Google Meet
- Click Start a Meeting
- Share the Meeting Code as an Announcement in Google Classroom
- Screen sharing
- Use this feature to share your screen with your students by clicking the presentation button.
- Text Chat
- Share messages and links with students through the text chat and also look for private messages from students that are to shy to ask it to the whole group.
- Recording Meetings
- You should record each of your sessions using the Record button for the students to watch again later.
- Online Whiteboard
Create Class Assignments
We discussed setting up all of your assignments for marking purposes in Google Classroom even if the students are managing their code with a code repository and using Coding Competitions to grade their code itself.
Then you can take the code marks and put them into the matching Google Assignment for an overall class mark. The theory-based assignments will all be managed through google classroom.
- Go to your Class in Google Classroom
- Go to Classwork
- Click Create
- Select Assignment Type
- Add details and questions in the Google form
- Publish or Schedule for release later
Creating Code Competitions (Optional)
A programming contest is a set of programming problems which is hosted by online by a website. The website will automatically check programs, finds errors, and scores the participants.
This saves the teacher from having to judge the technical portion of the code. It also adds some competition in for the students and increases student engagement. Secondly, after they finish school they already have a profile with proven hirable skills.
We recommend Hackerrank. It is free, easy to use and extremely popular. https://www.hackerrank.com/products/school
You will need to click the Contact Support button on the link above to create an account.
Creating a Contest in Hakerrank
- Create a problem set
- Login to your Hackerrank account
- Click your profile from the top right corner
- Select Administration
- Click Create Contest
Note: It will require to verify your phone for the first time
- Submit problems
- Share the contest to your students
- Grade your students according to the scores
Alternatives for Hackerrank
You can use these free online judges to take similar programming contests.
Setting Up Java on Your Computer
To code in Java, your computer needs to install Java Standard Edition Development Kit also known as the Java Development Kit (JDK). The JDK is the code libraries and code compiler. You will also need somewhere to code so you will need an Integrated Development Environment (IDE). So lets look at how your students can set these up.
- Go to JDK Download Link
- Download the latest version of Java JDK (Java JDK 14 as of writing this article)
- Click JDK Download
- Select your operating system and click agree.
- Install the JDK by double clicking on the downloaded file and following the prompts
- Set Path Environment Variable to the Compiler
- Setup the PATH. This process varies depending on your operating system. So follow these YouTube tutorials.
Here’s a quick tutorial to help you download. Whatever the JDK version is, the installation process is almost identical.
- For Windows
- For Mac
- For Linux
Choosing a Coding Environment
An integrated development environment (IDE) is a software application that helps you write code. Both teachers and students need to install one. While you can code in Notepad or Notepad++ a formal IDE will speed up your coding and provide you with autocomplete and better error handling.
- Go to NetBeans IDE Download
- Download All. (The last option)
- Install by double clicking on the downloaded file and following the prompts.
Do not download Apache NetBeans as it is for web development. You will be downloading NetBeans 8.2 at the writing of this article.
Alternatives of NetBeans
While there are heaps of free and paid IDE’s on the market you are better at first sticking with one of the more popular free versions for community support and regular updates.
You can also use other text editors like:
You will have to set up a Java Environment to run Java code.
Student Classroom Setup
The steps below will be everything your students need to do to prepare for joining in your Java classroom.
Steps to Prepare for Class
Follow these steps to enroll in the Java Online Class.
- Create the following accounts
- Google Account
- GitHub Account
- Hackerrank Account
Note: Use your student email address for all accounts
- Complete the Setting up “Java on You Computer” section above
- Join the class through this link provided by the teacher
- Share your GitHub username, full name, and email with your teacher
- Join Live Classes with links provided by the teacher in your Google Stream
- Submit Assignments
- Submit code in the GitHub Repository.
- Make a folder by your name and registration number (e.g adam2314)
- Submit code in the GitHub Repository.
- Submit all other assignments in the Google Assignments
- Join Programming Contests with links from Google Classroom Steam from Teacher
Note : Your teacher can review your code from the repository as the repository owner.
Teacher Note: GitHub does not allow link sharing to invite collaborators. So the teacher has to invite them through GitHub.
FINAL NOTE: Some instructions might vary if you are using different systems. Both the teacher and the students will get used to the system after a few classes.