Results 1 to 2 of 2

Thread: Launch Error

  1. #1
    roughjj is offline Member
    Join Date
    Sep 2009
    Posts
    13
    Rep Power
    0

    Default Launch Error

    Group,

    I am using Eclipse 3.4.1 and import a project
    while try Run as java application i have encountered the following error

    Launch Error

    Editor doesnot containt a main type


    I have the main string as below

    public static void main(String[] argv)


    What is the error it is because of argv instead of args ?

    Need help

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    No the name of the argument doesn't matter.
    Are you sure you are running the class that contains the method?

Similar Threads

  1. Launch native app inside a JFrame???
    By benedums in forum Advanced Java
    Replies: 6
    Last Post: 02-25-2011, 04:23 PM
  2. Replies: 2
    Last Post: 09-25-2009, 07:13 PM
  3. How I launch an external program and kill the father?
    By Dr_Misterio in forum New To Java
    Replies: 2
    Last Post: 08-05-2009, 04:31 PM
  4. launch a browser with a button
    By lemon3 in forum NetBeans
    Replies: 1
    Last Post: 07-07-2008, 06:49 AM
  5. launch a desktop icon program command
    By avaj987 in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •