J
jainshasha
hi guys
actually i try to build someone else project through netbeans
so it gives the output shown below
init:
deps-jar:
Compiling 3 source files to C:\Documents and Settings\Zoomi\My
Documents\NetBeansProjects\JpxxMailServer\build\classes
Note: .....\NetBeansProjects\JpxxMailServer\src\org\jpxx\mail\JJ.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Building jar: .....\NetBeansProjects\JpxxMailServer\dist
\JpxxMailServer.jar
Copy libraries to ......\NetBeansProjects\JpxxMailServer\dist\lib.
To run this application from the command line without Ant, try:
java -jar "......\NetBeansProjects\JpxxMailServer\dist
\JpxxMailServer.jar"
jar:
BUILD SUCCESSFUL (total time: 3 seconds)
and makes a jar in the /dist folder which on executing that jar file
make these two exceptions
"A Java Exception Occured"
"Error : Could not find the main class "
"Error : A JNI error has occured, please check your installation and
try again"
although i have made the file in which i define the main class
so check out this and help if someone knows
actually i try to build someone else project through netbeans
so it gives the output shown below
init:
deps-jar:
Compiling 3 source files to C:\Documents and Settings\Zoomi\My
Documents\NetBeansProjects\JpxxMailServer\build\classes
Note: .....\NetBeansProjects\JpxxMailServer\src\org\jpxx\mail\JJ.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Building jar: .....\NetBeansProjects\JpxxMailServer\dist
\JpxxMailServer.jar
Copy libraries to ......\NetBeansProjects\JpxxMailServer\dist\lib.
To run this application from the command line without Ant, try:
java -jar "......\NetBeansProjects\JpxxMailServer\dist
\JpxxMailServer.jar"
jar:
BUILD SUCCESSFUL (total time: 3 seconds)
and makes a jar in the /dist folder which on executing that jar file
make these two exceptions
"A Java Exception Occured"
"Error : Could not find the main class "
"Error : A JNI error has occured, please check your installation and
try again"
although i have made the file in which i define the main class
so check out this and help if someone knows