This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing main() method.

 
chetan dhewal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic