How to run a java application with the start of computer before explorer is visible
Hi all,
I want to run a java application with the start of the computer. I want this programme to check some criteria before run of explore. Is there any short method to do that. If it is there please reply me.
Thank in advance.
Gopal
Re: How to run a java application with the start of computer before explorer is visible
Needs to be moved - wrong forum.
-tg
Re: How to run a java application with the start of computer before explorer is visible
Re: How to run a java application with the start of computer before explorer is visib
Create a Shortcut on the Desktop (directions below). Drag it onto the Start/Programs/Startup menu entry (which adds it to one of the Startup folders - for example, C:\Documents and Settings\All Users\Start Menu\Programs\Startup.
1) To create the shortcut, right-click the Desktop and select new/shortcut.
2) Type (or browse and select) the location of javaw.exe into the shortcut location entry area. In XP this is "C:\WINDOWS\system32\javaw.exe".
3) Click Next.
4) Enter a name for the shortcut and click Finish, which creates the shortcut.
5) Right-click the new shortcut and click Properties.
6) In the Target: box, add the class name of your program to the end of the line. Leave a space following "javaw.exe", and enter only the class name, without the extension ".class".
7) In the Start in: box, replace the existing entry with the full path of the directory that contains your Java class. Do not include the class file name, this is just the directory path to this file. If the path contains spaces, place double quotes around the entire path.
If you wish, change the shortcut icon, or type tooltip text into the Comment: box.
8) Click OK
Re: How to run a java application with the start of computer before explorer is visible
The Startup menu is read and executed by Explorer, so that's no option.
Come to think of it, I think HKCU/Software/Microsoft/Windows/CurrentVersion/Startup (or whatever it's called) is also scanned by Explorer.
Anyway, running a Java app at any point is not really different from running any other app. So you'd be better off asking this in a general Tech forum, or a Windows forum.