deploy jar file + mail api
I've searched everywhere (sun forums etc etc etc), but nothing seems to work for me:
I'm using netbeans 4.0, wrote a java program which requires other jar files (eg mail.jar etc). Now I create the executable jar file. Of course it doesn't work since I need to include the Class-path for the jar files (using Windows btw) in the Manifest file. So I open it with WinRar, open the manifest file, make the changes, and now it looks like this:
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
X-COMMENT: Main-Class will be added automatically by build
since the jar files are in the same directory than alfio.jar (the executable jar file) in a folder called javamail. However things still don't work
Urgent help needed, have to hand up this project in two days, and nobody seems to be able to help me.
Have you looked at the doc re how to code the Class-Path atribute in the manifest?
Class-Path: buy.jar sell.jar
ie there is only one Class-Path line with all the jars on it.
thanks a lot, you saved my day/night
Last Post: 07-19-2005, 02:03 AM
By Chris L. in forum VB Classic
Last Post: 07-31-2001, 01:23 PM
Last Post: 06-28-2001, 04:21 PM
By Cynthia Leslie in forum Java
Last Post: 06-09-2001, 07:43 PM
By Yuri in forum VB Classic
Last Post: 05-18-2001, 05:05 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL