[nbusers] Could Not find or load main class (file)

  • From: "Dsr122076" < >
  • To:
  • Subject: [nbusers] Could Not find or load main class (file)
  • Date: Mon, 15 Oct 2012 11:57:10 -0400

I cannot just type jav (file name) in the command prompt. I have to type the 
following: 

java -jar "C:\*\*\*\NetBeansProjects\WindowTest\dist\WindowTest.jar"


----* = full path to file

I guess this runs the .jar file that was previously mentioned. I just did not 
know that existed. So I followed the entire path. and then it worked...... 
Silly me figured out later that if we read the bottom of the screen when we 
succesfully create the program it tells us what to type to run it from a 
command promt.

To run this application from the command line without Ant, try:
java -jar "C:\*\*\*\NetBeansProjects\WindowTest\dist\WindowTest.jar"






[nbusers] Could Not find or load main class (file)

Dsr122076 10/15/2012

[nbusers] Re: Could Not find or load main class (file)

Bayless Kirtley 10/15/2012

[nbusers] Could Not find or load main class (file)

Dsr122076 10/15/2012

[nbusers] Could Not find or load main class (file)

Dsr122076 10/15/2012

[nbusers] Could Not find or load main class (file)

Dsr122076 10/15/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close