Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java chat program

 
Evin Palarow
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 331
2
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Evin Palarow
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic