MAin error

MAin error

Error while running hello program in another dir rather in bin. path is already set. java -version jdk1.6.0_24 no error while compilation but @ d tym of runnin error in main class is generated


Exception in thread "main".java.lang.NoClassFoundDefLoader. : Hello caused by : java.lang.ClassNotFoundException : Hello

View Answers

April 4, 2011 at 11:47 AM

If there is no error during compilation, it means either you have saved the java file with different name.Check it properly.


April 6, 2011 at 5:23 PM

I have checked it thrice...but still stk on d same trbl...









Related Tutorials/Questions & Answers:
MAin error
MAin error  Error while running hello program in another dir rather in bin. path is already set. java -version jdk1.6.0_24 no error while compilation but @ d tym of runnin error in main class is generated Exception in thread
could not find the main class programm will exit - error
could not find the main class programm will exit - error  when i tried to run the below mentioned programmed it gives a error states - could not find main class programm will exit. class Car { String name: String Color
Advertisements
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using... that the program recquires a main() method in order to be runned - here is the following code
How to eliminate error," Could not find the main class: filecopy.FileCopy. Program will exit." ?
How to eliminate error," Could not find the main class: filecopy.FileCopy....) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: filecopy.FileCopy. Program will exit. Exception in thread "main" Java
error
error  whats the error.............. import java.util.Scanner; public class g { public static void main(String[] args) { Scanner s=new Scanner... class g { public static void main(String[] args) { int d,x,y
error
error  import java.io.*; public class sereies { public static void main(String args[])throws IOException { BufferedReader keyin=new BufferedReader(new InputStreamReader(System.in)); int n; double sum
error
error  while iam compiling iam getting expected error
Error-
Error-   Hello, I would like to know about XSD file. I try to print XML file but I am getting error SAXException-- says Content is not allowed in prolog. Please help me
main method
; hello No we can not make multiple main with in the same class program fails to compile. Compiler gives error that the main method is already defined...main method  hello, Can I make multiple main methods in the same
error
error  i have 404 error in my program plz tell me yhe solution about
error
error  i have 404 error in my program plz tell me yhe solution about
error
/ServletUserEnquiryForm.shtml getting an error given below SQLException caught: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error please suggest
Error
Error  I have created ajax with php for state and city. When I change state then city will not come in dropdown list and it give me error as 'Unknown Runtime Error'. This error come only in IE browser, but in other brower
error
error  java.lang.unsupportedclassversionerror:bad major version at offset 6 how to solve this????   Hi, Please check the version of framework used and also the JDK version.ADS_TO_REPLACE_1 This type error also comes
error
error
error
error  When I deploye the example I have this message cannot Deploy HelloWorld Deployment Error for module: HelloWorld: Error occurred during deployment: Exception while deploying the app [HelloWorld
error!!!!!!!!!
error!!!!!!!!!   st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText
error!!!!!!!!!
error!!!!!!!!!   st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText
error!!!!!!!!!
error!!!!!!!!!   st=con.createStatement(); int a=Integer.parseInt(txttrno.getText()); String b=txttname.getText(); String c=txtfrom.getText(); String d=txtto.getText
Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern
Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern
Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern
Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern = /^\d{3,5
error
"+it); } } this is my program i am getting an error saying cannot find symbol class stringADS
main method
main method  Why is the java main method static
main method
main method  What is the argument type of a program's main() method
main function
main function  Give me the description of public static void main(Strings args
main() method
main() method  Can we define two main() methods having same parameter but with different return type in a program
main method
main method  psvm(String args[]) what does this arguement in paranthesis denote?   Hi Friend, public-It indicates that the main() method can be called by any object. static-It indicates that the main() method
ModuleNotFoundError: No module named 'main'
is throwing following error: ModuleNotFoundError: No module named 'main' How to remove the ModuleNotFoundError: No module named 'main' error..., ModuleNotFoundError: No module named 'main' error will be solved. Thanks
ModuleNotFoundError: No module named 'main'
is throwing following error: ModuleNotFoundError: No module named 'main' How to remove the ModuleNotFoundError: No module named 'main' error..., ModuleNotFoundError: No module named 'main' error will be solved. Thanks
Main method overloading
Main method overloading  Can we overload main()method
why not float main?
why not float main?  why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main
why not float main?
why not float main?  why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main
JSON main question
JSON main question  What is the main purpose of JSON ,in which cases can i use
JSON main question
JSON main question  What is the main purpose of JSON ,in which cases can i use
Main memory is also known as
Main memory is also known as   Main memory of a computer is also known
java sleep in main method
java sleep in main method  Hi, How to write Java program for sleeping in the main method? I want Java program to have sleep in main method. Try to share me the code examples. Thanks
java sleep in main method
java sleep in main method  Hi, How to write Java program for sleeping in the main method? I want Java program to have sleep in main method. Try to share me the code examples. Thanks
Main job of cpu
Main job of cpu  What is the Main Job of CPU?   The CPU perform two main task .. 1. It carry out program instructions and also 2. Process the data and information
ModuleNotFoundError: No module named 'main-dec'
library, ModuleNotFoundError: No module named 'main-dec' error...ModuleNotFoundError: No module named 'main-dec'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'main-script'
;main-script' error? Thanks   Hi, In your python environment...ModuleNotFoundError: No module named 'main-script'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'main-server'
;main-server' error? Thanks   Hi, In your python environment...ModuleNotFoundError: No module named 'main-server'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named
public static void main
public static void main  what is mean public static void main?   public-It indicates that the main() method can be called by any object. static-It indicates that the main() method is a class method. void- It indicates
Exception in thread "main" java.lang.ClassCastException
Exception in thread "main" java.lang.ClassCastException  I am trying...){e.printStackTrace();} } } public static void main(String[] argv) { try { Class driver... compiling it it throw the error. Test_jdbc.java:2:error:package org.postgis doesnot

Ads