POUR INSTALLER LA VERSION 1.1.4 DU JDK pour Windows 95 recopiez sur votre disque dur 5dans un repertoire que vous aurez crééc cauparavant) les fichiers Jdk114.ex1, Jdk114.ex2 .... Jdk114.ex7 contenus sur les 7 disquettes ainsi que le fichier Install.bat contenu sur cette disquette. Puis depuis une fenetre de comamndes MS-DOS lancer la commande install (depuis le repertoire sur votre disque dur !!) Attention la place requise pour faire cette installation est de 18 Mo. Un fois l'installation terminee la place effectivement occupee sera de 3 a 9 Mo selon les options que vous aurez choisies a l'installation. Pour terminer l'installation reportez vous a la documentation fournie avec JDK, en particulier lisez le fichier README que vous trouverez dans le repertoire ou le JDK a ete installe. En voici les extraits important pour vous : ---------------------------------------------------------------------- After installing the JDK software, you start a tool by typing its name into the DOS window with a filename as an argument. None of the main Java tools are Windows programs with GUI interfaces -- they are all run from the DOS command line. (For example, if you double-click on the Java Compiler "javac" icon, it will briefly open and immediately close a DOS window, because that is not the proper way to run it.) You can specify the path to a tool either by typing the path in front of the tool each time, or by adding the path to the startup file (autoexec.bat). For example, if the JDK is installed at C:\jdk1.1.4, to run the compiler on a file myfile.java, go to a DOS shell and execute this: Type: C:\jdk1.1.4\bin\javac myfile.java -or- Add C:\jdk1.1.4\bin to your path statement Type: javac myfile.java See the next section about setting the PATH and CLASSPATH variables. ----------------------------------------------------------------------- MICROSOFT WINDOWS PATH and CLASSPATH ----------------------------------------------------------------------- 1. PATH - Add the absolute path of the "jdk1.1.4\bin" directory to your PATH statement as follows. The PATH statement enables Windows to find the executables (javac, java, javadoc, etc.) from any current directory. To find out the current value of your PATH, at the DOS prompt type: C:\> path To change the PATH, open the AUTOEXEC.BAT file and make the change to the PATH statement. To edit the AUTOEXEC.BAT file in Windows 95: i. Start a text editor by choosing "Start", "Programs", "Accessories", and choosing WordPad or NotePad. ii. Choose Open from the File menu and type "c:\autoexec.bat" for the filename This will open the file for editing. iii. Look for the PATH statement. Notice that the PATH statement is a series of directories separated by semi-colons (;). Windows looks for programs in the PATH directories in order, from left to right. Look for other JDK versions in the PATH. There should only be one path to a classes.zip file. When in doubt, put the java directory at the end of the path statement. For example, in the following PATH statement, we have added the java directory at the end: PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DOS;C:\JDK1.1.4\BIN To make the path take effect, execute the following: C:\> autoexec.bat ----------------------------------------------------------------------------- Pour effectuer les lectures au clavier vous avez la classe STdInput utilisée sur Eudoxe disponible sur la disquette d'installation numéro 1. Recopiez ces fichiers chez vous dans le repertoire ou vous ecrivez vos programmes.