In the last couple of years the use of Java has become very widespread in the IT industry. It is used mainly for Internet software, but it is also popular for regular applications and in embedded systems. In fact, over half of all U.S.developers use Java and this share is projected to rise with additional ten percent during 2002. This rise in the interest in Java is mainly due to the fact that developers have a higher productivity when using Java compared to traditional languages such as C or C++, especially when doing cross-platform or Internet development .The use of Java is not widespread among developers of computer games sold in retail .It is therefore natural to ask why this is so, and ask whether game developers can benefit from using Java. If it is true that Java can reduce production cost, it might be advantageous to use it Java for game development. This is the main question of this report. Java will be compared with C++, it will be considered the performance of Java, clarified some common myths, and finally discussed about using various ways Java in game development.
Traditional Java applications are applications that are written in the Java programming language and then compiled into byte code form v/s called Java byte code. These byte code files can then be executed on any platform that complies with the Java platform. This is usually done by the implementation of a Java virtual machine which emulates the Java platform on another platform. For instance, with the use of a Java virtual machine for Linux, one is able to execute Java byte code on Linux. The major benefit of using a virtual machine over compiling directly to machine code is that the application in compiled form can be completely portable. Furthermore, the Java virtual machine protects the underlying machine from illegal instructions and erroneous memory access. This is important when using mobile code. .
.
The Java programming language is an imperative object oriented programming.