|
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. | |||||
|
| ||||||||||||