Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2008, 11:03 AM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
Default [SOLVED] How to Run a .exe file continuously???
any body help me How my .exe should run continuously???
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 04-21-2008, 11:24 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 537
Rep Power: 2
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Default
Why? .exe? maybe .jar....

Please be more specific....

regards,
sukatoa
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-21-2008, 11:25 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 537
Rep Power: 2
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Default
Ok... i got it....

Is that about the converted jar file executable?

regards,
sukatoa
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-21-2008, 11:36 AM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
Default
.exe only..
yeah i converted .jar to .exe...
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 04-21-2008, 11:42 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 537
Rep Power: 2
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Default
How would that .exe not continuously running?

What have you experienced about it?
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 04-21-2008, 12:02 PM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 04-21-2008, 12:03 PM
Java Tip's Avatar
Moderator
 
Join Date: Nov 2007
Posts: 1,681
Rep Power: 4
Java Tip will become famous soon enoughJava Tip will become famous soon enough
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.
__________________
"The sole cause of man’s unhappiness is that he does not know how to stay quietly in his room." - Blaise Pascal
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 04-21-2008, 12:59 PM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
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 01:05 PM.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 04-21-2008, 01:15 PM
Java Tip's Avatar
Moderator
 
Join Date: Nov 2007
Posts: 1,681
Rep Power: 4
Java Tip will become famous soon enoughJava Tip will become famous soon enough
Default
Quote:
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.
__________________
"The sole cause of man’s unhappiness is that he does not know how to stay quietly in his room." - Blaise Pascal
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 04-21-2008, 01:42 PM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
Default
i am trying it on google if anybosy come across with this please reply this post,,,

thanks in advance
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 04-21-2008, 06:34 PM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
Rep Power: 3
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Default
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 04-22-2008, 06:20 AM
jazz2k8's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 138
Rep Power: 0
jazz2k8 is on a distinguished road
Smile
Ok...Thanks...
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
File fp = new File(filePath);fp.exists() does not yeild proper result ganeshp Advanced Java 2 04-07-2009 06:25 AM
How to read a text file from a Java Archive File Java Tip Java Tips 0 02-08-2008 09:13 AM
how to send and receive data from servlet to applet Continuously ?? jega_ms Java Servlet 1 01-28-2008 10:49 AM
Converting text file(.txt) to JPG file(.jpg) in java javadeveloper Advanced Java 0 11-09-2007 04:22 PM
count character in text file as input file aNNuur New To Java 0 06-18-2007 06:46 AM


All times are GMT +2. The time now is 01:46 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org