[nbusers] Could not find the main class

  • From: "Mack06" < >
  • To:
  • Subject: [nbusers] Could not find the main class
  • Date: Thu, 02 May 2013 16:46:18 -0400

Is that the only JDK on the system? In Help>>About what version dose it say 
NetBeans is running on and what does it say the version of NetBeans is? What 
version in Project Properties>>Libraries>>JDK version does it say? What does 
it say for Project Properites>>Sources>>Source/Binary format? 

Did you try compiling and creating a JAR from the command line and then see 
if it will run?


kmzimmer wrote:
> Mack,
> My path does contain 'C:\Program Files (x86)\Java\jdk1.6.0_24\bin;'
> 
> These are the contents from my MANIFEST.MF FILE
> 
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.8.1
> Created-By: 1.6.0_24-b07 (Sun Microsystems Inc.)
> Main-Class: prc_cl7.Main
> X-COMMENT: Main-Class will be added automatically by build
> 
> Source Package is prc_cl7, Under that is Main.java. Here is a code sample.
> 
> package prc_cl7;
> 
>     /** Used to output messages to a file. */
>     private static PrintWriter out;
> 
> public class Main {
> 
>       public static void main(String[] args) throws SQLException, 
> ClassNotFoundException {
> 
>   // TO DO HERE







[nbusers] Could not find the main class

kmzimmer 04/30/2013

[nbusers] Could not find the main class

kmzimmer 05/01/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

Mack06 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

kmzimmer 05/02/2013

[nbusers] Could not find the main class

Mack06 05/03/2013

[nbusers] Could not find the main class

kmzimmer 05/06/2013

[nbusers] Could not find the main class

kmzimmer 05/06/2013

[nbusers] Could not find the main class

kmzimmer 05/06/2013

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 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close