Creating manual shortcuts

We have the good fortune of working in a locked down desktop
environment, so we will be distributing the shortcut and icon for
our Web Start application to all user machines on a scheduled
internal "Bus". My questions are, for those that have created or
pre-distributed shortcuts to their Web Start apps before:
1) Do you explicitly reference the javaws executable is in your
shortcut properties, as in:
%ProgramFiles%\Java\j2re1.4.2_05\javaws\javaws.exe URLor do you simply list the URL, and leave it up to your browser to
figure out what application to launch it with?
2) I was thinking of generating the contents of my JNLP file using a
Servlet. If I were to do that, does the URL that I use in my
shortcut have to end in .jnlp if I only reference a URL (and not the
javaws executable) in the shortcut?
Thanks,
Mike

The best way to use create the shortcut on windows is to point to the javaws.exe in the windows directory.
(on my XP this is in "C:\Windows\system32\javaws.exe") , or beter yet just use "javaws.exe" and let system find it in the path.
That way if the version of javaws is updated, it will still point to the newest one.
Secondly, if you just point to a jnlp file, the default browser may be launched, so it's beter to point the shortcut to "javaws http://www.mycompany.com/myapp.jnlp"
Third, using second form you could point to servlet or jsp with args:
"javaws.exe http://www.mycompany.com/myapp.jsp?session=none user=none"
/Dietz

