Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #715
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail |
|---|---|
| From | Sascha <sascha_friederichs@web.de> |
| Newsgroups | comp.lang.java.help |
| Subject | jar execution problem |
| Date | Wed, 25 May 2011 23:25:05 +0800 |
| Organization | Netfront http://www.netfront.net/ |
| Lines | 24 |
| Message-ID | <irj70i$2v6n$1@adenine.netfront.net> (permalink) |
| NNTP-Posting-Host | 116.232.219.174 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | adenine.netfront.net 1306337106 97495 116.232.219.174 (25 May 2011 15:25:06 GMT) |
| X-Complaints-To | news@netfront.net |
| NNTP-Posting-Date | Wed, 25 May 2011 15:25:06 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:715 |
Show key headers only | View raw
Hello, i got a problem with execution of jar files. I used the following command to create a jar file. jar -vcfm dice.jar MANIFEST.TXT dice In the folder dice the Dice.class is located. The file MANIFEST.TXT contains only the following line Main-Class: Dice When I try to execute the jar file with java -jar dice.jar I got the error message Exception in thread "main" java.lang.NoClassDefFoundError: Dice I hope somebody else got the same problem and can help me out. Thanks in advance for the help. --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
Back to comp.lang.java.help | Previous | Next — Next in thread | Find similar | Unroll thread
jar execution problem Sascha <sascha_friederichs@web.de> - 2011-05-25 23:25 +0800
Re: jar execution problem Knute Johnson <nospam@knutejohnson.com> - 2011-05-25 08:48 -0700
Re: jar execution problem Lew <noone@lewscanon.com> - 2011-05-25 12:29 -0400
Re: jar execution problem Roedy Green <see_website@mindprod.com.invalid> - 2011-05-25 09:04 -0700
Re: jar execution problem Sascha <sascha_friederichs@web.de> - 2011-05-26 06:46 +0800
csiph-web