Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New to Java
#1
hi,
am new to java, i wrote a simple hello world program in eclipse.
-----------------------------------------------------
lachu.java
-----------------------------------------------------
Code:
public class lachu {
    public static void main(String[] args){
    System.output.println("This program displays the name lachu ;-)");    
    }
    
}
-----------------------------------------------------
but after running its shows an error

"Error: Could not find or load main class lachu"
please any 1 tell me what should i do.


Messages In This Thread
New to Java - by vijayraj34 - 07-09-2012, 07:49 PM
Re: New to Java - by brandonio21_phpbb3_import2 - 07-09-2012, 08:53 PM
Re: New to Java - by Vinwarez - 07-10-2012, 04:18 AM
Re: New to Java - by vijayraj34 - 07-10-2012, 09:08 PM
Re: New to Java - by brandonio21_phpbb3_import2 - 07-10-2012, 11:13 PM
Re: New to Java - by vijayraj34 - 07-12-2012, 08:40 AM
Re: New to Java - by brandonio21_phpbb3_import2 - 07-12-2012, 09:58 AM
Re: New to Java - by vijayraj34 - 07-23-2012, 08:54 PM
Re: New to Java - by brandonio21_phpbb3_import2 - 07-23-2012, 10:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Java Game Help ThreeLeBlancs 1 9,092 08-04-2013, 11:12 PM
Last Post: brandonio21
  What is required to run the Java Framework? Derek275 1 10,770 01-07-2013, 07:04 PM
Last Post: WitherSlayer
  New Java Game - Space Thrashers Y brandonio21 2 13,138 01-03-2013, 12:40 AM
Last Post: brandonio21
  Java and Ubuntu? Derek275 0 6,464 12-04-2012, 04:54 AM
Last Post: Derek275
  Java and JavaScript Vinwarez 2 12,349 03-12-2012, 10:00 PM
Last Post: Vinwarez
  Need Java Help? vbcodegeek 2 11,634 08-20-2011, 03:03 AM
Last Post: vbcodegeek

Forum Jump:


Users browsing this thread: 1 Guest(s)