Or symply type set to see all environment variables. To find the current CLASSPATH environment variable, open We have to make sure that these libraries are accessible to the Java compiler. Using the robot libraries provided with the textbook. Only programs of very limited functionality. If the Java compiler will not know where to find them, then you will be able to run Your programs will normally use these libraries (they have the extension. You have to tell Java where the system libraries are located. There must be no spaces around the symbols (or something similar) to your PATH variable.īe very careful with the spacing when you edit the PATH variable. If you installed the recent release of Java 1.5.0, you will probably add Of course, you can do this only on your home computer (only the system administratorsĬan edit the system PATH variable on the computers in the labs). The same method works for Windows NT and Windows 2000. (you might need to edit PATH both in System Variables, and in User Then on the Environment Variables button (see the figure below).Įdit the PATH variable in the System Variables section
There are cases when you would likeįor example, after installing Java, you should add the directoryĬlick the System icon, then on the Advanced tab, To see what the PATH variable is or type set Type the command path in the command prompt. If you would like to see the value of your current PATH environment variable (the name of this variable can be Path on your computer). You will have to update the PATH environment variable Once you have downloaded and installed JDK 1.5.0 on your computer,
EXAMPLE BLUEJ PROGRAM INSTALL
You can also install JDK 1.5.0 provided on every CD Note that it will be better for you to download JDK 1.5.0 (not the JDK 1.6.0 (you do not need to download NetBeans and Java EE). Then you have to downlowd the latest update of
EXAMPLE BLUEJ PROGRAM HOW TO
You will learn also how to run example programs You will learn to write, compile and run a simple program Introduce you to using Java Development Environment BlueJ.