W7 - Pinning .JAR files to the taskbar? At all possible?
6 replies, posted
So I have a few .JAR files that I wish to add to the Windows 7 taskbar, but when I right click it does not give me the option to do so. I'm trying to clean up my desktop since I'm on a small laptop, but I can't add them directly to the taskbar, which is an annoyance for me. Is there any way to make a shortcut on the taskbar for .JAR files? Or would I need to find a program to do this.
Drag the .jar to your taskbar and it will be added in. If that won't work, then download a .jar to .exe and put the .exe in your taskbar.
Or just right click Create Shortcut and drag that?
Right Click -> Pin this program to taskbar
[QUOTE=zzaacckk;29518406]Right Click -> Pin this program to taskbar[/QUOTE]
That doesn't work for everything. However you might be able to pin java.exe or whatever it's called and edit the command line to launch a specific jar.
[QUOTE=Panda X;29518451]That doesn't work for everything. However you might be able to pin java.exe or whatever it's called and edit the command line to launch a specific jar.[/QUOTE]
Would I be able to find the correct way to do this just by searching google?
Step 1:
Locate your java binary file. For me it is in C:\Program Files\Java\jre6\bin. If thats not where it is for you, look under C:\program files\java\ and look through the folders there. You are looking for java.exe.
Step 2:
Drag java.exe to the desktop [b]while holding alt[/b]. Release the left mouse button [b]before[/b] letting go of alt. This creates a shortcut.
Step 3:
Right click on the shortcut, and go to properties, shortcut tab. Change the 'target' field to "C:\WHEREVER_JAVA_IS_LOCATED.EXE" -jar "C:\PATH_TO_JAR.JAR"
Step 4 (Optional):
Change the icon and name of the shortcut.
Step 5:
Hit OK and drag the shortcut to the taskbar.
Sorry, you need to Log In to post a reply to this thread.