Results 1 to 2 of 2
Thread: How to launch two Java programs?
- 07-10-2012, 10:33 PM #1
Member
- Join Date
- Jun 2012
- Posts
- 6
- Rep Power
- 0
How to launch two Java programs?
Hi everyone!
I wrote a server program and a client program. I need to first launch the Server program and then launch the Client program. The problem is that the Terminal won't let me. For example, I wrote:
javac Server.java
javac Client.java
java Server
java Client
But the Client program will only start when the Server program closes and will then have a connection error because the server is no longer available. I am using mac OS. Can someone please tell me how to launch both programs simultaneously?
Thank you!
- 07-10-2012, 10:51 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,641
- Rep Power
- 10
Similar Threads
-
Cannot launch Java application
By Coolcambo in forum New To JavaReplies: 1Last Post: 11-24-2011, 02:00 PM -
how to launch and work within an external software using java
By qwertyuiop415263 in forum New To JavaReplies: 12Last Post: 07-13-2011, 04:08 PM -
Can I launch a program from a Java application?
By kemiga in forum New To JavaReplies: 5Last Post: 07-13-2011, 12:05 PM -
Java is crashing when trying to launch Minecraft
By Highpsi in forum Java GamingReplies: 0Last Post: 04-03-2011, 05:41 PM -
Java Application fails to launch without error
By javaguy78 in forum AWT / SwingReplies: 9Last Post: 11-16-2010, 06:25 PM
Bookmarks