Installation of JDK:
Windows NT/2000/XP | Windows 95/98/Me |
1. Run the .exe file and follow the instructions | 1. Run the .exe file and follow the instructions |
2. Include "jdk\bin"directory in system variables: -right click "This Computer" -locate "Environment variables" -In "path" variable add the full path to the bin directory. Fx.: (remember to use semicolon as seperator) : ; c:\jdk1.3.1\bin |
2. Include "jdk\bin"directory in system variables: -edit c:\autoexec.bat -In "path" variable add the full path to the bin directory. Fx.: (remember to use semicolon as seperator) : ; c:\jdk1.3.1\bin |
3. Test it! Open a commandprompt (Start | Programs | Accessories | Command Promt), and type "javac". If this program runs, you should be ready! (It won't actually do anything, just specify usage info) | 3. Test it! Open a commandprompt (Start | Programs | Accessories | Command Promt), and type "javac". If this program runs, you should be ready! (It won't actually do anything, just specify usage info) |
Installation of JDK Documentation
Windows NT/2000/XP | Windows 95/98/Me |
1. Extract file to jdk directory - you should get a new directory called docs in there | 1. Extract file to jdk directory - you should get a new directory called docs in there |
2. It's recommended to bookmark docs\api\index.html in your browser, as this is the essential index | 2. It's recommended to bookmark docs\api\index.html in your browser, as this is the essential index |
Setting up a simple developement environment
... which includes the JDK we just installed and Notepad. Create a directory somewhere in your file system, which should act as root directory for your java source codes. It's good practice to create a new folder for each new project you start.