I have 4 Classes for my project, they are (titleScreen, credits, storyScreen, and camapaign) respectively, since they are connected to each other, I don\'t know how to get i
This answer is based on the Latest jdk7 and jre7. Meaning I have downloaded them and added them to my 'classpath' and 'path' in my computer->properties->advanced->environmental variables The answers here do not have real specifics so here is the way I found to do it appropriately: For sake of argument we will call my project 'My_Project', this holds all the source code for the project. Inside this 'My_Project' directory(folder), I created another directory(folder) called 'classes'. Now from my command line I navigated to the directory holding my source code e.g 'C:> cd Users\My_Name\Project_Location\My_Project\src' Once in the directory I compile my program using the command javac -d ../classes My_Project.java . After this executes if you navigate to your classes folder inside your project, you will see all the compiled .class files. And your program can be run from the command line e.g java My_Project while still in the classes directory Hope this helps with deploying/organizing your java applications.