Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse need binary?
Eclipse need binary? [message #506460] Thu, 07 January 2010 10:28 Go to next message
Eclipse UserFriend
I run Eclipse, create project myfirst, add class HelloWorld. I compile it and run. Next I remove .class files from c:\eclipse\workspace\myfirst\bin\. I try run.
Eclipse show:"Coild not the main class:HelloWorld. Program will exit." Why can't build and run?
Re: Eclipse need binary? [message #506492 is a reply to message #506460] Thu, 07 January 2010 12:31 Go to previous message
Eclipse UserFriend
"Andrzej Borucki" <borucki_andrzej@wp.pl> wrote in message
news:hi4uji$i08$1@build.eclipse.org...
>I run Eclipse, create project myfirst, add class HelloWorld. I compile it
>and run. Next I remove .class files from c:\eclipse\workspace\myfirst\bin\.
>I try run.

Why would you remove the .class file. The .class file is required to run
the program. It is the binary. Rebuild the project to recreate the .class
file.


> Eclipse show:"Coild not the main class:HelloWorld. Program will exit." Why
> can't build and run?
>
Previous Topic:New Class from Clipboard
Next Topic:What is the best way to find an interface for Java classes
Goto Forum:
  


Current Time: Tue Mar 25 19:03:23 EDT 2025

Powered by FUDForum. Page generated in 0.03381 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top