LINUX GTK SWT crash [message #12005] |
Tue, 01 March 2005 12:31  |
Eclipse User |
|
|
|
Originally posted by: car.audaxis.com
HI all,
I'm using Mandrake 10.1, Eclipse 3.0.1 and tried to build a report with
the Report Designer. At the end of the wizard, I got a SWT crash (see
..log,...). Do you know if there is any workaround to get this working ?
Here is some excertp from my .log file.
!MESSAGE No more handles (java.lang.UnsatisfiedLinkError:
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
libxpcom.so: cannot open shared object file: No such file or directory)
!STACK 0
org.eclipse.swt.SWTError: No more handles
(java.lang.UnsatisfiedLinkError:
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
libxpcom.so: cannot open shared object file: No such file or directory)
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.birt.report.designer.internal.ui.editors.preview .PreviewEditor.createPartControl(PreviewEditor.java:259)
Also, after the crash when I re-launch Eclipse, it fails because of a
!MESSAGE Missing required bundle org.eclipse.birt.chart.engine_0.0.0.
But I installed 0.0.1 ????
Any idea ?
Thanx,
Chris.
|
|
|
|
|
|
Re: LINUX GTK SWT crash [message #15216 is a reply to message #12005] |
Mon, 07 March 2005 03:31   |
Eclipse User |
|
|
|
Baoliang Liu wrote:
You need the Mozilla version 1.4 GTK2 for your distribution. Mozilla 1.5
GTK2 or Mozilla 1.6 GTK2 can also be used.
1. If you are using SWT 3.0, download the Mozilla 1.6 Xft & GTK2 build
available from the Mozilla XFT website. If you are using SWT 3.1, you can
choose to use the more recent Mozilla 1.7.3 GTK2 from Mozilla.org.
2. Uninstall any prior Mozilla version.
3. Extract and install the Mozilla build.
4. Run Mozilla once. Verify the application run correctly and check the
version number (1.6) in the Mozilla About dialog.
5. Set the environment variable MOZILLA_FIVE_HOME to the folder containing
your Mozilla install. e.g. setenv MOZILLA_FIVE_HOME /usr/lib/mozilla
6. Start Eclipse. Eclipse is now ready to use the Browser widget.
You may need to reboot your system.
> HI all,
> I'm using Mandrake 10.1, Eclipse 3.0.1 and tried to build a report with
> the Report Designer. At the end of the wizard, I got a SWT crash (see
> ..log,...). Do you know if there is any workaround to get this working ?
> Here is some excertp from my .log file.
> !MESSAGE No more handles (java.lang.UnsatisfiedLinkError:
>
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
> libxpcom.so: cannot open shared object file: No such file or directory)
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> (java.lang.UnsatisfiedLinkError:
>
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
> libxpcom.so: cannot open shared object file: No such file or directory)
> 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.birt.report.designer.internal.ui.editors.preview .PreviewEditor.createPartControl(PreviewEditor.java:259)
> Also, after the crash when I re-launch Eclipse, it fails because of a
> !MESSAGE Missing required bundle org.eclipse.birt.chart.engine_0.0.0.
> But I installed 0.0.1 ????
> Any idea ?
> Thanx,
> Chris.
|
|
|
Re: LINUX GTK SWT crash [message #15640 is a reply to message #15216] |
Mon, 07 March 2005 22:54   |
Eclipse User |
|
|
|
Using Mozilla 1.6 did not work for me, however, 1.5 did.
Thank you.
Baoliang Liu wrote:
> Baoliang Liu wrote:
> You need the Mozilla version 1.4 GTK2 for your distribution. Mozilla 1.5
> GTK2 or Mozilla 1.6 GTK2 can also be used.
> 1. If you are using SWT 3.0, download the Mozilla 1.6 Xft & GTK2 build
> available from the Mozilla XFT website. If you are using SWT 3.1, you can
> choose to use the more recent Mozilla 1.7.3 GTK2 from Mozilla.org.
> 2. Uninstall any prior Mozilla version.
> 3. Extract and install the Mozilla build.
> 4. Run Mozilla once. Verify the application run correctly and check the
> version number (1.6) in the Mozilla About dialog.
> 5. Set the environment variable MOZILLA_FIVE_HOME to the folder containing
> your Mozilla install. e.g. setenv MOZILLA_FIVE_HOME /usr/lib/mozilla
> 6. Start Eclipse. Eclipse is now ready to use the Browser widget.
> You may need to reboot your system.
>> HI all,
>> I'm using Mandrake 10.1, Eclipse 3.0.1 and tried to build a report with
>> the Report Designer. At the end of the wizard, I got a SWT crash (see
>> ..log,...). Do you know if there is any workaround to get this working ?
>> Here is some excertp from my .log file.
>> !MESSAGE No more handles (java.lang.UnsatisfiedLinkError:
>>
>
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
>> libxpcom.so: cannot open shared object file: No such file or directory)
>> !STACK 0
>> org.eclipse.swt.SWTError: No more handles
>> (java.lang.UnsatisfiedLinkError:
>>
>
/home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
>> libxpcom.so: cannot open shared object file: No such file or directory)
>> 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.birt.report.designer.internal.ui.editors.preview .PreviewEditor.createPartControl(PreviewEditor.java:259)
>> Also, after the crash when I re-launch Eclipse, it fails because of a
>> !MESSAGE Missing required bundle org.eclipse.birt.chart.engine_0.0.0.
>> But I installed 0.0.1 ????
>> Any idea ?
>> Thanx,
>> Chris.
|
|
|
Re: LINUX GTK SWT crash [message #21747 is a reply to message #12005] |
Mon, 21 March 2005 04:50  |
Eclipse User |
|
|
|
Originally posted by: car.audaxis.com
I found a way to get it working. It seems that this was a 'standard'
bug of eclipse. My default browser is Firefox and I have to keep that.
In order to be able to use Birt, you'll have to install mozilla 1.6
(wherever you want). Then you'll have to specify to Eclipse where it is
located. To do this, just create a file named /etc/gre.conf containing:
[1.6]
GRE_PATH=/usr/local/mozilla
Finally, you have to be sure that the env. variable MOZILLA_FIVE_HOME is
not set (you may check it by typing: echo $MOZILLA_FIVE_HOME).
You can force this by typing: unset MOZILLA_FIVE_HOME before starting
Eclipse).
Chris.
> HI all,
>
> I'm using Mandrake 10.1, Eclipse 3.0.1 and tried to build a report with
> the Report Designer. At the end of the wizard, I got a SWT crash (see
> .log,...). Do you know if there is any workaround to get this working ?
>
> Here is some excertp from my .log file.
>
> !MESSAGE No more handles (java.lang.UnsatisfiedLinkError:
> /home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
> libxpcom.so: cannot open shared object file: No such file or directory)
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> (java.lang.UnsatisfiedLinkError:
> /home/car/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/linux /x86/libswt-mozilla-gtk-3063.so:
> libxpcom.so: cannot open shared object file: No such file or directory)
> 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.birt.report.designer.internal.ui.editors.preview .PreviewEditor.createPartControl(PreviewEditor.java:259)
>
>
>
>
>
>
> Also, after the crash when I re-launch Eclipse, it fails because of a
>
> !MESSAGE Missing required bundle org.eclipse.birt.chart.engine_0.0.0.
>
> But I installed 0.0.1 ????
>
> Any idea ?
>
> Thanx,
>
> Chris.
|
|
|
Powered by
FUDForum. Page generated in 0.04452 seconds