Hi again,
I tried to use try{} catch{} when I'm instantiation Browser.
But before exception catching I see SWTError dialog boxes (on
screenshot).
How I can avoid them?
Thanks,
Vitaliy
21.11.12 10:50, Chernyak, Vitaliy написав(ла):
Thanks Grant,
Now I can move on and develop some workaround.
Regards,
Vitaliy
20.11.12 18:21, Grant Gayed написав(ла):
Hi Vitaliy,
Browser support is not
implemented on AIX because the native renderer support is not
there. Note that in general, any instantiation of a Browser
should be wrapped in a try{} catch{} so that alternate
functionality can be provided in response to Browser creation
failure (can happen in contexts other than running on AIX).
For example, Eclipse's Welcome page detects this case and
provides a Canvas-based Welcome page when Browser creation
fails.
You can CC yourself to the AIX
Browser bug report at https://bugs.eclipse.org/bugs/show_bug.cgi?id=394679 to be notified of future changes
in this area.
Grant
From: "Chernyak, Vitaliy" <Vitaliy_Chernyak_CW@xxxxxxx>
To: "platform-swt-dev@xxxxxxxxxxx"
<platform-swt-dev@xxxxxxxxxxx>,
Date: 11/20/2012 06:17 AM
Subject:
[platform-swt-dev]
Can't run internal browser in Eclipse 3.7 on AIX 6.1
Sent by:
platform-swt-dev-bounces@xxxxxxxxxxx
Hello,
I cant open any html page in internal browser in eclipse 3.7
on AIX 6.1.
I've received next message:
!MESSAGE Internal browser is not available: No more handles
[MOZILLA_FIVE_HOME='/usr/mozilla/firefox']
(java.lang.UnsatisfiedLinkError: Could not load SWT library.
Reasons:
swt-mozilla-gtk-3740 (Not found in java.library.path)
swt-mozilla-gtk (Not found in java.library.path)
/.swt/lib/aix/ppc/libswt-mozilla-gtk-3740.a (No such file
or directory)
/.swt/lib/aix/ppc/libswt-mozilla-gtk.a (No such file or
directory)
)
My env variables is:
MOZILLA_FIVE_HOME=/usr/mozilla/firefox
LIBPATH=/usr/mozilla/firefox:/usr/lib:/opt/freeware/lib
LD_LIBRARY_PATH=/usr/mozilla/firefox:/usr/lib:/opt/freeware/lib
Please, help me.
Thanks,
Vitaliy _______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
|