Opening desktop app from internet application

Hello,
I have build an desktop application using swing package. It should be called by an internet application(jsp page). I am placing the desktop appliation(jar file) in a client machine. If the application is not in client machine then it should tell can not find the requested application. Please let me know how i can do this.
Anand

USE JAVA WEBSTART, i.e. use Java Network Launching Protocol (JNLP).

Similar Messages

  • How to launch an Air desktop app from a second Air desktop app?

    Hi,
    Is there a way to launch an Air desktop app from a second Air desktop app?
    I'm using Air 4 with Flash CS 6 on Windows.
    Thanks

    According to Adobe documentation, AIR doesn't allow you to launch one application using another on desktop. The best bet that I could find at the moment would be to use the File.openWithDefaultAppilcation() function and open a file(like a .doc or .txt file) that has an AIR app set as the default application to use for X filetype. Unfortunately, launching app(.exe, .app, etc) files directly is not allowed. Probably for safety/security reasons. You might be able to get around that with a Native Extension though. Below is a link to the File.openWithDefaultApplication() method which includes a table of all the filetypes not allowed. Tried messing around with some ways around it, but the best I could do was open a new Finder window(testing on a Mac) and highlight the file. The code below assumes that both AIR apps are installed in the same app directory. Not sure how it would work on Windows but the result might be the same. For Mac, no special characters or anything was needed even though the app I was trying to open had spaces in the filename.
    var filePath:String = "file://" + File.applicationDirectory.nativePath + "/App to highlight.app";
    navigateToURL(new URLRequest(filePath));
    File - Adobe ActionScript® 3 (AS3 ) API Reference

  • Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory

    Dear Experts,
    Please note that I am facing a chllenge while confiuguring the VNCServer on the local test Server. The Local Test Sver OS Version is Redhat Enterprise Linux Server 
    Release 5.5 32-bit. Please review the following error message and advise me on how to fix the vncserver issue.
    [root@test .vnc]#  cat xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    gnome-session &
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    [root@test .vnc]#  cat /etc/sysconfig/vncservers
    # The VNCSERVERS variable is a list of display:user pairs.
    # Uncomment the lines below to start a VNC server on display :2
    # as my 'myusername' (adjust this to your own).  You will also
    # need to set a VNC password; run 'man vncpasswd' to see how
    # to do that.
    # DO NOT RUN THIS SERVICE if your local area network is
    # untrusted!  For a secure way of using VNC, see
    # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
    # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
    # Use "-nohttpd" to prevent web-based VNC clients connecting.
    # Use "-localhost" to prevent remote VNC clients connecting except when
    # doing so through a secure tunnel.  See the "-via" option in the
    # `man vncviewer' manual page.
    # VNCSERVERS="2:myusername"
    # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
    VNCSERVERS="1:oracle"
    [root@test .vnc]# ls
    passwd test.oracle.co.zm:1.pid  test.oracle.co.zm:3.log  test.oracle.co.zm:5.pid  test.oracle.co.zm:6.pid
    test.oracle.co.zm:1.log test.oracle.co.zm:2.log  test.oracle.co.zm:5.log  test.oracle.co.zm:6.log  xstartup
    [root@test .vnc]# more test.oracle.co.zm:1.log
    Xvnc Free Edition 4.1.2
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 70101000, The X.Org Foundation
    Tue Mar 11 11:18:37 2014
    vncext:      VNC extension running!
    vncext:      Listening for VNC connections on port 5901
    vncext:      Listening for HTTP connections on port 5801
    vncext:      created VNC server for screen 0
    Could not init font path element unix/:7100, removing from list!
    localuser:root being added to access control list
    No profile for user 'root' found
    SESSION_MANAGER=local/test.oracle.co.zm:/tmp/.ICE-unix/13603
    Window manager warning: Log level 32: could not find XKB extension.
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (nm-applet:13697): WARNING **: No connections defined
    Initializing nautilus-open-terminal extension
    Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-impress.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-calc.desktop for panel launcher: No such file or directory
    [root@test .vnc]#
    Regards
    Mohammed Abdul Muqeet

    Hi,
    Try these 3 solutions
    1. Did you start vncserver services as:
    service vncserver start
    2.Check that port 5901 has not been blocked by a firewall:
    # nc -vz localhost 5901
    You should get a connection and a termination. If you get an error, fix the firewall.
    3. service iptables stop
    Hope This Helps
    Regards,
    -DK

  • Opening an app from an url + parameters

    Is there a way to open an app from an url with parameters and read those parameters?

    Now, i am using Flash pro to create my app, once packed it's tricky to mess up with the contents, is there a file i can edit, before rendering the app? for example is this something i can add in an xml file that is created in my app folder?
    It starts with this:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <application xmlns="http://ns.adobe.com/air/application/3.4">
        <id>appID</id>
        <versionNumber>3.0</versionNumber>
        <filename>filename</filename>
        <description></description>

  • Can't open Desktop app. "There was an error with this action.  Try again later."  How do I solve this?

    I've been trying to open "Desktop App" for a couple of days now.  I get the above error message.  "Later" obviously isn't going to work.  I've signed out of my account and signed back in, but that hasn't helped. 
    I can reach the App Mgr from PS, and I assume I could download a new program from the apps site.  But the Desktop app should work, so I'd appreciate suggestions on how to solve this.  Thanks.
    Gail

    Thanks for the prompt response.  Up till a week or so ago, the app worked
    fine, and I was able to do the latest updates. The chat option is always
    there, but it's a nuisance, so I'm hoping someone will have another
    suggestion.
    G
    On Thu, Sep 4, 2014 at 3:46 PM, John T Smith <[email protected]>

  • Open "project.app" from "project.osx"

    Hi everyone,
    I created a Director splash using Director MX2004 on WindowsXP. I published my project for Mac ("project.osx"). I also have a seperate project created in Flash CS4 that was published for Mac ("project.app"). Using buddyAPI, I cannot open "project.app" from a button used on "project.osx". Is this even possible to do? I cannot find any type of documentation on this issue...
    thank you in advance for your help.
    Rafael.

    Well.... I figured it out. I changed my delimiter to ":" for Mac (instead of "\"). Also, I was NOT telling it to open "project.app", I was telling it to open "project.osx".
    Rafa.

  • Why don't I see Lr CC (2015) in my Adobe Desktop App list of applications. I only see Lr 5.

    Why don't I see Lr CC (2015) in my Adobe Desktop App list of applications.
    I only see Lr5 and PsCC

    Hi Uri,
    What OS you are using?
    Lightroom CC won’t be shown in the Creative Cloud desktop application if your system doesn’t meet the minimum system requirements. It’s likely you are on a system with Mac OS 10.7 or earlier, or a 32-bit version of Windows 7 or 8. If you system meets the minimum requirements, try signing out and back into the Creative Cloud application and see if the Apps panel updates.
    Please let me know if this is not the case.
    Regards,
    Sumit Singh

  • Payed my bill, but everytime I try to open a app from creative cloud it says I need to renew my subscription. How do I get around this?

    Payed my bill, but everytime I try to open a app from creative cloud it says I need to renew my subscription. How do I get around this?

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Its possible to open an app from IOS on MAC?

    I have a med app on iphone that i want to open on mac to study. since it have small letters and a lot of stuff, it would be much easier if i open it on mac.
    So, its possible to open an app from IOS on MAC?

    No. The iPhone and Mac are totally different hardware architecture. Software compiled for one will not run on the other.
    Allan

  • Does Apple still use a checksum hash (or take other steps) to prevent Songbird media player desktop app from opening?

    Hello. I've downloaded and installed Songbird for Mac desktop three times. When I try to open the application its icon briefly appears in the dock, but after several seconds it crashes without opening. My MacPro meets and exceeds the listed software requirements. Any ideas why the app won't open? According to http://www.zdnet.com/blog/open-source/what-might-end-apples-open-source-pass/313 0, "For those unfamiliar with the story, Apple began "protecting" its iTunesDB file (necessary for syncing) with a checksum hash in September 2007. This kept people from using other music programs like Winamp and Songbird, alongside iPod files." That's ancient history now, and Apple does even allow the Songbird mobile app for iPhone. There is no Songbird app in the App Store though, and attempts to open the desktop app file downloaded from Songbird's site result in the problem described.
    Possibility: I have a large iTunes music library - 16K+ songs - would Songbird refuse to open due to potential stability issues with importing a library that size?
    Found a similar issue on the Songbird support boards here: https://getsatisfaction.com/songbird/...
    Based on that info I opened Terminal and entered
    /Applications/Songbird.app/Contents/MacOS/songbird -ProfileManager &
    This opened a small dialog box that allowed me to specify a default user (but would not allow the default user name to be re-named). I was then able to go through several windows and opt to have my iTunes library imported, to have several Songbird apps imported, and to not provide user details. The window then closed, and the Songbird icon again disappeared from the dock. Crash.
    Meanwhile, the Terminal app now displayed
    this.addToLibrary is null in SBPlaylistCommand_AddToLibrary ?!!
    I then entered the original command again, opened the default user box again, but then the default user dialog box closed and again the Songbird icon disappeared from the dock. Crash.
    Attempted to open Songbird from the Applications folder with the same result: the default user box appeared briefly, then closed and the Songbird icon disappeared from the dock. Crash.
    Any other ideas that might help this to open, or does Apple feel threatened and is therefore preventing users from accessing the app?

    In Theory wrote:
    Any other ideas that might help this to open, or does Apple feel threatened and is therefore preventing users from accessing the app?
    Songbird working exactly how it should here under Mountain Lion 10.8.2  Maybe try uninstalling as per manufacturer's instructions and reinstalling most recent version. I would be hesitant to muck around with a non responsive program as such with Terminal before exploring other Troubleshooting Paths such as other Third Party conflicts. Have you installed any anti-virus software? MacKeeper, Little Snitch or similar? Can you post a crash report. That may help further.But definately working as it should here.
    Cheers
    Pete

  • BB10 cant block apps from internet access in Application Permissions?

    I have a Q10. BB 10.1 OS.
    It appears I cant prevent third party apps from gaining access to the internet among other settings under the Securities/Application Permissions. This is in huge contrast to my 9700 where I can very specifically dictate what program has access to, whether that be Wifi, Data, Bluetooth etc.
    Is there another way to do this or is this OS not complete yet and these functions will be included back in future iterations? Or is my OS a dated version?
    This is problematic for me. Seems this problem presents as both a security issue in cases where the third party app has mal-intensions, as well as being a data leech should the program constantly utilize data unbeknownst to the user.
    Internet is just one thing. What about the camera, mic etc? How do we know ID thieves are not making BB10 disguised as something useful so they can data mine the users and send all of their personal information back to them via unfettered internet access, mic access, camera access, GPS location access (hence know home + work addresses) and then perform criminal activities using your data?
    Im shocked. I thought Blackberry is supposed to be better in the security department compared to Apple. THis is what I expected from Apple and Android. Or is this the new thing? All third party apps purposefully get internet access whether the user agrees or not?

    Great question. Unfortunately I don't have an answer, but can comment that these preloaded apps are using MB from my datapak that I paid money to have for MY personal use! Not theirs! I believe it's theft when they use what we pay for. Time to check legalities in my opinion.

  • Make Firefox open URLs passed from external applications in new tabs

    I upgraded Firefox (Mac) from 3.6.13 to 3.6.14 yesterday.
    Since then Firefox does not respond to URLs passed from external applications, as it has always done.
    The external apps pass the URL, FireFox is brought to the front, but no Tab (or new window) is opened.
    Nothing else has changed. Firefox is selected as my default browser (in Safari Prefs) and there is only one copy of FireFox on my laptop,

    Hi David
    Go to Safari Preferences>General. At the bottom you'll see an option for opening in a tab. Makes sure Tabs are enabled in your Tab panel.

  • Invoking Desktop Apps from a Browser

              I know it has been asked before, but can you invoke a known app on a desktop from
              within a web app? Can you change the security policy to enable the invocation
              of a specific desktop app?
              This would be an intranet app used to support the user's business needs.
              Thanks.
              

    First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
    The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps.  It's just a matter of proper creation of the brokered windows component for you to get going.
    My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
    http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Invoking Desktop Apps from Browser

    I know it has been asked before, but can you invoke a known app on a desktop from
    within a web app? Can you change the security policy to enable the invocation
    of a specific desktop app?
    Thanks.

    First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
    The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps.  It's just a matter of proper creation of the brokered windows component for you to get going.
    My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
    http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Invoking desktop app from Windows store App

    Hi,
    I have a Windows form desktop application developed using c#. I want to make use of the live tile feature available in WinRT apps (especially for Windows 10). The data in the live tile is to be fetched using WMI queries (Win32_LogicalDisk).
    How do I accomplish this? I don't want to rewrite the entire app. Live tiles should update on the background and on clicking the tile, my desktop app exe needs to be invoked. Is it possible to fetch WMI data and invoke exe from Windows Store apps?
    I tried using Brokered Windows Runtime components as given in http://blogs.msdn.com/b/dmx/archive/2014/04/30/how-to-trigger-a-desktop-process-from-windows-store-apps-the-easy-way-using-the-brand-new-visual-studio-templates.aspx . But could not get it to
    work as I get a 'TypeLoadException'.
    Thanks in advance.

    First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
    The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps.  It's just a matter of proper creation of the brokered windows component for you to get going.
    My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
    http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

Maybe you are looking for