Results 1 to 12 of 12
  1. #1
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

    Default [SOLVED] How to Run a .exe file continuously???

    any body help me How my .exe should run continuously???

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    Why? .exe? maybe .jar....

    Please be more specific....

    regards,
    sukatoa

  3. #3
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    Ok... i got it....

    Is that about the converted jar file executable?

    regards,
    sukatoa

  4. #4
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

    Default

    .exe only..
    yeah i converted .jar to .exe...

  5. #5
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    How would that .exe not continuously running?

    What have you experienced about it?
    freedom exists in the world of ideas

  6. #6
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

    Question

    according to the requirement i need to give .exe file which will run 24/7...i know this much information..am i correct regarding the information???

    according to my view..They are .net guys they dont allow .jar files in their applications..thats why they need a .exe

  7. #7
    Java Tip's Avatar
    Java Tip is offline Moderator
    Join Date
    Nov 2007
    Posts
    1,694
    Blog Entries
    430
    Rep Power
    10

    Default

    Exe should have the same behavior of Jar. So if you make your jar to run continuously, exe should do the same. If it is a swing application, if you did not exit from it explicitly, it should run continuously. If it is a console application, the most basic way is to embed your main code inside a loop in which you only exit from this loop when a specific condition is met.

  8. #8
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

    Default

    Can you tel me how to run a .exe (its a third party setup)as a windows service???
    Last edited by jazz2k8; 04-21-2008 at 02:05 PM.

  9. #9
    Java Tip's Avatar
    Java Tip is offline Moderator
    Join Date
    Nov 2007
    Posts
    1,694
    Blog Entries
    430
    Rep Power
    10

    Default

    Can you tel me how to run a .exe (its a third party setup)as a windows service???
    I did not do that before. Try searching on google.

  10. #10
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

    Default

    i am trying it on google if anybosy come across with this please reply this post,,,

    thanks in advance

  11. #11
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    9

    Default

    Quote Originally Posted by jazz2k8 View Post
    Can you tel me how to run a .exe (its a third party setup)as a windows service???
    This is not a Java related question, which means it's off topic here and yes- Google is definitely your best friend here.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  12. #12
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Posts
    149
    Rep Power
    0

Similar Threads

  1. count character in text file as input file
    By aNNuur in forum New To Java
    Replies: 7
    Last Post: 03-25-2010, 05:01 PM
  2. Replies: 2
    Last Post: 04-07-2009, 07:25 AM
  3. How to read a text file from a Java Archive File
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-08-2008, 10:13 AM
  4. Replies: 1
    Last Post: 01-28-2008, 11:49 AM
  5. Converting text file(.txt) to JPG file(.jpg) in java
    By javadeveloper in forum Advanced Java
    Replies: 0
    Last Post: 11-09-2007, 05:22 PM

Posting Permissions

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