









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for students in cis 304 on how to get started with java programming. It covers downloading and installing the java development kit (jdk) and eclipse ide, as well as obtaining the textbook and necessary compression software. The document also introduces the concept of java bytecodes and the java virtual machine (jvm), and explains how to navigate the java api documentation.
Typology: Study notes
1 / 15
This page cannot be seen from the preview
Don't miss anything!










Download JDK 6 (update 24) http://www.oracle.com/technetwork/java/javase/downloads/index.html JDK : java development kit. This is essentially what you need when you develop java programs. Install Java : Run the .exe file and respond to the resulting dialog boxes. You download Java SE 6 Documentation from the save URL.
Compression software
Downloadable files of the textbook
You’ll learn how to develop such a Java GUI application in CIS 304.
You’ll learn how to develop such a Java Applet in CIS 304.
2. Applet
You can use any text editor to create, edit, and save a source program (.java file). The Java compiler translates Java source code into a platform- independent format known as Java bytecodes. Files that contain Java bytecodes have the class extension. The Java interpreter executes Java bytecodes. Java interpreters exist for all major operating systems. A Java interpreter is an implementation of a Java virtual machine ( JVM ). A Java application consists of one or more classes (i.e., .class files).
How Java compiles and interprets code source code (.java files) bytecodes (.class files) Text editor (e.g., textpad, notepad) Java compiler Java interpreter Java virtual machine (JVM) Operating system
How to navigate the API documentation You can use your web browser to browse through the API documentation on your own system (if you’ve downloaded and installed it) or at the Java web site. Related classes in the Java API are organized into packages, which are listed in the upper left frame of the documentation page. When you select a package, all the classes for that package are listed in the lower left frame. You can select a class from the lower left frame to display the documentation for that class in the right frame. You can also select the name of the package at the top of the lower left frame to display information about the package and the classes it contains.
In class exercise: browsing the String class