facebook

Firefox as internal browser in linux [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #217854 Reply

    glurps
    Member

    i am trying to figure out how to use firefox 0.10 as internal browser.

    firefox 0.10 gtk
    eclipse 3.0.1
    myeclipse 030801
    linux (gentoo)
    sdk1.4.2_r5

    i have set

    location: /usr/bin/firefox
    parameters -remote “openurl(http://www.mozilla.org)”

    but i think those settings might be wrong as i get an error like this when i switch to browser view.

    !ENTRY org.eclipse.core.runtime 4 2 Oct 17, 2004 15:57:04.819
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
    !STACK 0
    java.lang.NullPointerException
            at com.genuitec.eclipse.browser.HTMLView.setFocus(Unknown Source)
            at org.eclipse.ui.internal.WorkbenchPage$2.run(WorkbenchPage.java:471)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:468)
            at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2722)
            at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2415)
            at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:304)
            at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
            at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:677)
            at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:660)
            at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:94)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.setSelection(DefaultPartPresentation.java:1408)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation$4.handleEvent(DefaultPartPresentation.java:166)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:963)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:833)
            at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3053)
            at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1917)
            at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)
    
    !ENTRY org.eclipse.ui 4 4 Oct 17, 2004 15:57:06.742
    !MESSAGE Unhandled event loop exception
    
    #217855 Reply

    glurps
    Member

    i have also noted that the html editor is missing the preview and visual designer views.

    will these taps appear when a browser is properly installed or am i missing something?

    #217857 Reply

    snpe
    Member

    You can’t use mozilla > 1.6 libraries for eclipse 3.0.x – firefox 0.10 is with mozilla 1.7
    You have to install gtk2 version firefox or mozilla with libraries 1.6 – I don’t know which version firefox work

    mozilla >= 1.7 work with eclipse 3.1, but eclipse 3.1 don’t work fine with me, yet

    regards

    #217949 Reply

    glurps
    Member

    i have mozilla 1.6 installed now but still cant use the preview tab.

    i am still quite unsure what settings i have to use. this is what i tried:

    location:
    - /usr/local/mozilla/mozilla
    - /usr/local/mozilla/mozilla-bin
    - /usr/local/mozilla/mozilla-xremote-client
    parameters:
    - none
    - -remote "openurl(http://www.mozilla.org)"

    it would be usefull if you could provide an example of how this has to be set up.

    i also read this thread:
    http://myeclipseide.com/PNphpBB2+file-viewtopic-t-3841-highlight-mozilla.html

    i have the problem as mentioned in this thread that the use of internal browser renders workspace unusable.

    #217951 Reply

    glurps
    Member

    here the complete error log:

    !SESSION Oct 19, 2004 13:51:17.988 ---------------------------------------------
    eclipse.buildId=M200409161125
    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:17.989
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/css_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.67
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/forms_lists_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.87
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/htmlform_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.122
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/html_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.153
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/javascript_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.206
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/jsf_f_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.256
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/jsf_h_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.426
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/struts_bean_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.471
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/struts_html_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.508
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/struts_logic_snippets.xml
    
    !ENTRY com.genuitec.eclipse.wizards 1 1 Oct 19, 2004 13:51:18.559
    !MESSAGE Installed snippet library: /home/jrb/.myeclipse.030801.d/eclipse/plugins/com.genuitec.eclipse.wizards_3.8.1/snippets/struts_tiles_snippets.xml
    
    !ENTRY org.eclipse.webbrowser 2 0 Oct 19, 2004 13:51:37.141
    !MESSAGE Internal browser is not operational
    !STACK 0
    org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+03\
    0801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev)
            at org.eclipse.swt.SWT.error(SWT.java:2717)
            at org.eclipse.swt.SWT.error(SWT.java:2616)
            at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
            at org.eclipse.webbrowser.internal.WebBrowserUtil.isInternalBrowserOperational(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserManager.addInternalBrowser(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserManager.setupDefaultBrowsers(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserManager.loadBrowsers(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserManager.getWebBrowsers(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserContentProvider.getElements(Unknown Source)
            at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:532)
            at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:477)
            at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:585)
            at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:465)
            at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:449)
            at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:924)
            at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:862)
            at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:281)
            at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:922)
            at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:881)
            at org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:416)
            at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
            at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1059)
            at org.eclipse.webbrowser.internal.BrowserTableComposite.createWidgets(Unknown Source)
            at org.eclipse.webbrowser.internal.BrowserTableComposite.<init>(Unknown Source)
            at org.eclipse.webbrowser.internal.WebBrowserPreferencePage.createContents(Unknown Source)
            at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:217)
            at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1008)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1003)
            at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:529)
            at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:450)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:448)
            at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:708)
            at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:726)
            at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:200)
            at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195)
            at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349)
            at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
            at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
            at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
            at org.eclipse.jface.window.Window.open(Window.java:648)
            at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:72)
            at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
            at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
            at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
            at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)
    
    !ENTRY org.eclipse.webbrowser 1 0 Oct 19, 2004 13:51:37.143
    !MESSAGE true/false
    
    !ENTRY org.eclipse.ui 4 4 Oct 19, 2004 13:52:17.227
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 Oct 19, 2004 13:52:17.227
    !MESSAGE No more handles (java.lang.UnsatisfiedLinkError: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+030801/plugins/org.\
    eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev)
    !STACK 0
    org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+03\
    0801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev)
            at org.eclipse.swt.SWT.error(SWT.java:2717)
            at org.eclipse.swt.SWT.error(SWT.java:2616)
            at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
            at com.genuitec.eclipse.browser.HTMLViewer.createControl(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLView.createPartControl(Unknown Source)
            at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
            at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:135)
            at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:351)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
            at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
            at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
            at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
            at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
            at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
            at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
            at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:568)
            at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1116)
            at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
            at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
            at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:674)
            at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:660)
            at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:94)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.setSelection(DefaultPartPresentation.java:1408)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation$4.handleEvent(DefaultPartPresentation.java:166)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:963)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:833)
            at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3053)
            at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1917)
            at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)
    
    !ENTRY org.eclipse.ui 4 4 Oct 19, 2004 13:52:17.229
    !MESSAGE *** SWT nested exception
    
    !ENTRY org.eclipse.ui 4 0 Oct 19, 2004 13:52:17.229
    !MESSAGE /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla\
    -gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev
    !STACK 0
    java.lang.UnsatisfiedLinkError: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/l\
    inux/x86/libswt-mozilla-gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
            at java.lang.Runtime.loadLibrary0(Runtime.java:788)
            at java.lang.System.loadLibrary(System.java:834)
            at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
            at org.eclipse.swt.browser.Browser.<init>(Browser.java:116)
            at com.genuitec.eclipse.browser.HTMLViewer.createControl(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLView.createPartControl(Unknown Source)
            at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
            at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:135)
            at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:351)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
            at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
            at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
            at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
            at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
            at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
            at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
            at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:568)
            at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1116)
            at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
            at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
            at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:674)
            at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:660)
            at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:94)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.setSelection(DefaultPartPresentation.java:1408)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation$4.handleEvent(DefaultPartPresentation.java:166)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:963)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:833)
            at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3053)
            at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1917)
            at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)
    <open preview tap
    ====================================================================
    restart workspace>
    !SESSION Oct 19, 2004 13:54:54.692 ---------------------------------------------
    eclipse.buildId=M200409161125
    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    
    !ENTRY org.eclipse.osgi Oct 19, 2004 13:54:54.693
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /usr/local/lib/eclipse301+030801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: /usr/local/lib/eclipse301+03\
    0801/plugins/org.eclipse.swt.gtk_3.0.1/os/linux/x86/libswt-mozilla-gtk-3063.so: undefined symbol: _ZN9nsCStringC1Ev)
            at org.eclipse.swt.SWT.error(SWT.java:2717)
            at org.eclipse.swt.SWT.error(SWT.java:2616)
            at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
            at com.genuitec.eclipse.browser.HTMLViewer.createControl(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source)
            at com.genuitec.eclipse.browser.HTMLView.createPartControl(Unknown Source)
            at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
            at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:135)
            at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:351)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
            at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
            at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
            at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
            at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
            at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
            at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
            at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:568)
            at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
            at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1116)
            at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
            at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:467)
            at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:367)
            at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:432)
            at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:155)
            at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:732)
            at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2063)
            at org.eclipse.ui.internal.WorkbenchWindow$4.run(WorkbenchWindow.java:1858)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
            at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1845)
            at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1409)
            at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
            at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
            at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
            at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:167)
            at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:652)
            at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)
    
    #217953 Reply

    glurps
    Member

    looking around in this forum i have seen a lot of threads about this topic. but not one that solved the problem. it seams that this is a very common problem that you should investigate. as i said before it then would be usefull if you provided detailed instructions to get at least a specific browser to work.

    you also did not answer this question yet:

    i have also noted that the html editor is missing the preview and visual designer views.

    will these taps appear when a browser is properly installed or am i missing something?

    thx

    jonas

    #217954 Reply

    glurps
    Member

    i have to admit:

    i have no idee if i am using gtk1 or 2.

    mozilla provided only one suitable installer.

    do i need to use a flag when i install mozilla to get gtk2?

    #217965 Reply

    Riyad Kalla
    Member

    Jonas,
    As snpe pointed out you need to be running Mozilla 1.6 or lower (I think its 1.4 -> 1.6) for the SWT Browser component (its part of the base Eclipse platform, please ask your question in the Eclipse news groups or mailing list, these guys have much more experience getting this working under Linux than we do, we just provided a View for our users to open it up but essentially the view is just wrapping the SWT Browser component).

    Also another user had this problem when he found out his “mozilla” link was loading Firefox and not actually mozilla, you might want to look into seeing if that is what is happening. And yes, ifyou resolve the mozilla issue, you will see a preview tab. Also, the design tab is Windows only for now (noted in the release notes) but we are working on our crossplatform solution.

    #217968 Reply

    snpe
    Member

    Download mozilla gtk2 build from :
    http://www.scottbolander.com/mozilla-1.6-xft-gtk2-pc-linux.tar.bz2
    untar with
    tar xvjf mozilla-1.6…

    create /etc/gre.conf like :
    [1.6]
    GRE_PATH=/usr/local/mozilla

    GRE_PATH show to directory with mozilla libraries (*.so files)

    You don’t need MOZILLA_FIVE_HOME

    restart eclipse

    regards

    #217974 Reply

    glurps
    Member

    many thanks …
    this worked 😀

    jonas

    #217976 Reply

    Riyad Kalla
    Member

    snpe, thank you for your help.

    #218003 Reply

    Greg
    Member

    Taking a lead from snpe, we have added a new seciton to the FAQ on the htmleditor quickstart that demostrates how to install mozilla 1.6 that will enable the SWT browser on Linux systems.

    http://www.myeclipseide.com/images/tutorials/quickstarts/htmleditor/index.html#faq

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Firefox as internal browser in linux [Closed]

You must be logged in to post in the forum log in