1. I cannot access Self-Test.

A: Try it from home through an ISP like AOL. Ask your classmates if they have trouble to access the site. I know people from the military cannot access Self-Test due to their firewalls that restrict them from accessing the Self-Test site.

2. How do I obtain the JB 3.5 or JB 4 License?

A: Please read the THIRD and FOURTH paragraph in the Section, "Obtaining and Installing JBuilder 3.5," for information about installing JB3.5 and obtaining its license. You have to register with Borland at (http://www.borland.com/jbuilder/foundation/download/) to get the license. Please choose JBuilder 3.5 Foundation for JB 3.5, and JBuilder 4 Foundation for JBuilder 4.

3.  MyInput.java has a compilation error indicating that parseDouble is not a method in the java.lang.Double class.

You are using JDK 1.1.*. You should use JDK 1.3. Type

java -version

to see which version of JDK is currently used.

4. Using MyInput.readDoublt() to get input interactively is fine. But I got a runtime error when directing an input file using the following command:

java ComputeMortgage < test.dat

My test.dat consists of three lines of data for interest rate, number of years, and loan amount.

A: To fix this problem, download this new MyInput.java.

5. Can I display a double value such as 3.456747474 with two decimal digits (i.e. 3.45)?

A: For a double number x, Sytem.out.print((int)(x*100)/100.0) will display only two digits after the decimal point.   This is only truncates the number. A better solution, however, is to use the NumberFormat class, which is introduced in Chapter 12, "Internationalization."

6. I am using JBuilder 4. I got the following error, whenever I compile a file.

Error #: 750: initialization error:
com.borland.compiler.symtab.LoadError: neither class nor source file 
for java.lang.Object

A: Open the project properties dialog box. Double click the ellipses in the JDK field in the Paths page to display Select a JDK dialog box. Select JDK 1.3.0-c.

You may already have it selected, but doing it again seems to fix the problem.

If this does not work, create a new JDK 1.3 from the Select a JDK dialog box. Then select this new JDK 1.3.

7.  When I typed in 'javac Welcome.java', I can compile it successfully (Welcome.class). After I ran it (java Welcome), the error is "Exception in thread "main" java.lang.NoClassDefFoundError:Welcome".

A: Make sure Welcome.class in the directory where you run it. Check your classpath to include the current path. In Windows 95/98, use the following command to the classpath:

set classpath=.;%classpath%

8. I am unable to make any of the examples work. I've received a error like this:

 
c:\java\ButtonDemo.java:30: cannot resolve symbol
symbol : class MessagePanel
location: class ButtonDemo
  messagePanel = new MessagePanel("Welcom to Java");
                    ^
 A: You need to copy MessagePanel.java to your c:\java folder. MessagePanel is covered in Example 8.5. You can either copy MessagePanel.java from the CDROM or from www.cs.armstrong.edu/liang/intro3e.html.

9. Can I get solutions for all exercises?

The solutions for the even-numbered exercises are in the CD-ROM. The solutions for  odd-numbered exercises are for instructors only.