each and every phone is a bit different.
If you provide me a model number, ill gladly shoot you some instructions
Java does not require header files like C/C++.
'.java' files contain java source code. One can access these files on windows by using 'notepad'.
Java doesn't use header files.
Those files have the extension .java
Java files, containing source code, play a crucial role in development, compilation, packaging, maintenance, and version control.
You need the Java run-time (JRE, that is the Java Virtual Machine (JVM) and Java run-time libraries to run Java software. Most mobile phones support Java2 Micro Edition (J2ME). To run J2ME application you need one of these. Most phones install J2ME applications in their Games folder when their web browser is pointed to a link to the application on the web. J2ME applications often consist of 2 files, ending with .jad and .jar extensions. You need a web server (a site if you want) and you have to place these 2 files on the site. Than in the phone's web browser write the link to the files as found on your server. The phone will then ask you if you want to install the application. Some better-quality mobile devices also support transferring and installing J2ME applications using bluetooth, but most of them will refuze any .jad/.jar files received on bluetooth for being unsecure.
Java source files have the .java extension, compiled Java class files have the .class extension.
You need a decompiler to convert class files to java source files. JAD is a Java Decompiler that can do it for you.
Java Archive
The general Java Runtime Environment allows a computer to run Java applets and compiled Java files.
Interface Java can be used for a variety of tasks and commands such as .swf files, Java files, running scripts, as well as website video players for websites.
.class is the extension of a java byte code file.