Salaam,

Java architecture (32 or 64), determines SWT and XULRunner's architecture.
So if Zekr portable (which contains all in 32 bit format) doesn't work on
your 64bit machine, you should also change java and xulrunner architecture.

If you want to run normal version of Zekr, you should have some browser
which is known to SWT. If you install libwebkitgtk, it's very likely that
SWT automatically finds the browser without any further configuration.

Regards,
Mohsen


On Tue, Oct 29, 2013 at 5:57 PM, Silvio Siefke <siefke_lis...@web.de> wrote:

> Salam
>
> On Tue, 29 Oct 2013 12:24:49 +0330 Mohsen Saboorian <mohs...@gmail.com>
> wrote:
>
> > Zekr portable works on 32 and 64 bit architectures. It's actually a
> > 32 bit SWT+ 32 bit Java + Zekr core + XULRunner, so should work on
> > both 32 bit and 64 bit linux. If it doesn't work, please download
> > latest SWT (32 bit) from this
> > link<
> http://download.eclipse.org/eclipse/downloads/drops4/R-4.3.1-201309111000/#SWT
> >.
> > Put swt.jar in <zekr>/lib and then try again. It should work.
>
> I have do.
>
> > Please inform us if it worked.
>
> This msg come when i execute the portable Version of zekr.
>
> siefke@gentoomobile ~/Downloads/zekr $ ./zekr.sh
> ./zekr.sh: Zeile 22: /home/siefke/Downloads/zekr/jre/bin/java: Can not
> execute the file
>
> When i change to my origin Java:
>
> siefke@gentoomobile ~ $ java -version
> java version "1.6.0_27"
> OpenJDK Runtime Environment (IcedTea6 1.12.6) (Gentoo build 1.6.0_27-b27)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>
>
> siefke@gentoomobile ~/Downloads/zekr $ ./zekr.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load
> 32-bit SWT libraries on 64-bit JVM
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
>         at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:39)
>         at net.sf.zekr.ZekrMain.main(ZekrMain.java:94)
>
>
> With origin Oracle JDK:
>
> siefke@gentoomobile ~/Downloads/zekr $ java -version
> java version "1.7.0_45"
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> siefke@gentoomobile ~/Downloads/zekr $ ./zekr.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load
> 32-bit SWT libraries on 64-bit JVM
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
>         at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:39)
>         at net.sf.zekr.ZekrMain.main(ZekrMain.java:94)
>
>
>
>
> When i start the normal Version of Zekr, has changed the swt file too, i
> become this
> msg:
>
> org.eclipse.swt.SWTError: No more handles
> [MOZILLA_FIVE_HOME='/usr/lib/thunderbird/']
> (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
>         no swt-mozilla-gtk-4332 in java.library.path
>         no swt-mozilla-gtk in java.library.path
>         /home/siefke/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so:
> libxpcom.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder
> Verzeichnis nicht gefunden
>         Can't load library:
> /home/siefke/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
> )
>         at org.eclipse.swt.SWT.error(Unknown Source)
>         at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)
>         at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
>         at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
>         at net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:628)
>         at net.sf.zekr.ui.QuranForm.init(QuranForm.java:340)
>         at net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:319)
>         at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
>         at net.sf.zekr.ZekrMain.main(ZekrMain.java:94)
> Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library.
> Reasons:
>         no swt-mozilla-gtk-4332 in java.library.path
>         no swt-mozilla-gtk in java.library.path
>         /home/siefke/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4332.so:
> libxpcom.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder
> Verzeichnis nicht gefunden
>         Can't load library:
> /home/siefke/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
>
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>         ... 8 more
>
> siefke@gentoomobile ~ $ ls .swt/lib/linux/x86_64/
> libswt-cairo-gtk-4233.so    libswt-pi-gtk-4332.so
> libswt-cairo-gtk-4332.so    libswt-webkit-gtk-4233.so
> libswt-gtk-4233.so          libswt-webkit-gtk-4332.so
> libswt-gtk-4332.so          libswt-xpcominit-gtk-4233.so
> libswt-mozilla-gtk-4233.so  libswt-xpcominit-gtk-4332.so
> libswt-mozilla-gtk-4332.so  libswt-xulrunner-gtk-4233.so
> libswt-pi-gtk-4233.so       libswt-xulrunner-gtk-4332.so
>
>
> I has run zekr on gentoo, and on the same system. I not understand why not
> want work.
> Not work the fix installation, not want work the portable.
>
>
> It were nice can fix this situation, because i like the programm and so i
> can read when im on the way.
>
> Chokran bazaf & Nharak Said
>
> Silvio
> Thank you & Greetings
> Silvio
>

-- 
You received this message because you are subscribed to the Google Groups 
"zekr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zekr+unsubscr...@googlegroups.com.
To post to this group, send email to zekr@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/zekr/CAAv9gYdVZca8RL7%2BTgJcQJO85iEYS8hhnHwoWBJG1_oNhjXq_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to