Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Simple Java Program throwing cannot create process =193 error

 
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
[Thumbnail for CannotCreateProcessError.JPG]
Code and error screenshot
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ....
 
author
Posts: 23939
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic