Solved

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

Posted on 2013-10-26
1
449 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HSSFWorkbook cannot be resolved error 10 69
Recommendation vb6 to vb.net or others 14 149
Java Options in Zimbra Server 2 54
replace a word with other 1 44
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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

773 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