Error when trying to run "Hello Word" in java, "Editor does not contain a main type"

Asked

Viewed 68 times

0

Guys, I’ve reinstalled, I’ve made step-by-step videos, and I don’t understand why you’re making this mistake in the eclipse. Says the error "Editor does not contains a main type" I put inside the src folder, with package in the hierarchy, all right and keeps saying this: 'Editor does not contains a main type" and the console "No consoles to display at this time."

package com.hello;

public class HelloWord {

 public static void main(String[] args) {
       System.out.println("Hello world!");  
    }

}

inserir a descrição da imagem aqui

  • This reply would help you?

  • 1

    yes! Thanks! I tried to do the path path of variables in the system properties and it worked.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.