Hi,
I am trying to run a simple "Hello World" program in eclipse.
When i choose Run as - Java Application to run my program ; i get an error.
Please see attachment for error and code.
Hi,
There is no stack trace for the program as it doesn't run....
I have mentioned that when Click on Run As and choose Java application .. This error screen is popped up ....
Tarun Trehan wrote:
There is no stack trace for the program as it doesn't run....
I have mentioned that when Click on Run As and choose Java application .. This error screen is popped up ....
It looks like it is complaining about the JVM itself -- perhaps it got corrupted? Or has it been recently installed?
Its too late for a reply.
But, never too late to share information.
This was a permissions issue.
Initially, i was pointing to a java extract copied from a shared directory.
It appeared that windows did not allow the program to run because of some access issue.
I got java(JRE-JDK) installed on my system and pointed program towards it.
The same code ran successfully.