Java isn't just for web sites. Learning Java and approach towards java training will lead to job related opportunities in software industry. Java is a programming language that lets you do almost anything you can do with a traditional programming language like FORTRAN or C++. However Java has learned from the mistakes of its predecessors. It is considerably cleaner and easier to use than those languages. So learn java by Java training whether you know C language or not.
Unix Instructions
Start the Applet Viewer by doing the following:
- Open a command line prompt, and cd to one of the directories in /usr/local/java/demo, for example
2. % cd /usr/local/java/demo/TicTacToe
- Run the appletviewer on the html file:
% appletviewer example1.html
- Play Tic-Tac-Toe! The algorithm was deliberately broken so it is possible to win.
Macintosh Instructions
- Start the Applet Viewer by double-clicking it.
- Select Open... from the File menu and navigate into the java folder, then the Sample Applets folder, then the TicTacToe folder.
- Select the file example1.html and click on the Open button. Alternately you can drag and drop this file onto the Applet Viewer.
- Play Tic-Tac-Toe! The algorithm was deliberately broken so it is possible to win.
Windows Instructions
Start the Applet Viewer by doing the following:
- Open a DOS window, and cd to one of the directories in C:\JAVA\DEMO, for example
2. C:<>
- Run the appletviewer on the html file:
C:<>
- Play Tic-Tac-Toe! The algorithm was deliberately broken so it is possible to win.
Hot Tip: Getting Rid of that Annoying License Dialog Box
Do you know the annoying dialog box I'm talking about? I bet you do. It's the one that comes up every time you launch the applet viewer to make you agree to Sun's license. Do you want to get rid of it? If so make a directory called .hotjava in your java/bin directory. You won't see it again.
Netscape 3.0 will run Java applets on most platforms except Windows 3.1. Netscape has a Java Demo Page with links to various applets that will mostly run. However do not be surprised if an applet fails to work properly in Netscape.
No comments:
Post a Comment