Select Advanced system settings on the left and then select Environment Variables.ĥ. Click the Windows Start icon and search for System and hit enter. java files and projects within this folder.Ĥ. For example, I created a folder at C:java and placed my. It is important to make note of the path of the JDK install.ģ.Create a central directory to hold all your Java files. Follow the instructions to install the JDK.
First things first, you need to download the JDK from Oracle to have the latest version of Java.Ģ. Refer to the text and images below for more specific details.ġ.
In this screencast I walkthrough the required steps. These steps will walk you through installing the Java SDK and compiling your code from within the Windows terminal.
Learning how to compile directly from within the Windows shell is an essential skill to master. Frequently, a programing IDE adds additional layers of confusion and complexity that complicates debugging and learning. When starting out with Java, many users get confused about compiling the code. Posted Augby Chris Luongo in Java programming, WindowsĪlthough many people compile Java programs within the IDE, the Windows command line terminal is a powerful compiling option.