We have put the jinstall-1_4-windows-i586.cab at our server and referenced that in the html to get downloaded from our site instead of SUN site.
It looks like the reference is still made to sun site in the cab file. In case SUN does not have that plug-in (by which it is referenced in cab file); customer is bound to get the plug-in installation error.
This looks like show stopper for us because we have kept plug-in 1.4_04 in production but SUN does not have that plug-in any more so we have to move to 1.4_05 version. This forces us to highly depend on SUN to keep up-to-date with their plug-in.
We are looking for solution as follows:
1) HTML will have reference of the cab file /any suitable file (which we have kept it after downloading from SUN site) which is available at our site.
2) The plug-in gets installed without any reference of SUN site so that installation would be smooth without error.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java.
Introduce the Scanner object:
Declare the variable that stores the user input:
An example prompting the user for input:
Methods you need to invoke in order to properly get user input: