File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Java in General
program running problem
Joined: Jun 24, 2008
Aug 10, 2008 03:44:00
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
so that we cud make my java program run at windows startup
please help me out i m in great fix
Joined: Aug 10, 2005
Aug 10, 2008 06:12:00
Make a shortcut with the commandline that will execute your java program and put that in the start folder.
Joined: Aug 06, 2008
Aug 10, 2008 13:06:00
Here is what you need to do
1. Create a MyProgram.bat file.
2. first line in the MyProgram.bat file should be
java -classpath=<YourClasspath> <YourClassFile>
Call this bat file at startup....this should run your program in windows startup.
Web Development Tips and Tutorials
- By Sachin
Joined: Oct 27, 2005
Aug 10, 2008 14:30:00
This is the third time I'm warning you. Read your
Failure to follow instructions may lead to having your account blocked.
[ August 10, 2008: Message edited by: Rob Prime ]
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
subject: program running problem
How to run a commandline command from a java program
How to automaticlly start an application
Java Portability ?
Making a Java Executable Program
running a java program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015