Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: "The selection cannot be launched , and there are no recent launches."

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default "The selection cannot be launched , and there are no recent launches."

    I promise to god this is not for a assignment. I want help guiding me for the basics of java. I'm taking java in college right now. And it's my first year. We are reading this book called Big Java Late Objects. We had a assignment for making a "Hello World" program and I finished that & turned it in. Now i'm at home trying to use & understand the program more. My code is below & I cant run the program. I'm wondering what I have done wrong. It says "The selection cannot be launched , and there are no recent launches." I'm using the ide Eclipse because I have to. Someone please explain to me what i'm doing wrong. Thank you for reading.

    public class testingprintln1 {
    public.static.void main(String[] args)
    {
    System.out.print("00");
    System.out.println(5+4);
    }
    ]

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,407
    Thanks
    53
    Thanked 2,399 Times in 2,352 Posts

    Default Re: "The selection cannot be launched , and there are no recent launches."

    Moved the post as it appears to be an IDE problem.
    Is the compile clean - No errors in the source file?

    What button are you pressing?
    I don't use Eclipse for java so I am not sure what button needs to be pressed. I use Eclipse for Android. To Start execution of an app I right click on the project name in the lefthand column and select (Run As) to say how I want the code to be run. For me its as an Android program.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 1
    Last Post: August 20th, 2019, 07:07 AM
  2. Replies: 4
    Last Post: July 18th, 2014, 02:04 AM
  3. Replies: 2
    Last Post: May 22nd, 2014, 01:17 PM
  4. Replies: 2
    Last Post: June 22nd, 2013, 10:30 AM
  5. "Selection does not contain a main type"
    By siowmotion in forum Java IDEs
    Replies: 6
    Last Post: February 15th, 2012, 05:39 PM