Zekr in Arch Linux

Bug #976013 reported by Yusuf Faruk DOGAN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zekr
New
Undecided
Unassigned

Bug Description

I have a fresh Bridge Linux (based on Arch Linux) installed and tried zekr.

[yfdogan@bridge ~]$ zekr.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/SWT
        at net.sf.zekr.common.config.GlobalConfig.<clinit>(GlobalConfig.java:34)
        at net.sf.zekr.common.runtime.Naming.<clinit>(Naming.java:21)
        at net.sf.zekr.engine.log.Logger.<clinit>(Logger.java:44)
        at net.sf.zekr.ZekrMain.<clinit>(ZekrMain.java:32)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWT
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 4 more
[yfdogan@bridge ~]$

Any idea?

Revision history for this message
Mohsen Saboorian (mohsens) wrote : Re: [Bug 976013] [NEW] Zekr in Arch Linux

You din't seem to have swt.jar in your java classpath. If you can pause the
process and tell us result of:
ps aux | grep java

Regards,
Mohsen

On Sat, Apr 7, 2012 at 8:02 PM, Yusuf Faruk DOGAN <email address hidden>wrote:

> Public bug reported:
>
> I have a fresh Bridge Linux (based on Arch Linux) installed and tried
> zekr.
>
>
> [yfdogan@bridge ~]$ zekr.sh
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/swt/SWT
> at
> net.sf.zekr.common.config.GlobalConfig.<clinit>(GlobalConfig.java:34)
> at net.sf.zekr.common.runtime.Naming.<clinit>(Naming.java:21)
> at net.sf.zekr.engine.log.Logger.<clinit>(Logger.java:44)
> at net.sf.zekr.ZekrMain.<clinit>(ZekrMain.java:32)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWT
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 4 more
> [yfdogan@bridge ~]$
>
>
> Any idea?
>
> ** Affects: zekr
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zekr.
> https://bugs.launchpad.net/bugs/976013
>
> Title:
> Zekr in Arch Linux
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zekr/+bug/976013/+subscriptions
>

Revision history for this message
Yusuf Faruk DOGAN (frmyfdogan) wrote :

I downloaded the new vers.on of swt.jar and replaced it with the installed file under /usr/share/java/zekr/lib/swt.jar

this is the result of the command you gave:

[yfdogan@bridge ~]$ ps aux | grep java
yfdogan 15373 0.0 0.0 8776 1036 pts/1 S+ 20:31 0:00 grep java
[yfdogan@bridge ~]$

Revision history for this message
Mohsen Saboorian (mohsens) wrote : Re: [Bug 976013] Re: Zekr in Arch Linux

Is this a Linux build of swt.jar? Latest swt.jar for Linux + 32 Java, can
be found here:
http://ftp.ussg.iu.edu/eclipse/eclipse/downloads/drops/S-3.8M6-201203141800/swt-3.8M6-gtk-linux-x86.zip

On Sat, Apr 7, 2012 at 10:04 PM, Yusuf Faruk DOGAN <email address hidden>wrote:

> I downloaded the new vers.on of swt.jar and replaced it with the
> installed file under /usr/share/java/zekr/lib/swt.jar
>
> this is the result of the command you gave:
>
> [yfdogan@bridge ~]$ ps aux | grep java
> yfdogan 15373 0.0 0.0 8776 1036 pts/1 S+ 20:31 0:00 grep java
> [yfdogan@bridge ~]$
>
> --
> You received this bug notification because you are subscribed to Zekr.
> https://bugs.launchpad.net/bugs/976013
>
> Title:
> Zekr in Arch Linux
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zekr/+bug/976013/+subscriptions
>

Revision history for this message
Yusuf Faruk DOGAN (frmyfdogan) wrote :

No . This is the latest version u found:

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.7.2-201202080800/swt-3.7.2-gtk-linux-x86.zip

but i tried with the file u sent and it is still the same.

yfdogan@bridge ~]$ 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:91)
[yfdogan@bridge ~]$ ps aux | grep java
yfdogan 15776 0.0 0.0 8776 1036 pts/3 S+ 21:56 0:00 grep java
[yfdogan@bridge ~]$

Revision history for this message
Yusuf Faruk DOGAN (frmyfdogan) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.