🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16715

Re: Error in Jre, help me please

#16715
From: peter stevenson
Date: Mon, 25 Jan 1999 00:00
23 lines
1322 bytes

"Moon-Jeong, Choi" wrote:

> Howdy?
> I have test my test.zip archive with jre116-win32 to make stand-alone
> application for another machine with no jbuilder program.
> But, I have caught an following error.
> I think it is maybe caused by importing "javax.swing.*" in my program.
> Could anyone tell me how do I fix it?
>
> c:\> jre -cp c:\test\test.zip test.Application1
> -> Exception in Thread "main" java.lang.NoClassDefFoundError:
>      javax/swing/JButton
>         at test.Application1.<init><Application1.java:60>
>         at test.Application1.main<Application1.java:1141>
>
> Thanks in advance.

c:\> jre -cp c:\test\test.zip test.Application1
try jre -cp c:\test\test.zip;c:\test\swingAll.jar test.Application1

peter
Technical Details
Message-ID: <36AB8AAD.C3F11221@xtra.co.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <766nf5$lja9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,917270e607a7e0b8
X-Google-Attributes: gidf74b3,public
From: peter stevenson <cyber.space@xtra.co.nz>
Subject: Re: Error in Jre, help me please
Date: 1999/01/25
Message-ID: <36AB8AAD.C3F11221@xtra.co.nz>
X-Deja-AN: 436426693
Content-Transfer-Encoding: 7bit
References: <766nf5$lja9@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language