Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Juana Fisher   on Aug 02 In Java Category.

  
Question Answered By: Jet Brown   on Aug 02

you haven't defined the main() method correctly. You have

public static  void main  (String args)

it should be

public static void  main(String [] args)

I haven't tested your program, but looks ok otherwise

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Running system commands from within Java Or get search suggestion and latest updates.


Tagged: