Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

unrecognized option could not create the java virtual machine

843789Jun 10 2009 — edited Jun 10 2009
Hi

I created a project using NetBeans. To run it from command line, i used clean and build.

Then I entered the pathname as shown in the auto-generated readme file.

However i get the following error message when trying to run it from command line:

unrecognized option: -
could not create the java virtual machine

what did i do wrong?

Thanks for your answers!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2009
Added on Jun 10 2009
1 comment
666 views