Skip to main content



      Home
Home » Newcomers » Newcomers » java.lang.noclassdeffounderror in simple program
java.lang.noclassdeffounderror in simple program [message #1261238] Sun, 02 March 2014 05:43 Go to next message
Eclipse UserFriend
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!");}
}
  • Attachment: error.png
    (Size: 70.79KB, Downloaded 154 times)
Re: java.lang.noclassdeffounderror in simple program [message #1261864 is a reply to message #1261238] Sun, 02 March 2014 22:17 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Java development basic tutorial
Next Topic:Accessibility - Appearance issues
Goto Forum:
  


Current Time: Mon Jun 23 15:47:06 EDT 2025

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

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

Back to the top