k_en 0 Light Poster 19 Years Ago why i got this error??? Is my java installation wrong? Exception in thread "main" java.lang.NoSuchMethodError:main press any key to continue............................. java 0 0 Share jwenting 1,905 duckman Team Colleague 19 Years Ago incorrect method signature for your main method usually. 0 0 Share D Nagesh 0 Newbie Poster 19 Years Ago just check this out. syntax for main method should be. public static void main(String args[]) Be careful its case sensitive. 0 0 Share deeppython 0 Newbie Poster 19 Years Ago check out whether your java file name matches to that of your class name conataining main. 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
jwenting 1,905 duckman Team Colleague 19 Years Ago incorrect method signature for your main method usually. 0 0 Share
D Nagesh 0 Newbie Poster 19 Years Ago just check this out. syntax for main method should be. public static void main(String args[]) Be careful its case sensitive. 0 0 Share
deeppython 0 Newbie Poster 19 Years Ago check out whether your java file name matches to that of your class name conataining main. 0 0 Share