Execution of an application

For example, if I've created an application(spreadsheet) in java.. I want to execute it only by just double clicking an icon.. I don't want to go to command prompt and execute it.. So, how to create an icon for that application and it should execute by double clicking it.. No command prompt.. Can anyone reply me..

[Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] can not only install and launch an application, but also arrange for desktop integration in the form of a desk-top icon and/or menu item. JWS offers a lot of other neat features to an application as well:
- Configurable splash screen
- Automatic updates..

Similar Messages

  • Does un-checking "Allow Debuging" in VI properties- execution improves overall application performance?

    Does un-checking "Allow Debuging" in VI properties->execution improves overall application performance?

    > Does un-checking "Allow Debuging" in VI properties->execution improves
    > overall application performance?
    Yes, though it is hard to predict by how much. When debugging is
    enabled, after each node on the diagram there will be a small amount of
    compiled code to test if the VI has a probe, a breakpoint, execution
    hiliting, or the pause button is pressed. The code is quite small,
    about two or three instructions, but if you have twenty nodes in a loop
    and the nodes are doing simple math, these instructions could be 25%
    overhead. For more complex nodes or datatypes, these instructions turn
    into a fraction of a percent.
    Turn it off and measure. If you have other performance problems, read
    the documentation on the profiler and use it to help you find yo
    ur
    bottlenecks.
    Greg McKaskle

  • De-allocate memory after execution of main application

    Hi All,
    My application (Exe) takes 5MB on system RAM when it is just launched (will be in idle loop). It executes test cases that are available in an Excel file, upon a button press, and goes into idle after completing the execution. During test execution it collects lot of data from instruments and processes it. Everything looks fine till now.
    The problem is, after the execution it holds around 250 MB of RAM because of the data handled during the test. So I am trying to figureout a way to deallocate all unused memory related to the application.
    Note: I know about "Request Deallocation" LabVIEW primitive. To make use of it I have to place it on all subVIs to deallocate memory at the end of execution. Even then memory allocated in my main statemachine will remain allocated.
    I need to deallocate those memory and bring it to the state of '5MB initial condition' as mentioned above.
    Please share your ideas.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com

    LV attempts to help out by managing your memory in your behalf. As already noted above, allocating is something that should be avoided so LV will allocate and keep memory. It will not give it up until all chances of reusing that memory are gone i.e. when the app exits.
    You could implement you "test" as a VI that is dynamically called executed and then closed. When the dynamic VI is clsoed its resources will be released and the memory freed up.
    But that is a last ditch approach that I call on only when I can't "do it right". By doing it "right" I am refering to constructing your code such that it re-uses memory buffers by working in-place with all large data strucutres. DVR's can help you "work inplace" as well as Action Engines.
    If you are intersted in reading more about performance issue in LV I suggest you look over the threads linked in this Tag Cloud where I have collected links for a lot of very good threads discussing performance. If you give those thread a good study and take the time to understand the issues you will be well on your way to becoming a LV Performance master.
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to increase the execution of an application ??

    Hi,
    i want to increase the time of execution of my Java Application, because it's VERY VERY long ! Just for display a window it tooks 2 minutes !! I have create an executable of my java application with InstallAnyWhere.
    Please Help, or my boss will kill me !!
    Thanks in advance
    Steve

    What happens when you write a simple little test frame application like the one below. Does that take 2 minutes to display iteself. If not, then you must be doing some other initialization that is taking so much time.
    import javax.swing.*;
    public class test extends JFrame
    public test()
    super( "Test" );
    setSize( 200, 200 );
    setVisible( true );
    public static void main( String args[] )
    new test();

  • BW Report execution from BSP application

    Hi,
    I am developing a web interface using BSP. One of the application in that is exposing BW reports in web through BSP. Using "How-To NetWeaver '04", I constructed the URL in the format -
    http://<BW Server>:<Web AS port>/sapbw/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=<Template>
    This URL gives me the output and I am able to call this from my BSP application.
    But while executing this report, I am getting popup to enter user id and password. In actual scenario, user will be logging in using one of the BSP application in R3and from there there will be a link to get this report. All my other application are in R/3 (like sales order / R3 reports) and only this report is from BW. What I did is I created a BSP application in BW and provided the report link there and I called this BW BSP application from R3 BSP application. In SICF for BSP application, I have provided my user id and password.
    Everything works fine except for the popup box. This popup appears even if I try to execute directly in BW server. BSP Webpage in BW is appearing with out any issues(so my SICF for BSP is working fine) and once I click the link to my report, the popup is coming. Kindly suggest how to suppress it.
    Note:  I posted this in Portal Development also
    Thanks,
    Krish

    I solved this by creating an Alias and also by changing the SICF for Mime object under BW. 
    Thanks,
    Krish

  • How to populate the field after execution of the application

    Hello gurus,
    I am creating one application and need your help. on my webdynpro screen I have few fields, out of these user will enter some and one field I want to populate when user hit enters. My application is to create a sales order, user will enter the details and hit create button that will create the sales order. Now what I want is when the sales order is created on the same screen the sales order number should also be displayed in the field : VBELN. Can you please tell me how can I get this.
    Thank
    Rajeev

    Hi Rajeev, if I understand you want show in a field that was created the VBELN after execute BAPI, well I assume that this field is binding with context document->Att_VBELN. You can use the code below.
        DATA lo_nd_document TYPE REF TO if_wd_context_node.
        DATA lo_el_document TYPE REF TO if_wd_context_element.
        DATA ls_document TYPE wd_this->element_document.
        DATA lv_att_vbeln TYPE wd_this->element_document-att_vbeln.
        lo_nd_document = wd_context->get_child_node( name = wd_this->wdctx_document ).
        lo_el_document = lo_nd_document->get_element( ).
        IF lo_el_document IS INITIAL.
        ENDIF.
       lv_att_vbeln = <<RETURNED VBELN FROM BAPI>>.
        lo_el_document->set_attribute(
          name =  `ATT_VBELN`
          value = lv_att_vbeln ).
    Regards,
    Edson Thomaz

  • Problem execution in silverlight application

    Hi,
    I develop a module to delete a production order which is composed of a number of product (entry in the stock).
    for that I have to delete the products that constitute the production order (delete entry and save as output) and record movement in the stock table => (in this case I have to recalculate the amount in stock qteStock = qteStock-qteEntree)
    when I have a different product removal work properly. The problem arises when I have the same product that is several times the production order, the amount will be wrong in the stock.
    foreach (var item in Entrees)
    MonContext ctx = MonContext();
    Sortie sortie = new Sortie();
    sortie.IDArticle = item.IDArticle;
    sortie.DateSortie = System.DateTime.Now;
    sortie.QteUnitePrimaire = item.QteUnitePrimaire;
    //add in table sortie
    ctx.Sorties.Add(sortie);
    ctx.SubmitChanges();
    //add in table stock
    Stock stock = new Stock();
    stock.idEntreeSortie = sortie.IDSortie;
    stock.DateEntreeSortie = DateTime.Now;
    stock.IsSortie = true;
    stock.IsEntree = false;
    stock.IDArticle =item.IDArticle;
    stock.qteStock= ctx.GetQuantiteInStock(item.IDArticle) - sortie.QteUnitePrimaire ;
    ctx.Stocks.Add(stock);
    ctx.SubmitChanges();
    to recover the amount in stock in service class
    public double? GetQuantiteInStock(int idArticle)
    double? qteEntree = this.ObjectContext.Entree.Where(p => p.IDArticle == idArticle).Select(e => e.QteUnitePrimaire).Sum();
    double? qteSortie = this.ObjectContext.Sortie.Where(p => p.IDArticle == idArticle).Select(e => e.QteUnitePrimaire).Sum();
    return qteEntree-qteSortie;
    So my problem is that when I execute my program and when I delete a production order
    which contains ArticleID 40 2 times with the amount in the first entry is 3 and the second entry is 5 knowing that the initial amount in the stock is 20. I would have after the suppression of the production order when deleting the first input (qteStock
    = 17) and after striking out the second input (qteStock = 15) then it must be recalculated part of 17 so it must be 12
    according to my analysis to the execution I see that the program does not perform the operation requested for each item separately (ie it performs the addition output, calculating the qteStock and records in the Stock table before the first item go to the
    second ..)
    But it performs the addition in the output table for all then continues execution item
    it is mainly a sequencing problem
    I tried to use a BackgroundWorker to block the execution but without success, still the same problem (it skips the steps)
    someone can propose ideas to get around this

    The explanation lost me, I'm afraid.
    I'm not sure that matters though.
    You have to delete a couple of entries then get a total.
    The call to
    ObjectContext.SaveChanges();
    Is on your web server and presumably called by some asynchronous web service ( because this is Silverlight ).
    Even if it isn't Silverlight make it work this way anyhow.
    Get the result back with a callback you provide when you make that call.
    When you get that you can be confident the records are gone.
    Then make your calculation call.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Exception on execution of Web Application Template

    Hi Guys,
    I have created a web application template containing a analysis and a chart. when i execute this template i get following exception
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: System error in program CL_RSMD_RS and form IF_RSMD_RS~_READ_META_DATA-02 (see long text)
    Please tell me where is the error and how to solve that.
    Thanks in advance !

    I ran into same error; on an infoset query.
    As per OSS - Its a program error and neeed to apply note.
    Note 1055583 - Termination in RSEC_GET_AUTH_FOR_USER.
    Problem resolved after applying the note.
    Gopi
    Message was edited by:
            Gopikrishna eriki
    Message was edited by:
            Gopikrishna eriki

  • Help regarding Tomcat - execution of my application

    Hi All,
    I have developed an Online Banking system. But its giving an error when I am trying to execute it.
    Package name is 'com'.
    I have placed the code in the following manner.
    Apache Tomcat 4.0->webapps->com->WEB-INF->java->com
    1st com folder is tha main folder, this com has folder html, jsp and WEB-INF.
    html folder has .html files, jsp folder has .jsp files.
    WEB-INF has 1 folder java and web.xml file.
    java folder has a folder com, this com has .class files and in the java folders there are .java files.
    When I try to execute a functonality AddCustomer its giving an error :
    'error in compiling AddCustomer.jsp , package com does not exist'
    Please help in this regard. What might be the reason for error.
    Thanks,
    Saher

    Apache Tomcat 4.0->webapps->com->WEB-INF->java->comLooks like you have 'java' directory under WEB-INF and you have kept you classes in 'java' directory.
    You must place your classes in WEB-INF/classes directory. If you have a class LoginHelper in package com.onlinebank then the structure will look like:
    Apache Tomcat 4.0->webapps->com->WEB-INF->classes->com->onlinebank->LoginHelper.
    Though 'com' is a valid root directory name of any web application, but I suggest you give an appropriate name of your online banking web application.
    Thanks,
    Mrityunjoy

  • Multiple executions of an application?

    I've built an application using LabVIEW 8.20 proessional.  One of my users has complained that he can't open it multiple times, as you can with say Internet Explorer.  It's a utility app - there shouldn't be any issues with running multiple instances (or if there are any then I should be able to find ways around them).  This ability would be really useful.
    Is it possible to build an app in such a way that you can click its shortcut a second or third time and open another instance of it?
    Thanks
    -Sean.

    Try adding the line AllowMultipleInstances=True in your app's INI file under the [exe name] section (create it if it does not exist). It worked in previous versions and I assume it still should.
    Try to take over the world!

  • Execution priority for application

    The executable of my application doesn't reflect the priority I set in VI Properties (Win XP). Is there an .ini setting I can make to have the exe run at background priority (lowest)?

    You may want to take a look at this. Setting the priority within the options of LabVIEW will not affect its priority within XP. LabVIEW is given priority when it starts running on XP. You can programmatically call an XP DLL and make it give you higher priority. This KnowledgeBase on NI's website describes how to do that.
    J.R. Allen

  • Query execution is faster - as SYS user vs. application user in 11.1.07

    In +11.1.0.7+ database, we have noticed execution of an application process as SYS user is faster than the application user. To quantify this execution time was 2 hours as application user and same process when executed as SYS user completed in 1 hour.
    We ran tracing for this process and tkprof output showed follwoing:
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS:
    _call          count      cpu       elapsed disk query current rows_
    Execute 3705586 2440.49 *4294.54* 293602 21835223 23300886 3801288 <<< ==== SYS
    Execute 3703285 6356.69 *8576.50* 303175 21785419 23378086 3801291 <<< ==== Application user
    We have SR open with Oracle, but thought if some one knows about this issue would be great.
    Edited by: dhyani on Aug 17, 2010 3:16 PM

    What about the "Predicate Information" section of the execution plans - were those exactly the same? Did you use AUTOTRACE, EXPLAIN PLAN FOR, or the method that I showed to retrieve the execution plans? Where the SQL_ID and CHILD_NUMBERS displayed exactly the same? Is the STATISTIC_LEVEL set to TYPICAL for both sessions? You can check the setting in SQL*Plus like this:
    SQL> SHOW PARAMETER STATISTICS_LEVEL
    NAME                                 TYPE        VALUE
    statistics_level                     string      typicalAs a demonstration, I will change the value at the session level and then change the setting back:
    SQL> ALTER SESSION SET STATISTICS_LEVEL='ALL';
    SQL> SHOW PARAMETER STATISTICS_LEVEL
    NAME                                 TYPE        VALUE
    statistics_level                     string      ALL
    SQL> ALTER SESSION SET STATISTICS_LEVEL='TYPICAL';If the above does not show a difference, you will need to capture a 10046 trace at either level 8 or level 12 for both sessions and compare the wait events and the STAT lines in the 10046 trace to see where the additional time is being spent. Reference these two blog articles for the 10046 trace:
    http://hoopercharles.wordpress.com/2009/12/01/10046-extended-sql-trace-interpretation/
    http://hoopercharles.wordpress.com/2010/01/26/10046-extended-sql-trace-interpretation-2/
    Keep in mind that the goal is to not change anything until we understand the problem better. Maybe, just maybe, someone created a table (or view) or two in the SYS schema (or used a table/view name that matched a SYS owned object), in a normal user's schema, or there are synonyms pointing to different tables. So, it probably would be a good idea to verify that the results are exactly the same when the SYS user executes the SQL statement and a normal user executes the SQL statement.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Using Flex 2 for dynamic creation of a Flex 2 application at runtime

    We're looking to replace our existing end-user development
    environment and believe Flex 2 may be able to satisfy our
    requirements. However, without spending a month trialing the
    product I thought some existing user(s) could suggest (based on
    personal experience) whether we'd be straining Flex 2 in expecting
    it to be able to provide dynamic runtine generation and execution
    of an application based on the meta-data associated with each
    component. The generation of each component includes automatic form
    and code generation, with end-user tailoring facilities to maintain
    the meta-data (tabs, fields (visibility, location, business rules,
    actions, validation etc.), display format, drill-down, work-flow
    etc.), for use in the next instantiation of each conponent.

    I know of at least one of our customers (not sure if I can
    say which) is doing this. They use Flex to compose MXML files and
    then send that to a server. The server than compiles that into a
    SWF.
    So it is possible, just a lot of work.

  • Using getRuntime().exec() with Serlvet to run applications in Solaris

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    Process process; Runtime runtime = Runtime.getRuntime();
    String com= "sh /opt/home/acrobat/";
    String program = request.getParameter("program");
    try
    process = runtime.exec(com);
    catch (Exception e)
    out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    Hi!
    I'm no expert, but I think I remember doing something similar a few months ago, and I think the problem was that the UNIX server does not know which shell to use. The solution was this:
    Create a script that starts the program on the server, and be sure to include a first row saying:
    #!/bin/ksh
    to specify which shell to use (in this case Korn shell). Then call the script from Runtime.getRuntime().exec()

  • How to execute an application in Solaris using Runtime.getRuntime.exec() ?

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
              Process process;                                                       Runtime runtime = Runtime.getRuntime();
              String com= "sh /opt/home/acrobat/";
              String program = request.getParameter("program");
              try
                        process = runtime.exec(com);
              catch (Exception e)
                   out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    it is possible that you are trying to run a program that is going to display a window on an X server, but you have not specified a display. You specifiy a display by setting the DISPLAY environment variable eg.
    setenv DISPLAY 10.0.0.1:0
    To check that runtime.exec is working you should try to run a program that does not reqire access to an X Server. Try something like
    cmd = "sh -c 'ls -l > ~/testlist.lst'";
    alternatively try this
    cmd = "sh -c 'export DISPLAY=127.0.0.1:0;xterm '"
    you will also need to permit access to the X server using the xhost + command

Maybe you are looking for

  • Error in Function Module

    Hi, I have a FM in 4.6 with the same code but on syntax check it doesnt give any error, but if i create the same in ECC 6.0 i'm gettinga an error staing tht "A target area must be declared either explicitly with an INTO clause or implicitly with a TA

  • Mac keeps restarting after being asleep

    Safe mode tried and fine,reinstall and back up completed and yet still getting a restart after screen saver has been activated. I have been onto Apple who are none the wiser after repair disk etc, still no luck! Please help!?

  • Preview Release of WebLogic Portal 9 and Workshop 9

    I would like to get my hands on a developer preview release of WebLogic Portal 9 and Workshop 9. I can't seem to find it online so I'm hoping someone can point me in the right direction. We're currently evaluating portal products and I would hate to

  • Active tab stopped highlighting

    The active tab in my Firefox Window used to have a highlight. I changed some other appearance color features and the active tab highlight has dissappeared. I don't know how to get it back. And working without it is very difficult.

  • I can't see song in hebrew :(

    i can't see song in hebrew