Article View: borland.public.jbuilder.java.swing
Article #1281Re: Swing and Jar
From: Tiffany Tanonaka
Date: Wed, 24 Dec 2003 04:21
Date: Wed, 24 Dec 2003 04:21
49 lines
2753 bytes
2753 bytes
thanks! I think u have hit the mark because I actually I tried that too last night and got exactly the error you spoke of (ClassNotFound errors) so I googled the error to see what was wrong, and it seems to be something about classpath is wrong but I will see if I can figure it out. *smiles* Thanks - I am glad to know I am on the right path! Happy Holidays! Tiffany =) "pNichols" <paul@computer-logic.net> wrote in message news:3fe8fdaf@newsgroups.borland.com... > Tiffany Tanonaka wrote: > > > Hello, > > > > I seem to have hit a road block. I don't know if others have come across > > this type of issue ... I can run my GUI application successfully while in > > JBuilder 6 but when I convert it into a jar file and attempt to run the > > jar > > file, it does not work. I've been able to run other jar files as a self > > running app without JBuilder, but the difference has been those > > applications that did not need to access to server (internet resources) > > like this one does. (I don't know if that is thje problem) > > > > I thought it might be a GUI thing, so I converted application to a > > commandline application and it works in JBuilder, but once again, it does > > not work if I convert to a jar file. > > > > Any thoughts would be incredibly appreciated! > > > > Thanks! = P > > Tiffany > > Sounds like you have dependency problems. Try running from a command line > > java -verbose -jar <yourjarfilename>.jar > > Look for ClassNotFound errors. If you see these, you need to repackage your > jar file and make sure any and all resources use the option (from mthe > Wizard) > > "Always include all classes and resources" for each and every package > showing up in the JList within the Wixard. >
Technical Details
Message-ID:
<3fe91418$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fe80250@newsgroups.borland.com> <3fe8fdaf@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,bf59f5d01fc03e51 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-23 20:27:06 PST From: "Tiffany Tanonaka" <shaggy_scooby2002@hotmail.com> Newsgroups: borland.public.jbuilder.java.swing References: <3fe80250@newsgroups.borland.com> <3fe8fdaf@newsgroups.borland.com> Subject: Re: Swing and Jar Date: Tue, 23 Dec 2003 18:21:35 -1000 Lines: 51 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 128.171.197.236 Message-ID: <3fe91418$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072239640 128.171.197.236 (23 Dec 2003 20:20:40 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail