|
New-to-Java Programming Center
Java Platform Overview |
Getting Started |
Step-by-Step Programming
Setting the by Dana Nourie
To develop and test applications written in the Java
programming language using the Windows environment, set a path and
Open the
To use only the J2SE, include the following in the
This example assumes C:\JDK\BIN is the location that the development kit has been installed on and that the directory name is JDK. The execution files for the tools are kept in bin. To use additional development tools, additional lines are necessary. The JavaServer Web Development Kit and the MySQL database driver are included as examples of adding tools to the classpath.
Note: To ensure programs locate the complier and APIs, keep the
Save the file and close the editor. To force these changes, open an MS-DOS window and type Test the system with the following steps:
The animated applet should run on your system. To compile and run other examples, Have a question about programming? Use Java Online Support. | |||||
Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.
|
| ||||||||||||