Hi,
I have installed Eclipse Indiog Service Release 2 and Java 1.7. I have created a simple HelloWorld program in Eclipse. However, when I am running app using Run As Java Application its generating error as below :
First Message :
Java Vertual Machine Launcher : An error has occurred.
Second Message :
Error : Could not find the main class.
Error : A JNI error has occurred, please check your installation and try again.
HelloWorld.java
public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello World!!!");
}
}
Please assist me asap, I am trying to resolve this since two weeks. I have this same problem with Eclipse Juno.
I can run successfully this java programm in Eclipse Europa.
Thank you very much!!!