Similar Messages

  • Creating a Shortcut on a Mac Desktop

    Hi everyone. I'm sure this has a very simple answer, but me being a newbie to using a
    Mac computer, I need some help.  I've set up a server for my home network with a
    Static IP of 192.168.2.10 .
    It was simple to create shortcuts for my computer and my sister's, because I've used
    Microsoft since it was DOS, and my sister's is Windows XP.  I simply created a shortcut
    and then typed in the network address, it being "\\192.168.2.10\Music" in Windows.
    But my mom has a Mac, and I need to create an alias (I think it's called) that would lead
    to the server from it.  I've searched all through the internet, and all I can find is something
    to the effect of this:
    1. Launch your Finder and look for the program that you want to create the alias for.
    2. Highlight this file and select "Make Alias".
    3. Drag the Alias to the desktop.
    My problem is that there is not an icon displayed that links to the server.
    Is there some kind of Properties box where I can manually enter the network path?

    Hi,
    First off, putting stuff (links/aliases, files, folders) on a Mac Desktop is not good practice, because it leads to some extra work on the CPU, since the Desktop is a folder like others, OS X will index all its content every time your Mom starts her Mac.
    This said, the best way to make an alias easy to use is to place it in the Dock via drag-n-drop, not on the Desktop. If placed in the Dock, your alias will always be within reach. All you have to do is locate the server folder you want to share in the Finder, and drag it to rightmost part of the Dock, where there are already some folders such as Applications, Documents, Downloads, etc...
    Alternately, you can also create a new Shared item in the left pane of your main Finder window. In the Finder preferences, you can also choose to show all connected servers on the Desktop, which can come in handy too.
    You may have to restart the Finder (or reboot the Mac, or just log out and back in) for the latter to take effect.
    Oh, I almost forgot: you can also copy and paste the folder in question in the Desktop folder (left pane in the Finder main window), and it'll appear on the Desktop itself.

  • Error: "Unable to create a shortcut for MyApp" on Windows 2008

    When I try to install my JAVA app on windows 2008 via Java Web Start, it pop up a error message "Unable to create a shortcut for MyApp". The app can startup and work correctly after clicking "ok" on error message. BUT, there is no shortcut created on Desktop or Start Menu.
    This problem occured on Windows 2008 ONLY. I have test the installation process on different OS with JRE 6u14 and 6u20:
    Windows XP PASS
    Windows 7 PASS
    Windows 2003 PASS
    Windows 2008 FAIL, can't create shortcut on Desktop and Start Menu
    And I have test the demos on http://pscode.org/jws/api.html, the problem is same.
    Does any one has any idea on this?

    AndrewThompson64 wrote:
    - Menu items do not work on Ubuntu Linux at all.
    - As a result of that, I am thinking to declare neither desktop shortcuts nor menu items in the JNLP file, but instead using the IntegrationService(1) to perform more specific tests, and offer the end user whatever is available.
    - This is probably a better strategy overall, because if you automatically create desk-top shortcuts (or menu items) for the user, you will discover there is always someone who considers them an unnecessary bother.
    1) BTW - I have been meaning to do a demo. of the IntegrationService and add it to the other examples at PSCode, but have not yet found the time. ;-)Thanks for reply.
    But I don't understand very clear. I'm focus on the windows platform not Linux. Do you suggest to create shortcuts and menu items manually by coding in Applet?
    I prefer to use the JNLP file cause it works good on the other OS than to change my code.
    What I want to know is:
    1. Is it a bug for JRE on Windows 2008?
    2. If NO, how can I make it work on Windows 2008? Do I need change some System Setting or Browser Setting?
    3. If YES, maybe I can try to change my code, but why there is no bug filed in the Bug Database?
    BTW, I use the IE browser.

  • Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and  yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Thanks for your advise.
    However, I missed to mention that we have two set of users  One is for Finished Goods and another for Spares.
    Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
    As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
    Further, I tried to test one scenario through Processing Constraints but it did not work.
    Application
    OM
    Validation Type
    Entity
    Temp
    Short Name
    TBL
    Validation Semantics
    Created By
    Equal To
    User(Myself)
    Processing Cosntraint
    Application
    OM
    Entity
    Order Header
    Constraint
    Operation
    User Action
    Create
    Not Allowed
    Conditions
    Group
    Scope
    Validation Entity
    Record Set
    Validation Template
    101
    Any
    Order Header
    Order
    Above Created
    Please advise.

  • Office 2013 - Creating desktop shortcuts using OCT

    I need to create desktop shortcuts using the Office Customization Tool. But how does one do this when they have both 32 and 64 bit machines in the environment? The "Start In" path below is obviously going to be different when dealing with
    32 and 64 bit OS machines (c:\program files vs c:\program files(x86))
    I'm following these directions but they look to be specific to a 64 bit machine: http://mystang69.blogspot.com/2013/08/office-customisation-tool-2013-adding.html

    https://technet.microsoft.com/en-us/library/cc179097.aspx?f=255&MSPPError=-2147217396#Configure_shortcuts
    Start in
    Enter a path to specify the default starting folder for the application. If you leave this box blank, the default folder is set to the folder where the destination file resides. If the path is not valid on a user's
    computer, the user sees an error message when the user tries to use the shortcut.
    Do you need to set a start in location?

  • Creating a shortcut of an application on the desktop

    Hi,
    I've just purchased an ibook G4 running on Mac OS X (10.4.8) from apple and wanted to know how can I create application shortcuts on my desktop? Since I'm familar with Windows and Unix, I'm finding a mac a bit of a mission!
    Any suggestions would be very much appreciated.
    Thank you in advance!
      Mac OS X (10.4.8)  

    Welcome to discussions apple freak,
    You can do what Gnarlodious suggested, and it will work perfectly fine, But you should try out the dock. At default it is located at bottom of the screen (though it can be moved to either side), you can put applications there, folders, and basically anything that it will let you drag onto it. You do not need to create a short cut, or alias (basically the same thing). To place something on your dock simply drag it's icon, and let it drop on the dock. You can also set the dock to hide when your mouse is not over it, and to magnify when you mouse is over it. This is also where documents that are minimized are stored until you open them again. You may already know all (or some) of this, but if you haven't yet tried working with the dock I suggest you try it.

  • How can I create a shortcut to launch an external application?

    Hello, I'm developing app in Swing where I want to create a shortcut for any external application, I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:
    Process p = Runtime.getRuntime().exec("\"" + jTextField2.getText() + "\"");
    Where jTextField takes the value from a JFileChooser value, doing the same for the icon, then I could do this for a button to assign the icon:
    ImageIcon img1 = new ImageIcon("C:\\image.png");
    jButton7.setSize(64, 64);
    jButton7.setIcon(img1);
    But I havent' found any way to make the button (or any kind of shortcut) to execute the program, I could go and create a method to do it on click or ActionPerformed, but the idea is to do all this when I finish the create the shortcut, I hope you can understand me, I'm kinda confused, so far, I can launch the app but I want to create a new button/shortcut everytime I need to add an external app, thanks in advanced!!!

    user3538005 wrote:
    Hello, I'm developing app in Swing where I want to create a shortcut for any external application,.. For what end purpose? If it is to show documents in the default consumer for that document type (e.g. a .doc might be MS Word), then look to the <tt>java.awt.Desktop</tt> class.
    ..I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:You do realize that is disgustingly Windows specific, right? What about users of Mac and *nix?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I create a shortcut to a tools menu option?

    I use the clone stamp and the brush tool regularly. Each of these tools provides a Mode: dropdown list to select from in their menu bar.
    The drop down options I use most frequently are Lighten and Darken. I would like to create short cuts to Lighten and Darken, such as Ctrl+Shift+L (Lighten) and Ctrl+Shift+D (Darken).
    The tools panel menu bar does not appear to have a selection list in the Keyboard Shortcuts dialog box.
    How do I create these shortcuts.
    Thank you in advance,
    Jim

    They are already there.  The same shortcuts that affect layer blend modes when other tools are selected, do exactly the same thing when the Brush; Clone, Healing Brush, Blur, Sharpen and Smudge tools are selected.  (I forgot the gradient tool)
    So with the Move tool or a Marquee selected
    Shift Alt + scrolls down through the selected blend modes
    Shift Alt - scrolls up through the selected blend modes
    Your can go directly to specific Blend modes with first letters
    Shift Alt n = Normal
    Shift Alt m = Multiply
    Shift Alt s = Screen
    Now select the brush, or one of the tools that have blend modes, and the same keys will do the same job for that tool's blend mode.

  • How to create a shortcut for all users in Win 7 and Win 8?

    Hi,
    I'll trying to make a script that will create a shortcut in every user profile account in a computer. I stumble upon the script below from
    http://gallery.technet.microsoft.com/scriptcenter/Create-shortcut-in-your-11cfd3de/view/Discussions#content.
    Option Explicit
    On Error Resume Next
    Dim objShell
    Dim objDesktop
    Dim  objLink
    Dim strAppPath
    Dim strWorkDir
    Dim strIconPath
    strWorkDir ="C:\Program Files\Microsoft Office\Office15"
    strAppPath = "C:\Program Files\Microsoft Office\Office15\ORGCHART.EXE"  'you have to use your URL to Interanet site or path to specific program
    'strIconPath = "\\server\Xyz.ico"     'specify the path to the icon please change to your valid path
    Set objShell = CreateObject("WScript.Shell")
    'objDesktop = objShell.SpecialFolders("Desktop")
    Set objLink = objShell.CreateShortcut("C:\Users\%userprofile%\Desktop\Org_chart_test.lnk") 'change here To your shortcut name
    objLink.Description = "this is a test" 'replaec with your description
    'objLink.IconLocation = strIconPath
    objLink.TargetPath = strAppPath
    objLink.WindowStyle = 3
    objLink.WorkingDirectory = strWorkDir
    objLink.Save
    I did some modifications to cater to my need. Now the question is, how can I make the script create a shortcut for every user profile from the script above?
    Any inputs would be greatly appreciated.
    Thanks!

    You could create the shortcut at one machine, then copy it to the target as part of the logon script. Note also that this line contains an error:
    "C:\Users\%userprofile%\Desktop\Org_chart_test.lnk"
    It should read:
    "%userprofile%\Desktop\Org_chart_test.lnk"

  • Is it possible to create a shortcut for current time / date with iPhone native apps?

    is it possible to create a shortcut to insert the current time / date in a text such as a Note with iPhone (IOS 6) native apps (not a 3rd. party app)?
    By "shortcut" I mean a combination of characters, the same as under settings/general/keyboards/shortcuts.
    thanks.

    Code that does it is here:
    http://forum.java.sun.com/thread.jsp?forum=48&thread=453846&tstart=0&trange=15
    MOD

  • Error while creating manual planned order in apo

    Dear expert
    While I am creating manual planned order i am getting error as message /sapapo/rrp251
    Every thing is correct BOM and PV's no error after consistency check and it getting succesfully transffered to APO and it is also visible in APO
    But while creating manual planned orders planned order are not getting generated  I am using BLock planning with PPDS
    Please help How to resolve it
    Regards
    Virender

    Hi
    The error message /SAPAPO/RRP251 - Error occurred while creating order means While creating an order, the system encountered problems, such as, for example, no available components or components that are available late, orders that could not be scheduled, and so on.
    I think system attempted to solve the availability problems by using alternative procurement options. This was not successful. The order could not be created. Check the exceptional situations in the planning protocol, under Goto -> Planning log, and deal with the causes of the exceptional situations if this is possible or necessary.
    Thanks
    Amol

  • Error while creating Manual Service PO in Extended Classic Scenario

    Hi Experts,
    Extended Classic scenario (SRM 7.0 with ECC 6.0)  While Creating Manual Service PO in SRM i am getting the below mentioned error messages. Can any one suggest what could be the problem.
    Error Msgs:
    1. Backend Error:In case of account assignment, please enter acc. assignment data for item
    2. Backend Error:Purchase order still contains faulty items
    Regards,
    Mohan

    Hi,
    Yes i given all CC and GL information properly in Purchase Order Document for Service.. Still finding the error for Service PO alone.
    Pl do the needful
    Regards,
    Mohan

  • I am trying to create a shortcut to add to my taskbar but it will not let me drag it there since it is pinned to firefox

    I like to have certain shortcuts on my task bar for easy access. I have created a shortcut for my email address and it is on the desktop but when I try to drag it to my task bar, it will not stay because the message says it is pinned to Firefox. Is there a way to move my address to the task bar?

    I have had some success! But not much . I restarted the adsl router and was assigned an ip address for my MBP and could connect to the internet through the new wireless network.  Yee-ha.  But when I try to add additional devices to that network they will not connect unless I restart the adsl router each time.  Also when I disconnect and try reconnect my MBP to the new wireless network we are back to square one unless I restart the router.  So it looks like it is a router issue.  I would be really grateful for any suggestions as to what I should change on the adsl router??  It is a TP-Link TDW8961ND.

  • Can't resize firefox so i can drag and drop to create a shortcut

    I can't make my Firefox page smaller so I can drag and drop a web site to create a shortcut. I am using windows 7. I have no grippe when i point in the lower right corner. When I use zoom the page itself re sizes but not the window. I just need to see a little of my desktop so I can create a shortcut.

    Could it be, you are in full-screen mode? Press F11 to check it: if you are indeed in the fulöl-screen mode, the FX window will resize and you should be able to grp the lower right corner for resizing.
    Let us know if it helped.

  • How to create a shortcut for desktop as with IE?

    I've switched my browser to "Firefox" from 'Internet Explorer and would like to know how to create a shortcut for my desktop.

    You can drag the favicon on the left end of the location bar onto the desktop to create a shortcut.
    You can also use an extension.
    * SaveLink: https://addons.mozilla.org/en-US/firefox/addon/savelink/
    * Deskcut: https://addons.mozilla.org/en-US/firefox/addon/deskcut/

Maybe you are looking for