Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » problem in deploying SWT browser
problem in deploying SWT browser [message #203446] Thu, 05 April 2007 13:00
madhan is currently offline madhanFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,
i had created a SWT browser, when i execute from eclipse it got executed
with any problem..but when i try to deploy it by copying jar file
org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar and its dependent .so files
along with eduplayer.jar file and a shell script...it is showing error

Exception in thread "main" org.eclipse.swt.SWTError: No more handles
[Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:138)
at eduplayer.main(eduplayer.java:20)

but this error dont occur while running from eclipse...then i tried this
export MOZILLA_FIVE_HOME=/opt/firefox/

after exporting i executed the shell script now its showing error

Exception in thread "main" org.eclipse.swt.SWTError: No more handles
(java.lang.UnsatisfiedLinkError:
/root/Desktop/madhan/eduplayer/libswt-mozilla-gtk-3236.so: libxpcom.so:
cannot open shared object file: No such file or directory)
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:168)
at eduplayer.main(eduplayer.java:20)
Caused by: java.lang.UnsatisfiedLinkError:
/root/Desktop/madhan/eduplayer/libswt-mozilla-gtk-3236.so: libxpcom.so:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:153)
... 1 more


can any one tell me whats going wrong....please help me out
Previous Topic:Changing resource icons
Next Topic:newsgroup for Plugin Development (PDE)
Goto Forum:
  


Current Time: Fri Mar 29 13:41:19 GMT 2024

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

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

Back to the top