🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1506

Re: jar - Manifest

#1506
From: Joi Ellis [TeamB]
Date: Mon, 19 Nov 2001 13:03
31 lines
2040 bytes
Klaus Kaal <klaus@kaal.de> wrote:
> When I start my application on the target-machine, I get

> "Failed to load Main-Class manifest attribute from ..." and then my jar-file

> In JBuilder, I looked into the maifest.MF file and it contains:

Is that the correct case?  Java is pretty particular about the location and
name of the manifest file, including its case:

META-INF/MANIFEST.MF

Did you build your jar manually and tell the jar command where to find the
manifest file?  Or did you create one and drop it into the jar's input
directory yourself?

> "Manifest-Version: 1.0
> Main-Class: ParserMain.Parser "

> The class exists and works in JBuilder.

> I have no idea about the manifest thing. Can anyone help me?

What level of JBuilder are you using?  Does it have the Archive Wizard?

-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID: <3bf9032b_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.abs.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <9tanm3$r1p$05$1@news.t-online.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,fcecdc6f3db94b2a
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-11-19 05:08:42 PST
Message-ID: <3bf9032b_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: jar - Manifest
Newsgroups: borland.public.jbuilder.java.api
References: <9tanm3$r1p$05$1@news.t-online.com>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 19 Nov 2001 05:03:39 -0800
X-Trace: dnews 1006175019 209.46.41.66 (19 Nov 2001 05:03:39 -0800)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.abs.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail