Results 1 to 4 of 4

Thread: Unloading and loading my java program

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Posts
    90

    Unloading and loading my java program

    is it possiable to unload my java program and then reload it automatically.

    I mean to start it over again automatically
    Last edited by Cameron Ylimaki; May 3rd, 2005 at 05:11 PM.
    CaM

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Re: Unloading and loading my java program

    I think you would have to check into the ClassLoader class. I've messed around with it in the past but i haven't used it enough where i would be able to give you any code worth using.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Posts
    90

    Re: Unloading and loading my java program

    ok I'll check it out
    thanks Cameron
    CaM

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Unloading and loading my java program

    That won't help.

    Look at System.exec, or the Java5 ProcessBuilder class. Use them to execute your app, then end the current instance.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width