Results 1 to 7 of 7
  1. #1
    jmHoekst is offline Member
    Join Date
    Jun 2008
    Posts
    14
    Rep Power
    0

    Smile [SOLVED] executing java over network

    hi all,

    i am a noob and haven't been able to find solutions anywhere on the web. i have a java program that is executed on a server machine, and i want it to "run locally" on each client. how can i do that? the client machines do not have a JDK or anything installed on them, so can i compile on the server and have the code execute on each of the clients?

    thanks for the help, i'll take any suggestions you have

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    If I may suggest starting with an Applet. The reason I say this is that Applets may talk to the server in a copious fashion.

    That is how I plan to implement several major parts of my program.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,891
    Rep Power
    25

    Default

    The client machines must have a version of the java jre (not JDK which is what developers use) to be able to execute a java program.
    As Nicholas mentioned, Applets are code that can be loaded into a client's browser from a server. It still requires that the browser have the java plugin installed. With an applet you won't be executing the code over the network. The code will execute in the client's browser.

  4. #4
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Yes i agree with norm.
    Even if we use any type of accessing atleast to run application we need jdk installed in client machines.
    To finish sooner, take your own time....
    Nivedithaaaa

  5. #5
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,891
    Rep Power
    25

    Default

    jre is the runtime environment
    jdk is the developer's kit

  6. #6
    jmHoekst is offline Member
    Join Date
    Jun 2008
    Posts
    14
    Rep Power
    0

    Default

    Thanks for the suggestions guys, I have it running well now.

  7. #7
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Great!!! Now plz mark this thread as solved.
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. Executing a jar file
    By peiceonly in forum New To Java
    Replies: 7
    Last Post: 02-14-2014, 10:02 AM
  2. best Java Network API to use?
    By San_Andreas in forum Networking
    Replies: 1
    Last Post: 04-30-2008, 09:42 PM
  3. How to get URL from network machine
    By Mir in forum Networking
    Replies: 1
    Last Post: 04-02-2008, 01:08 AM
  4. Getting network card address in Java 6
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-02-2008, 08:10 PM
  5. executing the java file
    By TheBayWatchMan in forum New To Java
    Replies: 4
    Last Post: 01-12-2008, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •