
This page contains extra information about the book Java From the beginning, Second Edition, Jan Skansholm, Addison-Wesley/Pearson Education.
(There is a separate page for the old, first edition, of the book.)

You can download Java SDK from Sun.
After installation, you only need an simple text editor like Notepad in Windows to be able to develop Java programs. However, you could use an Integrated Development Environment, IDE. jGRASP and JCreator are examples of two free IDE:S. Sun Java Studio Standard 5 could also be used.

Here you can find all the classes - Parse, Std, etc. -
in the package extra.
Perform the following steps to install the classes:
|
|
Download the file extra.jar. The file could be placed anywhere in the file system but let us assume that you have placed it in the folder c:\javautil. |
|
|
Set the environment variable
CLASSPATH.
If you run Windows XP or Windows 2000. Mark This computer and push the right mouse button. Choose Options -> Advanced. Click on Environment. Mark CLASSPATH and click on Edit or New depending on wheather CLASSPATH already exists or not. Enter the value .;c:\javautil\extra.jar OBS! Don't forget the full stop in the beginning. If you run Windows 95/98. Start a text editor, Notepad for instance, and edit the text file c:\AUTOEXEC.BAT. Put the following line last in the file set CLASSPATH=.;c:\javautil\extra.jar OBS! Don't forget the full stop after the equality sign. If you run Unix or Linux. Edit the initializing file .cshrc (or the equivalent) and add the line setenv CLASSPATH .:/javautil/extra.jar (Here we assume that the directory javautil is placed in your home directory.) If you use an IDE you might have to indicate where the file extra.jar is located. (Use the menu alternative Preferences or similar.) |
|
|
Restart your computer. |
|
|
You
can find the source files in extraSource.
They are also available as a zip file. |

There are also some examples from the book. (As a zip-file.)

There are solutions to all the exercises. The solutions are also available as a zip file.

There are some corrections.
Please report errors to
![]()
