Hot Search: request cannot be completed right now how to configure uwl with mdm ichat Adobe Reader version peoplesoft 8.52 helena ramada inns itunes download for ipod ora-30625
Home >Default > How can we lauch browser from my application?

How can we lauch browser from my application?

-0001-11-30 | Default
Advertisement
hello all,
i tried
Runtime.getRuntime().exec("cmd /c start http://www.sun.com");
to launch my default browser (IE) on NT4 system,
but nothing happened...
when i tried Runtime.getRuntime().exec("iexplore.exe")
i got
java.io.IOException: CreateProcess: iexplore.exe error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Compiled Code)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Runtime.java:152)
at Launch.main(Launch.java:6)
i tried Runtime.getRuntime().exec("start http://www.sun.com") eventhough it is meant for win95..
thanks in advance...
Regards
Sojan

Latest answer

Advertisement
hi,
when i tried as
Runtime.getRuntime().exec("start http://www.yahoo.com");
[ i heard that this is for win95 ]
i got the following exception.. i'm using WinNT-4 and IE5.0 ,
java.io.IOException: CreateProcess: start http://www.yahoo.com error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:64)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:272)
at java.lang.Runtime.exec(Runtime.java:195)
at java.lang.Runtime.exec(Runtime.java:152)
at LaunchBrowser.main(LaunchBrowser.java:6)
can anyone suggest a method which works on NT?

Related recommended

How can we lauch browser from my application?

hello all, i tried Runtime.getRuntime().exec("cmd /c start http://www.sun.com"); to launch my default browser (IE) on NT4 system, but nothing happened... when i tried Runtime.getRuntime().exec("iexplore.exe") i got java.io.IOException: [More]

-0001-11-30 Default

How do i  open browser in java application

hi.... please help me!!!!!!!!!!!!!!!!!!!!!!!!!! how do i open browser in java application ? ( for show javascript in java application) thank you.......You can run any program from java by doing Runtime.getRuntime().exec("mybrowser myjavascriptfile.js [More]

2015-10-11 Default

Support for Blackberry Browser to access applications?

Has anyone heard whether Oracle will begin to support Blackberry Browsers (i.e. 3G) for their web browser to access applications like I-expense or i-procurement?Hi, Please refer to the following documents. Note: 458549.1 - Will iProcurement Work On A [More]

-0001-11-30 Default

Recommended browser for ADF applications

Hi, We would like to know what is the recommended browser for ADF applications. ThanksMoving beyond the certified set of browsers (and contrary to dvohra21's post there are certified browsers and versions per JDev/ADF release), if you're looking to d [More]

-0001-11-30 Default

Javaws can't lauch the corrected jnlp application

(1)My jre,jdk version is 1506,javaws can't lauch the corrected jnlp application,and run javaws will popup a little window(java lauch),but after a few seconds it will auto exit,can't lauch the javaws view window,, (2)I run javacpl.exe and go to delete [More]

-0001-11-30 Default

Lauch IE browser from Java Application

Hi, I am interested in launching an IE window from a Java application. Is there a way to accomplish this? Thanks.Again, any other way that allows me to start a java application and IE browser on WINDOWS2000 would be helpful too.Read other 2 answers [More]

-0001-11-30 Default

Issue with MozillaFirefox browser and Flash application

Hi all,              I am new to Flash and ActionScript 3.0.              I have created a new flash application and executed it(.swf file has obtained). But, now I need to display the contents of .swf file(i.e., output of my application) in a browse [More]

2015-10-11 Default

If Firefox is set as the default browser, and any application attempts to open a new window, this fails and I get the error "Firefox is already running..."

Here is what I am running: Microsoft Windows 7, Service Pack 1, Fully updated to 4/10/2012 Fresh Install of Firefox 11. No add-ons enabled as a result of troubleshooting. I am a user with administrator rights UAS is disabled. To begin, this has been [More]

2015-10-11 Default

Closing the IE browser thro' Java application

Hi, I have a requirement wherein I have to close the applications launched like (Internet exploer window) thro my java application. Can anyone help me on this? I tried using Runtime class Process.destroy( ) method. But still not able to find the exac [More]

2015-10-11 Default

How to invoke a browser from an Application button  with a specified URL

Hi I am trying to invoke a browser by clicking a button on my Application .I want the browser to come up with the URL I decide before i click on the button. To invoke the browser i am using the Runtime class. and then using the Runtime.exec() method [More]

2015-10-11 Default

Click Ranking

  • CRM-MAS 4.0 SR1 required software updates lead to system crash !?

    (long post, sorry !) Hello I'd like to know how MAS 4.0 behave when the software required for its installation are updated : over the past few months my computer has acted more and more strangely, and in the end I couldn't even log into Windows. The

  • Tables for Vendor Totals

    Hi What are the tables for Vendor Totals. Regards RupalVendors it is LFC1. or Please use for vendor balances:- S_AC0_52000888 Regards, vendor use table BSAK , BSIKRead other 3 answers

  • Ipad does not appear as device on macbook

    Can't see my ipad as a device on my macbook. Managed to synch properly when Ipad was new. Just installed snow lepoard mac beeps when USB is connected but never shows up in ItunesMaribeth- You might try running iTunes, selecting the iTunes Store and s

  • Prefix namespace OSB, SOAP response

    Hi! I'm doing a web service in OSB 11g. An application is parsing the SOAP response after calling my WS, and they are expecting that my SOAP response have hardcode prefixes. My SOAP response is like this: <env:Envelope xmlns:env="http://schemas.xm

  • Reports6i:hiding frame outlines in report output

    i'am a newbie . stuck up in creating the reports. after i compile, in the report output ,i;am still able to see the frame outlines and repeating frame outlines,text oulines.data is fetched correctly. pls suggest me wht to do, to avoid this thx pls he

  • My podcast has disappeared! Why?

    Our podcast is Knights of the Night Actual Play Podcast (http://itunes.apple.com/us/podcast/knights-night-actual-play/id391060534#). For 50 episodes, all has been well. Now, on the 51st episode, our podcast does not appear on any iTunes searches or l

  • Add two columns

    hi there, Can anybody guide me adding two numeric columns using any operators ( not transformation operator), and sending the result to one column in OWB? regards roopaThe Expression operator can handle this for you. Just use the 2 numeric fields as

  • After Effects Won't Render Using H.264

    OK, I am trying to use H.264 codec but I keep getting an error and I can't figure out why.  I select (Composition > Add to Render Que), then I select "Output Module > Custom and select "Lossless" and select H.264 and then get the mess

  • Main in the nìmiddle attacks

    Hi, I have a question about the 802.1x and EAP architecture. My question is relative to the mutual authentication. Some EAP-Type support mutual authentication between a client and the server, but I read also that this mutual authentication eliminates

  • Problem opening pages

    I am attempting to create a simple log in form using JSP at the moment and i can't seem to get it to work properly. Can anyone see where i am going wrong? Every time i click on the login button nothing happens. thanks for any help <%@ page language =