Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #717

Re: jar execution problem

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.help
Subject Re: jar execution problem
Date 2011-05-25 09:04 -0700
Organization Canadian Mind Products
Message-ID <d0aqt652d081akp9m3e76eldon1p379gf0@4ax.com> (permalink)
References <irj70i$2v6n$1@adenine.netfront.net>

Show all headers | View raw


On Wed, 25 May 2011 23:25:05 +0800, Sascha <sascha_friederichs@web.de>
wrote, quoted or indirectly quoted someone who said :

>I got the error message
>Exception in thread "main" java.lang.NoClassDefFoundError: Dice

Put your class in a package.  null package is only for single-class
experimentation.


see http://mindprod.com/jgloss/jarexe.html
http://mindprod.com/jgloss/jar.html

for gotchas on creating jars

Manifests are picky about newline characters.

-- 
Roedy Green Canadian Mind Products
http://mindprod.com
How long did it take after the car was invented before owners understood 
cars would not work unless you regularly changed the oil and the tires?
We have gone 33 years and still it is rare to uncover a user who 
understands computers don't work without regular backups.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


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