Lecture06 - Java Programming 3e Concepts and Techniques...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Java Programming, 3e Concepts and Techniques Chapter 2 Creating a Java Application and Applet (III) ICTN 2730 Lecture 06 01/25/07
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 2: Creating a Java Application and Applet 2 Assignments Read lecture notes and chapter 2. Homework 1 grades will be available no later than Monday. Homework 2 has been posted. It is due next Wednesday. Please start early so you have time to come to see me before the due date if there is any problem. Please be specific when asking questions.
Background image of page 2
Chapter 2: Creating a Java Application and Applet Tip of the Day The environment variable CLASSPATH is used to identify one or more locations where the Java Virtual Machine can search for needed class files java.lang.NoClassDefFoundError To check the environment settings: Type “set” in a command prompt window under Windows Type “set” or “export” (in bash) under Linux 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 2: Creating a Java Application and Applet 4 Editing the Source Code
Background image of page 4
Chapter 2: Creating a Java Application and Applet 5 Debugging the Solution System Errors System command is not set properly Software is installed incorrectly Location of stored files is not accessible (check path) Syntax Errors One or more violations of the syntax rules of Java Semantic Errors The code meaning is unrecognizable to the compiler Logic and Run-Time Errors Unexpected conditions during execution of a program
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 2: Creating a Java Application and Applet 6 Debugging the Solution
Background image of page 6
7 Indent Style Appropriate indentation can help make the code more readable It is important to ensure that beginning and ending parentheses and braces are indented correctly to show where the methods start and end. http://en.wikipedia.org/wiki/Indent_style
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 29

Lecture06 - Java Programming 3e Concepts and Techniques...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online