File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Simple Java Program throwing cannot create process =193 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Simple Java Program throwing cannot create process =193 error" Watch "Simple Java Program throwing cannot create process =193 error" New topic
Author

Simple Java Program throwing cannot create process =193 error

Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

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.



[Thumbnail for CannotCreateProcessError.JPG]



Thanks,
Tarun Trehan (http://allzhere.in)
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Welcome to the Ranch.

Instead of uploading attachments, please copy paste the stack trace. (Don't forget to UseCodeTags)

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

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
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Yes..i had formatted my system...
I will try to re-install Java....
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple Java Program throwing cannot create process =193 error