Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Google Earth Integration in 64-bit SWT application
Google Earth Integration in 64-bit SWT application [message #1081065] Tue, 06 August 2013 19:14 Go to next message
René Winkler is currently offline René WinklerFriend
Messages: 1
Registered: August 2013
Junior Member
Hello there,

Unfortunately I have not managed to integrate Google Earth in a 64-bit SWT application (Windows 7/Internet Explorer 8/ Java 7). As soon as I start the application, every time I get the message that the Google Earth plugin could not be loaded and that I should re-install it. Of course, I've already tried this, but without success.

Meanwhile, I have rebuilt the application on a 32-bit environment. Here the Google Earth plugin is detected and loaded successfully.

Is there a way to run the Google Earth Plugin in 64-bit SWT? How can this be done? Or is this basically only possible in a 32-bit environment? Thank you for your help.

private void initalizeBrowser() {
		try {
			browser = new Browser(shell, SWT.NONE);
			browser.setVisible(true);
		} catch (SWTError e) {
			showErrMsgBox("Could not instantiate Browser: " + e.getMessage());
			display.dispose();
		}
		if (browser != null)
			setSite(); // googleEarth.html is loaded
	}
Re: Google Earth Integration in 64-bit SWT application [message #1082610 is a reply to message #1081065] Thu, 08 August 2013 20:35 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
See if it works for you in stand-alone 64-bit IE. I suspect it won't,
in which case it also definitely won't work in a 64-bit Browser widget
that's embedding the 64-bit IE renderer.

Grant


On 8/6/2013 3:43 PM, René Winkler wrote:
> Hello there,
>
> Unfortunately I have not managed to integrate Google Earth in a 64-bit
> SWT application (Windows 7/Internet Explorer 8/ Java 7). As soon as I
> start the application, every time I get the message that the Google
> Earth plugin could not be loaded and that I should re-install it. Of
> course, I've already tried this, but without success.
>
> Meanwhile, I have rebuilt the application on a 32-bit environment. Here
> the Google Earth plugin is detected and loaded successfully.
>
> Is there a way to run the Google Earth Plugin in 64-bit SWT? How can
> this be done? Or is this basically only possible in a 32-bit
> environment? Thank you for your help.
>
>
> private void initalizeBrowser() {
> try {
> browser = new Browser(shell, SWT.NONE);
> browser.setVisible(true);
> } catch (SWTError e) {
> showErrMsgBox("Could not instantiate Browser: " +
> e.getMessage());
> display.dispose();
> }
> if (browser != null)
> setSite(); // googleEarth.html is loaded
> }
>
Re: Google Earth Integration in 64-bit SWT application [message #1085072 is a reply to message #1082610] Mon, 12 August 2013 12:15 Go to previous messageGo to next message
Chris Aen is currently offline Chris AenFriend
Messages: 1
Registered: August 2013
Junior Member
Hi,

but is there any workaround to run the 32-bit IE from 64-bit SWT?
I know I can use a 32-bit JVM and 32-bit SWT but that's not an option.

Some other plugins like Adobe Reader are also not running in IE 64-bit.

Regards,
Chris
Re: Google Earth Integration in 64-bit SWT application [message #1091537 is a reply to message #1085072] Wed, 21 August 2013 16:33 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
No there isn't, IE's renderer is embedded in-process, so if we're using
64-bit pointers then it needs to be as well.

Grant


On 8/12/2013 9:13 AM, Chris Aen wrote:
> Hi,
>
> but is there any workaround to run the 32-bit IE from 64-bit SWT?
> I know I can use a 32-bit JVM and 32-bit SWT but that's not an option.
>
> Some other plugins like Adobe Reader are also not running in IE 64-bit.
>
> Regards,
> Chris
>
Previous Topic:Displaying message text with StyledText widget
Next Topic:Draw SWT widget on SWT canvas
Goto Forum:
  


Current Time: Fri Apr 26 10:59:42 GMT 2024

Powered by FUDForum. Page generated in 0.02587 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top