well, this is somewhat complicated question. when you compile you actually create a jar file, that you can run like a normal program. you can take that jar and run, but you need to know that your project my have dependencies on other .jars, pictures, or other type of files. therefor it may be a bit complicated. you can read more about it here or here.