In C++ compiling is just converting the source code to binary, building is compiling plus linking with any other needed files to make an .exe file. I have never heard of someone building a Java application or applet though. Maybe someone could clarify (or correct me if I'm wrong )?
Alcohol & calculus don't mix.
Never drink & derive.
Sometimes there's no difference. In a project with more than one source file, a build will refer to a complete compiling of all the sources and executable generation so that actual testing can occur.
With J2EE, building a project means much more than compiling it. (think of jar, war, ear files). It covers the definition of 'building' as much as building an executable.
When creating executables, source code is compiled into object files, with relative references to each other. A build will link these object files into machine code with hard references (the executable).
It's also the difference whether your application can run stand-alone (build) or inside an interpreter (compile; actually a Java VM is an interpreter). You could say that J2EE applications also run 'standalone' on an application server.
Last edited by hgroot; Feb 15th, 2002 at 07:37 AM.