How to deploy a Java application?
1 posts in topic
Flat View  Flat View

Posted By:   Thanks_forHelp
Posted On:   Wednesday, February 28, 2007 12:31 AM

I created a Java application in Eclipse on Windows PC, and want to run on a Unix machine. I used the Export feature to create a jar file that contain all the classes I created. However, the application uses various other jar files (e.g. log4j.jar). Is there a way that Eclipse tells me all the jar files needed for the application to function correctly?

Thanks for your help.

Re: How to deploy a Java application?

Posted By:   mahesh_komuravelli  
Posted On:   Wednesday, March 7, 2007 10:18 AM

Copy all the required jars to the path where you exported your application.The JAR file which you created have a .mf file. Open that file and add a statement like
Class-Path : ......
There you should add all the required things like log4j.jar and etc..

In simple words put all the required files in classpath.
About | Sitemap | Contact