Creating desktop shorcut and start menu entry using java

Hey Guys
I have a requirement in which i will need to install a desktop application .After installing i will need to created desktop shortcut icon and start menu entries.
I have worked very less with desktop application and hence i need some help in figuring out how to achieve this.
Any help would be greatly appreciated.
Thanks
Chetan

George ,
Thanks for ur reply .Just to give you some background on this one.
We were using Java web start to do the installation and it used to take care of creating the shortcut icon and start menu entries.
The problem is that we have decided to move away from java web start and use the exe approach of installing .We wrap our JAR files in an exe and make use of Launch4j. See - launch4j.sourceforge.net/ .
The launch4j software helps in bundling all our JARs into an exe and when the exe is clicked it invokes a class present in our JAR file .However it does not create any icons because of which we will need to do that manually.
Any ideas on this?
Thanks
Chetan

Similar Messages

  • All the icons in the desktop, taskbar and start menu are messed up

    I installed Windows 7 5 days ago.   Somehow all the icons in the desktop, the taskbar and the start menu have been replaced by a notepad icon.  Additonally, When I click the Start button,  the captions for the different icons are like "calculator.lnk", "snipping tool.lnk", etc.  If I click on any of these options in the menu, instead of opening the application, it opens notepad.  As if notepad had become the default application for all the links.
    Why did this happen, and how can I work around it?   Looks like this is a nice bug to fix in SP1.

    Hi SnowflakeCoder,
    According to your problem description, it seems that the icon cache and the file associations are damaged.
    I suggest we perform the following troubleshooting suggestions to check the issue.
    Suggestion 1: Rebuild icon cache
    =========================
    1. Click “Start” and open “Computer”.
    2. Click “Organize” on the Tool bar, and choose “Folder and Search Options”.
    3. Then click the “View” tab, check to select the “Show hidden files and folders option”, and click “OK”.
    4. After that, enter the following directory and press Enter.
    %userprofile%\AppData\local
    5. Find the “IconCache.db” file, and rename it as “IconCache.db.old”.
    6. Close the window, and restart the computer.
    Suggestion 2: Restore the Start Menu via previous versions
    =========================
    1.    Click “Start” and open “Computer”.
    2.    Enter the following directory and press Enter.
    C:\ProgramData\Microsoft\Windows\Start Menu
    3. Right-click the “Programs” folder, and then click “Restore Previous Versions”.
    4. You'll see a list of available previous versions of the folder.
    5. Select a previous version of the file or folder you would to restore, click “Restore” button.
    6. Please click “Restore” if the window titled Previous Versions prompts.
    7. Please click “OK” when the file or the folder has been successfully restored to the previous version.
    8. Click “OK” again.
    If both suggestions cannot fix the issue, you may also try the System Restore which should be the easiest way to fix this issue.
    Suggestion 3: Run System Restore
    =========================
    1.  Click “Start”, type “System Restore” (without quotation marks) in the Search bar, and then click “System Restore” in the “Programs” list.
    If you are prompted for an administrator password or confirmation, type your password or click “Continue”. 
    2.  In the “System Restore” dialog box, click “Choose a different restore point”, and then click “Next”. 
    3.  In the list of restore points, click a restore point that was created before you began to experience the issue, and then click “Next”. 
    4.  Click “Finish”.
    The computer restarts, and the system files and settings are returned to the state that they were in at the time that the restore point was created.
    Please check the result again.

  • Create Stop and Start Table item using HTMLDB_ITEM - APEX 2.2.0

    Hi, all,
    I guess the subject says it all. How can I create a Stop and Start Table item using HTMLDB_ITEM? I think I can just output "< /table >< table>", but I'd like to use the built-in function if there is one, in case the way tables are rendered were to change, or in case my thinking is wrong, which is always possible ; - )
    Thanks, for this and for all of your help!

    Don, there is no function provided for this.
    Scott

  • How to pin a tile for both modern UI IE and standard desktop IE to start menu in Windows 8.1?

    Hi,
    When we deploy new applications to users we use the new GPO for Win 8.1 called "Pin Apps to Start". There we specify the path to the application and it automatically pins to users start menu on log on.
    But we want to have both the modern UI IE and the standard desktop IE on start menu also, the modern UI IE is already on the start menu by default, but when we add the IE shortcut to the GPO setting it doesn't appear on users start menu. tried the following
    path: c:\program files\internet explorer\iexplore.exe
    anyone know how to do this in Windows 8.1?
    In Windows 8 it works, but since Microsoft blocked this feature to keep the start menu "clean", we need to use the Pin Apps to Start setting in a GPO.
    Kind regards, Magnus Lislevatn

    Hi,
    I want to know the detail GPO settings for the Internet Explorer, both Windows store and the desktop Internet Explorer, besides, does it work for Windows 7 system?
    The Windows store Internet Explorer is an app, it is not located in C:\Program Files, the desktop Internet Explorer is located at C:\Program Files\Internet Explorer.
    that’s why it doesn't appear on users start menu  when you add the IE shortcut to the GPO setting and tried the following path: c:\program files\internet explorer\iexplore.exe
    The suggestion I provided for now is to check whether it just happened to one Windows 8.1 machine, if this happens to any other system, the group policy is responsible for this, posting the group policy setting will help analyze this.
    Regards
    Wade Liu
    TechNet Community Support

  • I'm using Pale Moon x64. The icon on the task bar and start menu looks like a 'computer' and not the pale moon icon-why is that?

    My computer is Windows 7-64 bit.
    I recently installed the Pale Moon x64 from the proper site.
    All is working properly, except that the 'icon' for PM in the task bar and start menu is not the blue moon. I wonder why that is and how I can change it.
    This happened on install of PM.

    Thanks, but I can't find any answer to my question there.
    I can't even figure out how to post a question.
    When I put a few words in the comment section/bar, the result was nil.
    Everything is working, I just want the icon to be correct.
    I guess the motto of 'if it ain't broken, don't fix it' may have to satisfy me.
    Maybe it will change when there is an update.

  • Taskbar and Start Menu

    Our windows 2000 policy was created awhile ago. One thing that it has that
    we are trying to reverse is the Task Bar and start menu is missing from
    the users desktop. What setting in ZFD4 controls that? If we give them a
    winodws explorer icon through NAL and they click on it the Task bar
    reappears.

    On Wed, 23 May 2007 21:01:17 GMT, dan wrote:
    > One thing that it has that
    > we are trying to reverse is the Task Bar and start menu is missing from
    > the users desktop. What setting in ZFD4 controls that?
    hmm.. it could be the shell which is in use
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Pin shortcuts to Taskbar and Start Menu for all users in Windows 7

    How can i Pin shortcuts to Taskbar and Start Menu for All Users in Windows 7? Office 2007 Word, Excel and Outlook.

    There are a few ways...
    You can configure a default profile which will give you the ability to setup the Start Menu as you want it with the items pinned how you like.  However, in my experience customizations done to the Taskbar are not maintained in a default profile.
    So, one way to get around that would be to create a script and use the "Active Setup" hooks that are built into Windows 7 to achieve the desired results.
    If you combine this script...
    http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx
    With Active Setup...
    http://www.visualbasicscript.com/Active-Setup-Examples-m67461.aspx
    You can get the results you want to get...
    Pinned items on the Taskbar have two components, one is in the file system and the other is in the registry.  You could also use GPO Preferences to add both components to a new profile and therby get similar results.  I played around with this method a little and did get it to work also.
    Mike N.

  • I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    Additionally I have no idea what you are saying here
    I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
    And it always helps for you to dientify the version of iPhoto that you are using
    LN

  • HT4889 Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    See Pondini's Setup New Mac guide for possible answers.

  • I have a license for LR for my desktop pc and would like to use this same license on my laptop is this possible

    i have a license for LR for my desktop pc and would like to use this same license on my laptop is this possible

    Yes, Adobe allows you to use the same serial number twice, on different machines.

  • Software bugs No right hand corner charms - Task Bar and Start Menu Properties

    There seems to be a software bug, as you point your mouse at the right hand corner, charms does not show up! The Taskbar and Start Menu Navigation Option "When I point to the upper-right hand corner, show charms" is tick and selected.

    @mrdbeta,
    I had this same issue.  However, the keyboard shortcut for the Charms bar still works, and pressing
    Win key + C opens the Charms bar as expected.  Maybe the mouse peek has been disabled in the Preview, but try the keyboard shortcut. 
    Hope that helps!

  • Read, Modify and Apply Report XML using Java Script

    Hi Guys,
    Is there any way that we can Pragmatically Read, Modify and Apply Report XML using Java Script or some other way.
    Thanks
    Kaushik
    Edited by: Kaushik K on Jun 20, 2012 8:36 PM

    Requirement ::
    Users should be able to add Column to the Report Dynamically at Runtime.
    (There are around 1000+ Users, Answers Approach is not acceptable)
    So we are planning to provide a Multi Select / Shuttle Box Option for Users to add Columns dynamically. (Only for Table View)
    What we planned to DO ::
    Create a Presentation Variable Prompt, Which reads the Metadata Table (Presentation Table.Column Name, populated using the Metadata Dictionary)
    And Create a report with One Column and the Column Fx like @{var_dynamic_columns}{'"Time"."Year","Time"."Month"'}
    With this, OBIEE is rewriting the Logical SQL Currently as "Select "Time"."Year","Time"."Month" from "A - Sample Sales" "
    But getting an error
    The number of columns returned in retrieving column metadata was invalid (expected: 1; received: 2)
    So we want to see, if we can rewrite the Advanced XML of the Report to have dynamic columns based on the Values from the Presentation Variable.
    Please help me if this is a viable solution or any other better solution.

  • How to trace changes in directories and files in windows using java.

    Hi,
    Want to know how to trace changes in directories and files in windows using java.
    I need to create a java procedure that keeps track of any changes done in any directory and its files on a windows System and save this data.
    Edited by: shruti.ggn on Mar 20, 2009 1:56 AM

    chk out the bellow list,get the xml and make the procedure.....     
         Notes          
    1     Some of the similar software’s include HoneyBow, honeytrap, honeyC, captureHPC, honeymole, captureBAT, nepenthes.     
    2     Some of the other hacking software’s include keyloggers. Keyloggers are used for monitoring the keystrokes typed by the user so that we can get the info or passwords one is typing. Some of the keyloggers include remote monitoring capability, it means that we can send the remote file across the network to someone else and then we can monitor the key strokes of that remote pc. Some of the famous keyloggers include win-spy, real-spy, family keylogger and stealth spy.          
    3     Apart from theses tools mentioned above there are some more tools to include that are deepfreeze, Elcomsoft password cracking tools, Online DFS, StegAlyzer, Log analysis tools such as sawmill, etc.

  • Code for reading the and placing the file using java webservice

    Hi All,
    Can anybody can guide me on how to read a file and place the file using java.
    Let  me know if any code is available which has been completed using java.
    Regards,
    Rahul

    Hi,
    The "square" symbol that you are referring to is probably a CRLF (Carriage Return - Life Feed) Control Character.
    This is more commonly known as a "Enter" at the end of a line / sentence.
    To clean this character from strings in Java, please use:
    String patternStr = "(?m)$^|[\\r\\n]+\\z";
    String replaceStr = " ";
    Pattern pattern = Pattern.compile(patternStr);
    Matcher matcher = pattern.matcher(inputStr);
    return matcher.replaceAll(replaceStr);
    Hope that helps.
    Thanks.
    p256960.

  • Zip and extract multiple files using java program

    how can i zip and extract multiple files using java program.

    Hi,
    Look into the java.util.zip and java.util.jar they expose methods to manipulate zip and jar files.

Maybe you are looking for

  • Why am I getting an access denied message for the fox news website?

    All of a sudden I am getting an "access denied to this server" message when I try to go to the Fox News website.  What's up with that?

  • PC User-Prints Strange Text in Word

    Hi All, I am using Pages-iwork08 and exported a resume to a Word file. I have sent the file to a friend possibly using XP or Vista but when they print the document....instead of fonts...they are all music notes....lol. Now it seems like they are havi

  • Panel

    Could someone please tell whats going wrong in the following code. I realise that I never specified the size of the panel, but I dont know where I am supposed to do that. Please help me out. The values of "x" that prints out on mouse press and realea

  • How to get plugin file for After Effects CC 2014 (just bought creative cloud)

    I just bought Creative Cloud, installed it, and then went to the Adobe site to install After Effects, since I couldn't find a way to do this on the CC menu. I have Mac OSx. I downloaded the After Effects CC 2014 app and it installed it onto my deskto

  • Opening New Tabs in 3.6.8

    I just updated to Firefox 3.6.8 In 3.6.4, when I opened a new tab by clicking on a link, the tab would open to the far right of the tab bar. Now it opens a new tab directly to the tab I currently have open. Is there an option where I can change this