|
Re: java.lang.noclassdeffounderror in simple program [message #1261864 is a reply to message #1261238] |
Mon, 03 March 2014 03:17 |
|
On 03/02/2014 11:55 AM, Michael J wrote:
> Hi all. I'm just starting to learn Java and Eclipse so write a simple program that print Hello World but when I try to get it run I get an error which is mention in the topic.
>
> Source code:
>
> package niewitaj;
>
> public class NieWitaj {
> public static void main(String[] args){
> System.out.println("Nie powiemy Witaj, w świecie!");}
> }
>
In the Eclipse Package or Project Explorers, open your project and drill
down to the Java source you wrote. Right-click on it and choose Run Java
Application.
If you wish to run from the command line, you'll need to generate a JAR.
That's a couple of lessons from today. Run inside Eclipse for now.
|
|
|
Powered by
FUDForum. Page generated in 0.09097 seconds