File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java chat program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java chat program" Watch "Java chat program" New topic

Java chat program

Evin Palarow

Joined: Jan 05, 2013
Posts: 4
So I'm working on part of a chat program right now with a GUI and it works perfectly in the IDE but the moment I make it an executable .jar file....poot...nada...nothing. I've thrown everything I know at it and then some....I'm at a complete loss.

Joe Areeda
Ranch Hand

Joined: Apr 15, 2011
Posts: 331

Hi Evin,

If the program works in the IDE but not as a stand alone jar file the problem is probably not in your Java code. But I admit I didn't even read it.

Which IDE are you using and how did you create the jar? And what error do you get when you try to run it?

It's not what your program can do, it's what your users do with the program.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Evin Palarow, don't you think you should reply to Steve Luke's response in your earlier thread, so that we know whether that solved your problem or you need further help?

luck, db
There are no new questions, but there may be new answers.
Evin Palarow

Joined: Jan 05, 2013
Posts: 4
Sorry I didn't reply sooner, I've been using BlueJ to write the code and turn it into an executable .jar file.
Joanne Neal

Joined: Aug 05, 2005
Posts: 3742
Joe Areeda wrote:And what error do you get when you try to run it?

The exact command line you are using will probably be useful as well.

I agree. Here's the link:
subject: Java chat program
It's not a secret anymore!