• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How to run Socket Chat Program on RedHat Linux?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm done with SimpleChatClient given in HeadFirst Java chapter15.
But in my College, they've Linux Redhat Server and All the Computers are connected to it.

What modifications will be required to run that Program on Linux Redhat, so that I can chat with all my friends connected on the network?
 
Sheriff
Posts: 3036
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Java Ranch!

One nice thing about Java is the same .class files should run the same on all operating systems, so you won't have to modify anything to make it run on Linux as opposed to, say, Windows. However, for you to actually use the chat client with your friends, there will have to be a chat server accessible across a network, and all your friends will have to run the same client, or at least a client compatible with that server. I don't have the HeadFirst book, so I don't know the specifics of the chat client you refer to, but they must mention a server, right?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, your server will have to have the ports listened to by the chat server open, which is unlikely in an "enterprise" environment like a college. Is there an administrator you can speak with to make sure?
Have you tried? If so, what happened?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic