Chapter 7 Compiling and running Java programs The
Chapter 7 Compiling and running Java programs The JBuilder compiler has full support for the Java language, including inner classes and Java Archive (JAR) files. You can compile (or make ) from within the IDE. With JBuilder Professional and Enterprise, you can also compile from the command line using bmj(Borland Maker for Java) or bcj (Borland Compiler for Java). For more information on the command line tools, see Using the command line tools in Building Applications with JBuilder. The Run command compiles and runs projects, individual .java files (such as JSPs), or HTML applets. JBuilder s integrated debugger allows you to run a project or file with or without debugging it. In JBuilder Professional and Enterprise, you can set runtime configurations that are appropriate for the kind of file or program that you want to run, whether it s an application, an applet, a JSP, a servlet, or an EJB. Compiling Java programs A Java compiler reads Java source files, determines which additional files need to be compiled, and produces the Java program in the form of .class files containing bytecodes that are the machine code for the Java Virtual Machine (VM). Compiling produces a separate .class file for each class declaration and interface declaration in a source file. When you run the resulting Java program on a particular platform, the Java interpreter for that platform runs the bytecode contained in the .class files. Compiling and running Java programs 7-1
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services