🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
3 messages
3 total messages Started by Tiffany Tanonaka Tue, 23 Dec 2003 08:47
Swing and Jar
#1277
Author: Tiffany Tanonaka
Date: Tue, 23 Dec 2003 08:47
18 lines
1583 bytes
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
Re: Swing and Jar
#1280
Author: pNichols
Date: Wed, 24 Dec 2003 02:53
32 lines
2219 bytes
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.
Re: Swing and Jar
#1281
Author: Tiffany Tanonaka
Date: Wed, 24 Dec 2003 04:21
49 lines
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.
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads