JNLP can't create shortcut on Mac os x

Hallo
Im trying to deploy my application via java web start. The app itself works on windows, ubuntu and mac os x. The shortcuts are created on windows and ubuntu but not on mac os x. I did set the settings to always allow shortcut creation.
Here is my JNLP file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp version="0.0.1" codebase="http://www.testprogram.com/test/" href="testprogram.jnlp">
<information>
<title>Test Program</title>
<vendor>Test</vendor>
<homepage href="http://www.testprogram.com"/>
<description>Test Program</description>
     <icon href="icon.png"/>
     <shortcut online="true">
          <desktop/>
     </shortcut>
</information>
<update check="always" policy="always"/>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.sun.javafx.runtime.main.Main">
<argument>MainJavaFXScript=testprogram.Main_run</argument>
</application-desc>
<resources>
<j2se version="1.6+"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
<jar href="testprogram.jar" main="true"/>
<jar href="lib/AbsoluteLayout.jar"/>
<jar href="lib/javacsv.jar"/>
<jar href="lib/jcalendar-1.3.3.jar"/>
<jar href="lib/swing-layout-1.0.3.jar"/>
</resources>
</jnlp>
Can someone please assist me on why mac os arent creating the shortcuts?
Regards
Matthew Kelly

JM.Kelly wrote:
Solution found:
..After this everything worked 100%Note that there were errors in the original JNLP shown, that are probably still there. If a JNLP file is invalid it is anybody's guess as to how it will be parsed by a JWS client. To validate JNLP files as well as perform many other checks on the resources, point JaNeLA *(<- link)* at the main JNLP file.
I am not saying that validation of the JNLP file will make shortcuts work on Mac. Do the Macs. run Java 1.6.0_18+? If so, shortcuts can be installed using methods that return success/failure, through the IntegrationService *(<- link).*

Similar Messages

  • Cannot create shortcut on Mac

    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Test.jnlp">
    <information>
    <title>PriceBook</title>
    <vendor>XXXXXXX</vendor>
    <description>XXXXXXXX</description>
         <icon href="XXXXXXX" kind="shortcut" />
    <offline-allowed/>
    <shortcut online="false" install="true">
    <desktop/>
    <menu submenu="PriceBook"/>
    </shortcut>
    </information>
    <resources>
    <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
    </resources>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="PriceBook.jar" size="107185" download="eager" />
    <jar href="lib/commons-codec-1.1.jar" size="21500" download="eager" />
    <jar href="lib/commons-lang-2.1.jar" size="220682" download="eager" />
    <jar href="lib/hsqldb.jar" size="1411234" download="eager" />
    <jar href="lib/jasypt-1.6.jar" size="144374" download="eager" />
    </resources>
    <security>
    <all-permissions/>
    </security>
    <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="NSTPriceBook" >
    <param name="requiredFXVersion" value="2.2+"/>
    </applet-desc>
    <jfx:javafx-desc width="800" height="600" main-class="XXXXXXXXXX" name="PriceBook" />
    <update check="background"/>
    </jnlp>
    This app works for some systems as below:
    Windows 7 - works OK and creates shortcut
    Linux (OpenSuse 11.4 and 12.3) - works OK, shortcut usually created (seems a bit flakey)
    Mac OS: cannot create shortcut
    Mac OS version: 10.8.3
    java Version 7 update 17 (build 1.7.0_17-b02)
    Java Console -> View Temporary Internet Files -> Install Shortcuts for the Selected Applications -> "Unable to Create Shortcut for PriceBook"
    The jars have been signed with a self-signed cert, which of course I accepted on install, and it is possible to re-launch the app from Java Console.
    Is there a solution for this ?

    JM.Kelly wrote:
    Solution found:
    ..After this everything worked 100%Note that there were errors in the original JNLP shown, that are probably still there. If a JNLP file is invalid it is anybody's guess as to how it will be parsed by a JWS client. To validate JNLP files as well as perform many other checks on the resources, point JaNeLA *(<- link)* at the main JNLP file.
    I am not saying that validation of the JNLP file will make shortcuts work on Mac. Do the Macs. run Java 1.6.0_18+? If so, shortcuts can be installed using methods that return success/failure, through the IntegrationService *(<- link).*

  • I can't create a projector Mac and Win exe in Flash CC (?!?)

    Hello,
    I use Flash Professionnal CC and I would like to create a projector file or/and an Win exe with my animation...
    But I do not see anywhere the ability to create these files in "Publish Settings" (no Mac or Windows box to check as in CS5). I read in using Flash CC that such files were not supported (??). How can I do?
    This is urgent thank you.

    I'm sorry, I did not see an answer to my problem in the comments on your site. I read that you worked on the extension so that the projector works as well as for mac / pc is independent of the platform used.
    I use a mac (icore i7 OS10.7.5) and I answer as flash cc when I export to Win:
    "Error Win Projector Could not be created!.
    Mac Projector - Animation succes.app created successfully! "
    I'm in trouble ... : (

  • How can I create shortcut to ipod service

    I am unable to fix the problem of "windows recognizes ipod, itunes does not" I have tried ALL the fixs that Apple has posted and I still have to restart my ipod service everytime I want to sync my ipod.
    Does anyone know how I can make a shortcut to my "ipod service" so I can restart it more quickly than right clicking my computer and all the rest?
    Even better but not likely. I wish this problem never started and that Apple would fix it.
    But the shortcut will ease the pain.
    Thanks in advance

    Create a batch file (save a notepad document with a .bat extention) and add these lines to it:
    net stop "iPod Service"
    net start "iPod Service"
    Double clicking this batch file will restart your iPod Service

  • How can I create subfolders in Mac Mail for an Exchange account?

    I use Mac Mail on OS X 10.8.4 to download my Exchange mail, which is hosted on Office 365.
    I can create folders inside existing subfolders in my Inbox, but if I try to create one as a first-level subfolder of the Inbox the option does not exist. Instead, it creates another top level folder and puts it at the bottom of the folder list, not inside the Inbox.
    Can anyone tell me how to add a normal subfolder to my Inbox?

    Exchange Basics
    The Inbox syncs more frequently than any other and should be kept as clean as possible. (this is the number one cause of problems with sync). Do NOT make subfolders under the Inbox.
    Exchange checks the server for updates every minute, any folder that has updates will subsequently be synced. Since Exhange has a limit on how many folders can be synced at a time, there can be a queue of folders waiting. The Inbox does get high priority so it will generally sync before other folders that also need to sync.
    Keep your folders under the 2GB limit. That's approx 6-10K messages per folder (does not include subfolders) Outlook does not export folders over 2GB as .mbox files
    Exchange  Header
    Inbox
      Folder A  <---this is wrong
    Drafts
    Deleted Items folder
    Junk
    Folder A  <-- this is correct
    It's best to move folders using your web interface (OWA) but you can drag in Outlook and/or Mail.
    In Browser via OWA
    Because of the massive changes the process is best done in your browser. I would also put Mail into work offline mode during this process. After all is moved on the server via the browser, I would delete the Exchange account and let it all download correctly from the server.

  • Web start for Java 7 (update 8) on MacOS Lion can't create shortcut

    We have a Webstart working fine on Java 6, lately one of our user updated to Java 7, and the shortcut of this Web Start can not be successfully installed. with this exception:
         Match: Running JREInfo Version match: 1.7.0.08.ea == 1.7.0.08.ea
         Match: Running JVM args match: have:<-Xmx256m -Xms128m> satisfy want:<-Xmx256m -Xms128m>
    java.io.FileNotFoundException: /Users/ryantan/Library/Application Support/Oracle/Java/Deployment/cache/6.0/4/61fa8384-5f843c43.icns (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:138)
         at java.io.FileInputStream.<init>(FileInputStream.java:97)
         at com.sun.javaws.MacOSXShortcutUtil.copy(Unknown Source)
         at com.sun.javaws.MacOSXShortcutUtil.createBundle(Unknown Source)
         at com.sun.javaws.MacOSXLocalInstallHandler.createBundle(Unknown Source)
         at com.sun.javaws.MacOSXLocalInstallHandler.createShortcuts(Unknown Source)
         at com.sun.javaws.LocalInstallHandler.installShortcuts(Unknown Source)
         at com.sun.javaws.LocalInstallHandler.performIntegration(Unknown Source)
         at com.sun.javaws.LocalInstallHandler.install(Unknown Source)
         at com.sun.javaws.Launcher.notifyLocalInstallHandler(Unknown Source)
         at com.sun.javaws.Launcher.prepareResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main.access$000(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    =========================
    in the JNLP file we have these lines declare a shortcut on desktop, and it works exactly for Java 6 on same machine:
    <shortcut online="true">
    <desktop/>
    <menu submenu="XXXXX">
    </shortcut>
    so I was wondering if any one have encountered same issue like this? please give me some hint about how to work around with this, Thanks in advance.
    Ryan Tan

    Ryan
    Which icon do you use? If it's a .png icon, then it's a known bug (id - 7189893) and this bug will be fixed soon.
    As a workaround, you can export the icon to different format (supported formats - gif jpeg jpg icns) to see if it helps.
    Dmitry

  • HT4798 How can I create/ set multiple Mac IDs if the same Macbook is required to be used by Multiple users?

    Can Anyone let me know if have to alllow multiple users with their own apple ids for the same macbook pro, how do I need to go about it?

    data.
    At least your query seems to get data where MODIFIED_BY IS NULL, doesn't it?
    So if the reccount is>0 there is a reason to inform your employees.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • How can I see which and how many iCloud accounts have been created on my Mac?

    I have reached the limit of iCloud accounts that can be created on my Mac (bit of a shock, I was blissfully unaware that there is a limit). In the past I had an iCloud account for each user but have since consolidated the users, now I am wondering if there is some way of seeing which accounts are attached to my Mac ID.
    Additionally if I delete some of those iCloud accounts, does the available limit reset? (From posts it seems not, but no real clarity on the issue).
    Thanx

    AFAIK this information is not available, but in any case there is nothing you can do once the limit has been reached. Of course you can check which accounts are signed in, but not accounts which may have been created but signed out from. Deleting accounts won't reset the limit, it's tied to the hardware (not the user account).
    If you want another account the only way is to create it on another device: then you can sign into it on your Mac.

  • How to create shortcut on iPad

    How do you create a shortcut on the ipad

    You can only create shortcuts within Safari - tap the icon of the box with the arrow coming out of it the left of the address field and select 'Add To Home Screen'

  • OSX Tiger - can I create a backup CD?

    Hi,
    I bought my Intel Core 2 Duo MBP in January and have got some issues partitioning for bootcamp. I have tried to clone my HD to an external drive but because it's in NTFS it won't let me - therefore I decided to just backup my data and applications and do a reformat. However, I cannot find the little box with my system CDs in, can I create them in Mac OSX somehow or do I have to buy replacements?

    You will have to obtain replacements by calling AppleCare.

  • How can I create a keyboard shortcut to export to pdf in Pages for Mac

    Can anyone explain how to create a keyboard shortcut that works in pages?

    Reluctant as I am to contradict Viking OS X, yes it is possible.
    This is for Yosemite, it is slightly different in other versions of OS X.
    Menu > Apple > System Preferences > Keyboard > Shortcuts > App Shortcuts > + > Applications > Pages > Menu Title: PDF… > Keyboard Shortcut > hold down whatever combination you want > Add
    As Viking says this won't choose Good, Better, Best but at least it gets you to that point. Unfortunately it always defaults to Good.
    NB that PDF… has to be typed with ALL CAPS and the ellipsis is option ; or copy from here. It has to be literally what is in the menu.
    You could make a more intelligent keyboard shortcut with 3rd party Apps like Spark [free] or QuicKeys or iKey or Shortcuts for Mac or Keyboard Maestro.
    Peter

  • I used to be able to refresh a page by hitting the F5 key. That does not seem to work anymore. Is there a keyboard shortcut for refresh, or can I create one?

    I used to be able to refresh a page by hitting the F5 key. With 4.0.1, that does not seem to work. Is there a different keyboard shortcut, or can I create one?

    Click the Refresh button on the right hand side of the location bar container on the Navigation Toolbar or press "Ctrl + R" or F5 to reload a web page.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    It is a hard one.. laptops with small drives are a pain.
    What you need is a home media server.
    Some people use a PC running itunes for cost.. but that is nothing like as good as using a Mac mini.. they make great little HTPC device.. you can plug in large hard disks and store all your files and media. And share it with the network.. Read up apple's instructions on home sharing.
    https://www.apple.com/au/support/homesharing/
    For cost you can buy a mini from 2011 or 2012.. I would not recommend earlier ones.. the advantage of 2012 is they have USB3 ports. But you will pay more for them.. new mini is not as useful.. they have soldered in memory and you cannot upgrade.. the old mini was the most easily modified mac in the whole range. Uses little power and can be bought for a $300US for a good one second hand.. maybe less.

  • Can i create mcx for shut down properly mac when battery is less 5 %

    Hi hello
    Can i create mcx for shut down properly mac when battery is less 5 % ?
    Thanks for your reply

    You can create a mailing list by using the "Groups" feature of Address Book. Simply select "New Group" from the File menu. Name the group, and drag the contacts you need into the group.
    In Mail, open up Preferences (under the Mail menu), and click on "Composing". Then make sure that "When sending to a group, show all member addresses" is unchecked.
    The auto reply is a feature that is better done on your mail server, as you Mac can only send an auto reply when it is on, with the Mail application open. If you use dot Mac, you can set up a vacation responder through the web, and you can leave your computer switched off.
    If you really want to leave your Mac on when you are on holiday, you can set up a mail rule (Preferences, Rules).

  • How can i transfer a iphoto book created on one mac to another mac.

    how can i transfer an iphoto book created on one mac to another mac. i am aware of pdf saving but it doesn't help! need to see the iphoto book on other mac.
    and how can i view in slide-show double pages instead of single pages?
    anybody has an idea?

    Stephan:
    If you want to be able to view the book with iPhoto on the other Mac you'll have to copy the library containing the book to the other Mac. You won't be able to import that book into the other library.
    Make a duplicate copy of the library containing the book and rename the folder "Book Library". Open it with iPhoto and delete all of the files that are not in the book. Then copy the Book Library folder to the other Mac and open. You can also burn the Book Library folder to a CD as a way to archive the book in case you decide to order another copy at a later date. I create a separate library for each book I create and order and archive it to CD when I've ordered.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Maybe you are looking for