Article View: borland.public.jbuilder.java.api
Article #1507Re: jar - Manifest
From: Klaus Kaal
Date: Mon, 19 Nov 2001 16:34
Date: Mon, 19 Nov 2001 16:34
47 lines
2614 bytes
2614 bytes
Really, it works fine on my W2k machine. So, it should be the rigtht place where the file resides. And I checked the cases of all names. Everything ok. But my trouble is that the target machine is Linux. And there it does not work anymore. Klaus "Joi Ellis [TeamB]" <joi@aravox.com> schrieb im Newsbeitrag news:3bf9032b_1@dnews... > 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:
<9tbcb0$lgo$03$1@news.t-online.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<9tanm3$r1p$05$1@news.t-online.com> <3bf9032b_1@dnews>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 08:36:18 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Klaus Kaal" <klaus@kaal.de> Newsgroups: borland.public.jbuilder.java.api Subject: Re: jar - Manifest Date: Mon, 19 Nov 2001 17:34:34 +0100 Organization: T-Online Lines: 49 Message-ID: <9tbcb0$lgo$03$1@news.t-online.com> References: <9tanm3$r1p$05$1@news.t-online.com> <3bf9032b_1@dnews> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1006187681 03 22040 Um+LTYYVSQYPDm 011119 16:34:41 X-Complaints-To: abuse@t-online.com X-Sender: 520067114078-0001@t-dialin.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200