Results 1 to 6 of 6
Thread: jar file eclipse
- 07-15-2009, 08:57 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 1
- Rep Power
- 0
jar file eclipse
please tell me how to create a jar file of an application developed in eclipse .I have developed the application using eclipse 3.2. It uses mysql database.
I am using crystal reports for eclipse 3.2. (so many jar files are imported). searched a lot. but couldn’t find any solution. please help me
- 07-23-2009, 11:33 PM #2
Member
- Join Date
- Jul 2009
- Posts
- 20
- Rep Power
- 0
click file, export, select runnable jar file, click next, select your launch config and destination, finish and you're done.
Then double-click the runnable jar file in the destination you chose.
- 09-08-2009, 12:25 AM #3
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
What should i type to launch configuration attribute?
- 09-08-2009, 12:32 AM #4
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
Hello,
I try to make runnable jar.I have only one class in my project.Here is source code
import com.rapidminer.RapidMiner;
import com.rapidminer.Process;
import java.io.File;
public class rapido {
public static void main(String [] argv) throws Exception{
RapidMiner. init ();
// create the process from the command line argument le
Process process = new Process(newFile("01_ParameterOptimization.xml"));
// run the process on the input
process .run( );
}
}
When i make a jar file and execute it, then in output is something like "could not find the the main class".Any idea?Thanks for any help.
- 09-08-2009, 08:50 AM #5
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Did you specify which class is your main class in your jar's manifest?
- 09-08-2009, 08:15 PM #6
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
Hello ,
thanks for quick reply.I think that my problem cause the throw exception statement in the signature of main method.When i delete this statement the code didnt work but with it the eclipse didnt recognize the main method in my class during finding the method with main.My knowlege about java is comic. So its kind of funny situation.
Similar Threads
-
Eclipse Bug - Can't Read From A File Using Eclipse?
By carlodelmundo in forum New To JavaReplies: 6Last Post: 01-26-2009, 04:25 PM -
jsp file in Eclipse
By nagaprasanna in forum EclipseReplies: 0Last Post: 11-18-2008, 08:21 AM -
eclipse batch file
By doug99 in forum EclipseReplies: 6Last Post: 04-24-2008, 02:59 PM -
How to run/build the JSP file using Eclipse
By cbklp in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 01-19-2008, 12:03 AM -
An Introduction to Eclipse PDE - File Creation
By JavaForums in forum EclipseReplies: 0Last Post: 05-09-2007, 06:40 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks