Solved

eclipse : error : could not find main class << package name>, programe will exit

Posted on 2013-10-26
1
447 Views
Last Modified: 2014-02-04
when to write a just sample hello world example in eclipse.
I am getting this error.

I have checked alll ... there is no issue with the program... not sure how to fix this issue in eclipse.

please let me know what is configuraion changes required.
--------------------- test.java -----
package com.virtualpairprogrammers.client;

public class test {

      /**
       * @param args
       */
      public static void main(String[] args) {
            // TODO Auto-generated method stub

      }

}
-------------------------------------
0
Comment
Question by:mac_g
1 Comment
 
LVL 35

Accepted Solution

by:
mccarl earned 250 total points
ID: 39604766
What "exact" step are you using to try and run this program?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maven example error 3 52
Java array passed to SQL where clause 23 62
micro services spring boot application error 3 141
Apps blocked by Java 9 60
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now