Tuesday, March 9, 2010

TicTacToe_Java_ Game

( TicTacToe.exe )

A basic java game TicTacToe..
This is an executable file..
If it is'nt running then install java runtime environment(DOWNLOAD)

The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java Language.

How To create Executable Jar files From .Java & .class files

Simple way to distribute your small games are apps written in java lang is:
-> Download Eclipse (IDE For Java)
With Eclipse you can program quickly in java.It will recommend u as u type and check for error wen u type the code.
-> Open Eclipse Write the code and run the file or open a previous written file..
-> Then go to file->Export->Java->Runnable Jar ->Select NEXT
-> Select main file in Launch Configuraton ->select export destination and give a name to the file save it..
-> Done

There are some easy methods to create jar file but i prefer this B'coz i use Eclipse :-)


Post a Comment