http://imagej.273.s1.nabble.com/Bug-openURL-on-MS-Windows-with-default-browser-IE-tp3699891p3699900.html
yahoo account then applets DO NOT work. If I have a blank page as my
destroying this ability. If I erase cookies so Yahoo does not know who I
am then I can use this as my home page and applets still work.
up for any other applets.
Strange.
> Hi Jon,
>
> Whether your applet works in IE7 should be completely independent of
> whether ImageJ's browser launcher logic can properly spawn an IE7
> instance at a given URL. Those are two separate functions. Sure, the
> rundll32 command will spawn an IE7 instance, but that doesn't depend
> on having a Java virtual machine accessible from your IE7.
>
> However, I tried visiting some of the Java demo applets using IE7 on XP:
>
http://java.sun.com/applets/jdk/1.4/index.html> and they all work fine on my installation. Do you see the same error
> when you try to run these? Or is it just for ImageJ?
>
> -Curtis
>
> On 2/15/07, Jon Harman <
[hidden email]> wrote:
>> Hi,
>>
>> Very curious. I had given up on getting IE7 to run my ImageJ applet.
>> Whenever I attempted it (starting from the shortcut on the desktop) I
>> got a java error ("The Java runtime environment cannot be loaded").
>> When I saw the posts yesterday I gave the rundll32 command a try, and it
>> works! Does anyone know what the difference is? I want my applet to be
>> accessible to IE7 users and want to be able to tell them how to fix any
>> problems.
>>
>> Thanks for any help,
>> Jon
>>
>> Curtis Rueden wrote:
>> > Hi Jeremy,
>> >
>> > On Windows XP with IE7, I could not duplicate the problem. It also
>> > works fine with Firefox. In addition, Microsoft's solution requires
>> > Microsoft-specific classes (com.ms.*) available only to Visual J++
>> > (not Sun's JVM). So Microsoft's official solution is proprietary (big
>> > surprise). So I would suggest ImageJ stick with the rundll32 solution.
>> >
>> > -Curtis
>> >
>> > On 2/14/07, Jeremy Winston <
[hidden email]> wrote:
>> >> Jeremy Winston wrote:
>> >> > Hi Folks,
>> >> > It seems that the approach taken by the openURL method
>> >> > of BrowserLauncher for MS Windows to open the default web
>> >> > browser to a URL ending in .htm or .html when the default
>> >> > browser is IE is deprecated (per MS).
>> >>
>> >> Hrmmm. Even though MS says it's deprecated, the problem
>> >> doesn't appear to exist with XP running IE7, nor, strangely,
>> >> with NT4 running IE 6.
>> >>
>> >> Could folks running a different combination of MS OS and
>> >> IE versions, check to see if running
>> >>
>> >> rundll32 url.dll,FileProtocolHandler
>> >>
http://rsb.info.nih.gov/ij/notes.html>> >>
>> >> at the command line (or Run box) generates an error, and
>> >> report back their findings?
>> >>
>> >> TIA,
>> >> -Jeremy
>> >>
>> >
>>
>