Article View: borland.public.jbuilder.java.language
Article #16903Re: Error in Jre, help me please
From: Sergio Fernandez
Date: Wed, 30 Dec 1998 00:00
Date: Wed, 30 Dec 1998 00:00
29 lines
1878 bytes
1878 bytes
It seems like you did not export all the need applets. If your other system does not have the version of jre that support the javax package you must deploy the package yourself. keep in mind that some version call it javax.swing oand others may call it com.sun.java.swing, so even if you know that both version support swing they may not support the save version (page name may be different). the best thing is todeplay all the classes yourself. just insert the javax.swing components inside the zip file you are deploying( this will make your zip file grow alot) but it works!! Moon-Jeong, Choi wrote in message <766nf5$lja9@forums.borland.com>... >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. > > >
Technical Details
Message-ID:
<76errg$i3g$1@holly.prod.itd.earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: "Sergio Fernandez" <pabsoftware@earthlink.net> Subject: Re: Error in Jre, help me please Date: 1998/12/30 Message-ID: <76errg$i3g$1@holly.prod.itd.earthlink.net> X-Deja-AN: 427368646 References: <766nf5$lja9@forums.borland.com> X-Posted-Path-Was: not-for-mail X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-ELN-Date: 31 Dec 1998 03:42:40 GMT X-ELN-Insert-Date: Wed Dec 30 19:45:17 1998 Organization: EarthLink Network, Inc. Newsgroups: borland.public.jbuilder.java.language