Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

program running problem

 
salil misra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
normally for a c program when it is compiled and run a .exe file is created
if we place that .exe file at the startup the .exe file runs at windows startup

how could we make this scenerio possible with java so that we cud make my java program run at windows startup

please help me out i m in great fix
 
Norm Radder
Ranch Hand
Posts: 888
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a shortcut with the commandline that will execute your java program and put that in the start folder.
 
Sachin Joshi
Ranch Hand
Posts: 83
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is what you need to do

1. Create a MyProgram.bat file.
2. first line in the MyProgram.bat file should be




Call this bat file at startup....this should run your program in windows startup.
 
Rob Spoor
Sheriff
Pie
Posts: 20531
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"SachinJoshi",

This is the third time I'm warning you. Read your private messages.

Failure to follow instructions may lead to having your account blocked.
[ August 10, 2008: Message edited by: Rob Prime ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic