This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Executing main() method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Executing main() method." Watch "Executing main() method." New topic
Author

Executing main() method.

chetan dhewal
Ranch Hand

Joined: Nov 07, 2000
Posts: 61
Hi,
I am trying to run this small peice of code in Sun WTK, through command prompt.

------------------------------------------------------------------
class m7
{
public static void main(String a[])
{
System.out.println("hello World!");
}
}
------------------------------------------------------------------
Whats the procedure to do it?
I tried running it while going through the process of command line , given in the WTK UserGuide but of no use. after making the jad jar manifest , compiling , preverifying. I am stuck on executing it.
Where is this KVM in the WTK ???


Chetan Dhewal<br />SCMAD,SCJP 1.2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Executing main() method.
 
Similar Threads
i am facing problem in creating jar file
setTicker(null) problem with MIDP on wtk 1.0.4
nullpointer exception
Problem in Motorola L6
Trouble in executing sqlldr through java