I have created a Java program, and now I want to compile it, so I can send it to others to use, etc. How do I do this in Eclipse? I\'ve Googled it, but can\'t find it (O.o). Hop
Eclipse do this automatically for you, if Project->Build automatically
is checked,Just look for the bin folder (projectName/bin
) in your workspace.
Also, you can create a runnable jar file by right clicking on your java file in eclipse and select export there. See this for more info.
You probably need to create an executable Jar file - unless it is a web application. Google "eclipse create executable jar"
On Windows for System.out.println to work you might need to use java instead of javaw. Please use separate StackOverflow questions for separate questions, and check for duplicate questions before asking.