Article View: borland.public.jbuilder.java.language
Article #19902Re: Deployment of .JAR = Class not found
From: Andrew Bennett
Date: Thu, 20 Nov 1997 00:00
Date: Thu, 20 Nov 1997 00:00
29 lines
1319 bytes
1319 bytes
On Wed, 19 Nov 1997 17:22:12 -0800, Frank Cohen <fcohen@inclusion.net> wrote: >This shouldn't be hard. I must be missing something really easy. Below >is a simple example application. I compile it, then run the deployment >wizard to create the mytest.jar file. Then I: > >jre -cp mytest.jar mytest.theapp.main > >I get an error: > >Class not found: mytest.theapp.main > >Agghh, I feel so stupid. Why mytest.theapp.main? The class's name is mytest.theapp. Drop the ".main". Report back... Andrew -- Andrew Bennett -> abennett@borland.com JBuilder info -> http://www.borland.com/jbuilder/ JBuilder newsgroups info -> http://www.borland.com/newsgroups/ **** Please don't post a reply AND send email. Do one. I'll see it. ****
Technical Details
Message-ID:
<347477a7.59297785@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3471CE23.214B@inclusion.net> <347204dc.69205131@forums.borland.com> <34738907.7CCC@inclusion.net> <347390C4.4071@inclusion.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5763acb3f5c73e5 X-Google-Attributes: gidf74b3,public From: abennett@borland.com (Andrew Bennett) Subject: Re: Deployment of .JAR = Class not found Date: 1997/11/20 Message-ID: <347477a7.59297785@forums.borland.com> X-Deja-AN: 291050466 References: <3471CE23.214B@inclusion.net> <347204dc.69205131@forums.borland.com> <34738907.7CCC@inclusion.net> <347390C4.4071@inclusion.net> Organization: None Newsgroups: borland.public.jbuilder.java.language