Danh mục

Java Programming for absolute beginner- P27

Số trang: 20      Loại file: pdf      Dung lượng: 317.30 KB      Lượt xem: 8      Lượt tải: 0    
Hoai.2512

Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Java Programming for absolute beginner- P27:Hello and welcome to Java Programming for the Absolute Beginner. You probablyalready have a good understanding of how to use your computer.These days it’s hard to find someone who doesn’t, given the importanceof computers in today’s world. Learning to control your computer intimatelyis what will separate you from the pack! By reading this book, you learnhow to accomplish just that through the magic of programming.
Nội dung trích xuất từ tài liệu:
Java Programming for absolute beginner- P27 JavaProgAbsBeg-50A.qxd 2/25/03 8:58 AM Page 478 478 Java Programming for the Absolute Beginner Java SDK Click on the Java SDK button to get to this page. From this page, you can run the installation file, which will install Java SDK, version 1.3.1. There are different files depending on which operating system you have. Look for the file that is right for your operating system. If you have any Windows version, look under the Microsoft section. If you are using Linux, look under the Linux x86 section. If you want to install the SDK on a Solaris machine, look under the Solaris SPARC/x86 section. You can find the instructions for installing and setting up the SDK for your system in Chapter 1, “Getting Started.” You can also find the Java Documentation installation here. You can either install the documentation on your system or browse it online on Sun’s Web site by using the URL http://java.sun.com/j2se/1.3/docs/. Source Code All of the source code of the examples in this book can be found on the CD-ROM. Click on the Source Code button to get to the source code page. The source code and class files are organized under their respective chapters. Each chapter gives you the option to either browse or download the files. If you chose to download, click the Download button. The download file is in ZIP format, so you will need an unzip tool, such as Winzip (included on the CD-ROM), to unpack the files into the local directory of your choosing. If you choose to browse the files without sav- ing them to your local disk, click Explore. A new window will open up that con- tains the files associated with that chapter. The file extension for the source code is .java. You can open this file with any text editor since it is a straight text file. It is still possible to run the example programs without installing them locally. To do this, you need to open up a shell (command prompt) and change to the class file directory. For example, if you’re using Windows and your CD-ROM drive letter is D, to run the HelloWorld example from Chapter 1, you need to change to the directory D:\Source Code\Chapter 1\. Next, you need to run the java com- mand on the program. (Note: you can only do this after you’ve installed the SDK.) For example, this is what you type at your command prompt to run the Hel- loWorld application: java HelloWorld. TEAM LinG - Live, Informative, Non-cost and Genuine!Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. JavaProgAbsBeg-50A.qxd 2/25/03 8:58 AM Page 479 479 Web Links Appendix A The Web Links section includes links to some useful Internet sites. To get to this section, simply click the Web Links button. The links you will find there are: Sun Java This takes you directly to Sun’s Java Web site. (http://java.sun.com). Sun Microsystems This takes you to Sun’s main Web site. Sun Using the CD-ROM Microsystems is the innovator behind Java technology. (http://www.sun.com). Sun Educational Services Here you can learn how to further your Java edu ...

Tài liệu được xem nhiều:

Tài liệu cùng danh mục:

Tài liệu mới: