Dual Browser opening when executing Runtim

Hi All,
Please find the code where i am opening a brower from java. The problem is that i am getting two browsers opened. Can you please give any reasons for this? This code has to be implemented in a Java Swing Application. I am just trying it from a test program.
class A {
public static void main(String[] s) {
     try{
          Runtime r = Runtime.getRuntime();
          Process p = r.exec("rundll32 url.dll,FileProtocolHandler http://www.google.com");
     }catch (IOException ex){
          ex.printStackTrace();
}

This program is just to test to check if the code
workd properly. You can run the code from command
prompt. I havent integrated this will the Swing
Application.Does that mean that you get two browsers when you invoke that example code? In that case you have an configuration error on your machine. (Or you are starting the example code twice). There's no problem with the code you posted.
/Kaj

Similar Messages

  • I have Google as my default home page in Firefox and the Google browser opens when I start Firefox, but every time I open a new tab it opens the Yahoo browser.

    I have Google as my default home page in Firefox and the Google browser opens when I start Firefox, but every time I open a new tab it opens the Yahoo browser.

    Do you have the FastStart extension?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • A second web browser opens when I initially open firefox.

    a second web browser opens when I initially open firefox. This also happens in Aurora.

    I am not sure what it is that you are seeing. Is it possible that Firefox is opening two windows?
    If you have two Firefox windows open and close down Firefox, and have your preferences set to open as it was previously then it will open two windows.
    You mention Firefox and Aurora. Do you have both of these installed on the same computer ? If so it would be a good idea to use separate unique profiles for each.
    See also
    * [[how to set the home page]]
    * [[profiles]]
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Why doesn't the browser open when I click on a link?

    I have Mozilla, Internet Explorer and Safari & none of them open when I click on a link to a website thru the "mail" account? Why? I even open the browser ahead of time and they do not go to the site. And it doesn't matter what link I have, NO LINKS Activate These Browsers. Is there something that is deactivated? Plmk and thanks!

    In the General section of Safari's preferences, select the web browser you want to use to open the links. If this setting has been changed to no application or one which can't handle web links, such as Calculator, the link won't open when you click on it.
    (14106)

  • I have Google as my default home page in Firefox and the Google proser opens when I start Firefox, but every time I open a new tab it opens the Yahoo browser.

    I have Google as my default home page in Firefox and the Google browser opens when I start Firefox, but every time I open a new tab it opens the Yahoo browser.

    Do you have the FastStart extension?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Runtime error when executing F4 help on 0FISPER or 0FISCYEAR

    Hi experts,
    I got a problem on F4 help.
    When executing F4 help on 0FISPER or 0FISCYEAR using tcode LISTCUBE,
    abap dump occurs. The problem also exists when run query in BEx analyzer.
    My BW version is NW2004s. And SAPKW70012 has been implemented.
    Thanks very much for any advices.
    <b>The error message when run in BEx analyzer:</b>
    System error in program SAPLRRS2 and form EXTRA_FIELDS_SET-01- (see long
    text)
        Message no. BRAIN299
    Diagnosis
        This internal error is an intended termination resulting from a program
        state that is not permitted.
    Procedure
        Analyze the situation and inform SAP.
        If the termination occurred when you executed a query or Web template,
        or during interaction in the planning modeler, and if you can reproduce
        this termination, record a trace (transaction RSTT).
        For more information about recording a trace, see the documentation for
        the trace tool environment as well as SAP Note 899572.
    <b>And the ABAP dump log:</b>
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_RSR_PROPAGATE_X
    Date and Time          2007.04.28 15:08:47
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_RSR_PROPAGATE_X' was raised, but it was not caught anywhere
    along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RS_BASE====================CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_RSR_PROPAGATE_X', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    No text available for this exception
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SY_NO_HANDLER", which was raised in the program
    "CL_RSMD_RS_BUILD_QUERY========CP",
    specifically in line 1 of the (include) program
    "CL_RSMD_RS_BUILD_QUERY========CM00Y".
    The cause of the exception was:
    An exception with the type CX_RS_SQL_ERROR_SILENT occurred, but was neither
    handled locally, nor declared in a RAISING clause
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_RS_SQL_ERROR_SILENT", which was raised in the program
    "CL_RSDRS_SQL_QUERY============CP",
    specifically in line 288 of the (include) program
    "CL_RSDRS_SQL_QUERY============CM00J".
    The cause of the exception was:
    No text available for this exception
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SQL_EXCEPTION", which was raised in the program
    "CL_SQL_STATEMENT==============CP",
    specifically in line 32 of the (include) program
    "CL_SQL_STATEMENT==============CM004".
    The cause of the exception was:
    Invalid object name 'T009C'.
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_RSR_PROPAGATE_X"
    "CL_RS_BASE====================CP" or "CL_RS_BASE====================CM005"
    "X_PROPAGATE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "sapdev2"
    Network address...... "192.168.1.74"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "SAPDEV2"
    Database type..... "MSSQL"
    Database name..... "BW1"
    Database user ID.. "bw1"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Sep 1 2006 00:19:17"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "SQL_Server_8.00 "
    Patch level. 75
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16192
    EM...... 14617568
    Heap.... 0
    Page.... 163840
    MM Used. 4553264
    MM Free. 663776
    User and Transaction
    Client.............. 100
    User................ "HANDLCR"
    Language key........ 1
    Transaction......... "LISTCUBE "
    Program............. "CL_RS_BASE====================CP"
    Screen.............. "SAPMSHLP 0600"
    Screen line......... 7
    Information on where terminated
    Termination occurred in the ABAP program "CL_RS_BASE====================CP" -
    in "X_PROPAGATE".
    The main program was "GP9QWV49ZUMYUSW6JLZIZ85P81N ".
    In the source code you have the termination point in line 12
    of the (Include) program "CL_RS_BASE====================CM005".
    Source Code Extract
    Line
    SourceCde
    1
    METHOD X_PROPAGATE .
    2
    3
    DATA: l_r_x TYPE REF TO cx_rs_no_check.
    4
    5
    TRY.
    6
    l_r_x ?= i_r_root.
    7
    CATCH cx_root.
    8
    CLEAR l_r_x.
    9
    ENDTRY.
    10
    11
    IF l_r_x IS INITIAL.
    >>>>>
    RAISE EXCEPTION TYPE cx_rsr_propagate_x
    13
    EXPORTING
    14
    previous = i_r_root.
    15
    ELSE.
    16
    RAISE EXCEPTION l_r_x.
    17
    ENDIF.
    18
    19
    ENDMETHOD.

    I got reply from SAP. The problem can be solved by running program RSDG_XPRA_IOBJ_TO_NW05. Note 939484 describes this.
    Note 939484 - Input help for tech characteristic and time characteristics
    Summary
    Symptom
    You upgraded to SAP NetWeaver 2004s. An open SQL error occurs when you execute input help for a technical characteristic, a time characteristic or a unit.
    The 'SAPSQL_INVALID_FIELDNAME' short dump in the 'CL_RSDM_READ_MASTER_DATA' class indicates that these characteristics have not been maintained. This error may also occur when you activate InfoProviders, for example.
    The error MAY occur for the following InfoObjects:
    0CALMONTH
    0CALMONTH2
    0CALQUART1
    0CALQUARTER
    0CALWEEK
    0CALYEAR
    0CURRENCY
    0FISCPER
    0FISCPER3
    0FISCVARNT
    0FISCYEAR
    0LOGSYS
    0SOURSYSTEM
    0UNIT
    0WEEKDAY1
    0RATE_TYPE
    0DATE
    0LANGU
    Other terms
    Input help, F4, 0CALMONTH, 0CALMONTH2, 0CALQUART1, 0CALQUARTER, 0CALWEEK, 0CALYEAR, 0CURRENCY, 0FISCPER, 0FISCPER3, 0FISCVARNT, 0FISCYEAR, 0LOGSYS, 0SOURSYSTEM, 0UNIT, 0WEEKDAY1, 0RATE_TYPE, 0DATE, 0LANGU, RSDG_XPRA_IOBJ_TO_NW05
    Reason and Prerequisites
    The problem can have the following causes:
    The characteristic does not have any master data, although you did define a master data read class.
    There is no generated master data table for the characteristic (for example, 0CURRENCY) and you have not defined a corresponding master data read class in the meta data.
    Solution
    Technical characteristics and time characteristics were delivered again for SAP NetWeaver 2004s with new properties. The first time you call the data warehousing workbench, the system activates the technical content. If the (time) characteristic already exists in the active version, the system does not copy it from the technical content again.  For SAP NetWeaver 2004s, however, the following conditions must be fulfilled:
    The characteristic has the property "With master data", which ensures that the master data read class functions correctly.
    If the active version of the characteristic does not have any master data, copy the characteristic from the content again. Make any necessary adjustments. Ensure that the "With master data" property is set.
    The characteristic does not have a generated table, rather it has its own table, delivered by SAP (for example, unit 0CURRENCY -> table TCURC). The definition of the characteristic must include a relevant master data read class (for example, unit 0CURRENCY -> class CL_RSMD_RS_0CURRENCY).
    The RSDG_XPRA_IOBJ_TO_NW05 XPRA defines a master data read class automatically. This XPRA is executed when you upgrade. It may, however, occur, that the XPRA is not executed successfully. If this happens, you can execute the XPRA again manually.
    Start Transaction SE38.
    Enter the name RSDG_XPRA_IOBJ_TO_NW05 in the 'Program' field.
    Choose 'Execute' to execute the program.

  • PDF's in Acrobat Reader X will not open when using the browser, Internet explorer opertes all ok? Mozella 4 is the default browser! Windows XP Home ed with all latest updates!

    When using the Mozella Firefox 4 browser and the NEW version Adobe Reader X, PDF's online will not ever open. After 1-3 minuites, I eventually get a message the Adobe reader is running, but need to close and try again! I get same results when trying again.
    Internet Explorer operates and opens the online PDF's all ok and the Adobe Reader X seems to operate all else ok!
    I think, but not sure, that this issue appeared when the Adobe Reader updated from the older version 9 or so to the NEW Adobe Reader X version about 1 or 2 weeks ago, but not sure. I just remember that Mozella always worked ok previously to the Adobe Reader X version for opening online PDF's last month, etc.
    Note that I said that Internet Explorer browser operates ok Using the New automatically upgraded Adobe Reader X for viewing PDF"S! (adobe notified me that the new version 10 (X) was available for updating, etc) I also just discovered that google chrome browser opens the online PDF's ok!
    I have not trying re-storing the computer to the previous month, etc, since the issue seems to be with Mozella not liking the Adobe Reader X version and Internet Explored browser operating ok!
    Any ideas????

    I had the same problem and my solution was to disable the PDF extension that came with Firefox 4 which belongs to another company. I found out that it wast interfering with ReaderX. I unabled it and restarted Firefox. I have had no problems since then. Go to Tools, Add-On and click on Extensions and disable the PDF extension. I hope this helps

  • Runtime error when executing ME2B/ME3B if condition recs 160

    Dear all,
    I have created a vendor rebate agreement and entered condition records for a vendor/material combination.
    Since for this vendor there are 170 materials for which he provides rebate I have created 170 condition records.
    When I am trying to change or display the rebate agreement by executing transaction codes ME2B and ME3B respectively the following run time error occurs (Runtime error when executing transaction codes ME2B/ME3B for condition recrds >160):
    Runtime Errors: DBIF_RSQL_INVALID_RSQL
    Except. CX_SY_OPEN_SQL_DB
    The error is in function module SELECT_TEXT at line 120 "select * from stxh client specified into table stxh_buffer".
    When I debug or test/execute the function module SELECT_TEXT, I find that there are no relevant entries in table STXH for the vendor rebate agreements.
    Please note that if the condition records of the rebate agreement are 160 and less then there is no problem.
    I would appreciate if I could have your expert oppinion on what is causing this runtime error and if it is possible on how to resolve it.
    Thanks in advance.
    Regards,
    Mimis
    Edited by: Mimis1973 on Jan 26, 2011 11:18 AM
    Edited by: Mimis1973 on Jan 26, 2011 11:20 AM
    Edited by: Mimis1973 on Jan 26, 2011 11:23 AM

    There's something similar in OSS note 1002788. Is it relevant to your system?

  • My app tabs fail to open when i reopen the browser. why?

    After installing 4.0 yesterday I started experimenting with new features, including the app tabs. I closed some of the app tabs, though not all, and then as an experiment closed & reopened the browser.
    Your specs say that:
    All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again.
    This did happen for me. Neither the app tabs I had open when I closed the browser nor the ones I had closed were saved. It seems that maybe this feature is not behaving as expected? There appears to be no persistence with the app tabs.

    Your System Details List shows the NoSquint extension, so you can check the zoom settings in that extension.

  • Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0

    Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0
    Cannot access in browser PDF files unless blank box is closed and then website address is clicked on again in browser address bar and page reloaded.
    Uninstalled Acrobat 9, reinstalled, still same problem.
    Help please!

    Yes I can it only happens in the browser..
    I reinstalled Windows on my machine and started over a couple of weeks ago.
    When my desktop started up I didn’t have Acrobat installed and clicked on a pdf file and the open with xxx dialogue box came open.
    I chose a different program as Acrobat wasn’t installed yet so it associated pdf files with another program.
    Later Installed Acrobat and couldn’t associate the pdf file with acrobat so I went into Folder Options and manually associated PDF files with Acrobat.
    Ever since then I get the error when something is downloaded and opened in the browser.
    Works fine everywhere else and when I cancel the blank error, highlight the web address and press enter to reload it works 90% of the time.
    Not sure what to do..

  • I have Java set up as a plug in but cann't get into yahoo games. Where is the firefox button when I have the browser open? Only button I see gives me close, resize,

    I have java installed and properly working as a plug in. Why can I not get into Yahoo games and play Card Games? Where is the firefox button when I have the browser open? Only button that looks like anything for firefox allows me to restore, move, size, minimize, maximize, and close. That button is top left hand corner location.

    I recently purchased a second hand new macbook air, although it was second hand to me the previous owner had never actually turned it on.
    Something doesn't make sense here, though I'm not saying the previous owner is lying....
    Time to send your serial # to iTS and let them see what's happening here.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • A mysterious audio file opens when I open my browser. How do I find and delete it?

    A mysterious audio file opens when I open my browser. How do I find and delete it?

    The other possibility is that someone with access to your machine (children?, co-worker?) set up all of your browsers to have that audio file set up as a default "home page". This is probably more likely than malware. I just tried with Safari, and it's definitely possible. Check out your Safari preferences and see what it shows as your homepage.

  • Missing options of "Enter Private Browsing" "Open new tab" and "Open new window" when right click (right context menu) firefox icon on taskbar

    Missing options of "Enter Private Browsing" "Open new tab" and "Open new window" when right click (right context menu) firefox icon on taskbar.
    i already tired complete uninstall and reinstall, but the options are still missing.
    print scr: http://www.freeimagehosting.net/9znkp
    Thank You in advance for help. Best regards

    Hello,
    ''jstavene wrote:''
    can find nothing under the tools menu for private browsing?
    Then it's not the same issue.
    If Firefox is set to '''Never remember history''', then you're in “permanent private browsing” mode, in which case the menu item ''Stop Private Browsing'' will be grayed out. Perhaps that's the case, and you don't find the menu item easy to see?
    * [[Settings for privacy, browsing history and do-not-track]]
    If that's not the case, then menu items can be hidden using the userChrome.css file. Check if it exists, and if it's there, rename it, then restart Firefox.
    * http://kb.mozillazine.org/UserChrome.css
    In Firefox Nightly (what will become Firefox 20), per-window private browsing has been added, so the menu item under the Tools menu is gone. It's been replaced by New Private Window under the File menu. I don't suppose it's very likely that you're using such a cutting-edge test version of Firefox though.
    If that doesn't solve the problem, since it's a different issue, it would be best if you would ask a new question.
    * https://support.mozilla.org/questions/new

  • Portal runtime error when execute a model deployed

    Hy, i have this problem: when execute my model on the portal i receive this error:
    Portal Error run-time
    Error request processing for :
    iView : N/A
    Component : N/A
    Component com.myComp.myProduct.29H.Analisi_agenti_2.AAD29H : JSP file name missing. Please check you profile..
    Exception id: 10:54_29/01/08_0009_3388450
    See the details for the exception ID in the log file
    Thank's a lot.
    Sincerely yours
    Andrea Maraviglia

    Hi Andrea,
    Please check your portal runtime server is running or not. (Management Console)
    I have experienced the same error , when our portal runtime server was stopped. I just restarted it. and problem solved.
    Let me know if you have further problem.
    Thanks,
    Prashant
    (Do reward points for helpful answer)

  • Email automatically opens when browsing inbox. How do I reset email to only open when I click on a  particular message?

    My email automatically opens when browsing inbox mail. How do I reset eail so it only opens when I click on that particular message? Thanks

    ''locking as a dupe of https://support.mozilla.org/en-US/questions/1015428''

Maybe you are looking for