! You are not logged in to Prodigits. Please register or login.

.jar app creation.(h - Page 1/1

Subject: .jar app creation.(h
Replies: 5 Views: 921

iboboi 15.08.10 - 11:56pm
Pls guys. Any one with idea on how to create a java file. Eg. Games for mobile phones.?beg * +

mogo 16.08.10 - 12:38am
You can create a java file with any text editor. In order to make it work you have to compile it using a java compiler (javac from the java sdk). If your application has a bunch of 'compiled java files' it is wise to keep them in an archive (.jar - Java ARchive). Do that using the jar utility that comes with java sdk. * +

mogo 16.08.10 - 12:41am
Ofcourse it is a better idea to use some sort of IDE for these tasks (netbeans, eclipse). As for mobile apps, use netbeans with the j2me module. If you want to do full screen games/apps, you'll have to use the API for the canvas class of your mobile platform * +

oetinger 16.08.10 - 02:21am
JGrasp is an 'ok' editor and compiler. First you must have the JRE. As Mogo said, the javac file is in the JRE/SDK. * +

iboboi 16.08.10 - 09:19am
@mogo. I really appreciate your effort, but Pls break it down for me. I'm still a novice when it comes to programming..Such terms like: (IDE), (SDK), (JAVAC) (NETBEANS) and (API) got me confused. lol.gif * +

mogo 16.08.10 - 10:18am
Ya sorry that is JDK (java development kit?), not SDK :P Javac is a java compiler. It 'converts' human readable java code to byte code, which can be executed by the JVM (java virtual machine). And netbeans is basicaly a advanced text editor haha *

Quick reply:

+ refresh
+ my page
+ functions
3 search
4 submit a reply
+ bookmark
8 Tech&Computers Forum
9 Forum Index

Custom Search