• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Java Program throwing cannot create process =193 error

 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
CannotCreateProcessError.JPG
Code and error screenshot
[Thumbnail for CannotCreateProcessError.JPG]
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Instead of uploading attachments, please copy paste the stack trace. (Don't forget to UseCodeTags)
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ....
 
Henry Wong
author
Marshal
Pie
Posts: 20889
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Henry
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes..i had formatted my system...
I will try to re-install Java....
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic