gnuaccounting installation problems

Hello All,

Im trying to install gnuaccounting but wenn iam running: ./gnuaccounting.sh i have the next error:

Exception in thread “main” java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Control
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Control
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

Any one ???

Thanks Eric Beerhorst

Did you use YaST to download it? YaST normally tells you of any dependencies you need to satisfy before you go ahead. If you downloaded it directly, you have to sort out the dependencies yourself.

Hello John,

Thanks for you reaction…
No i did not becourse YaST can find Gnuaccounting???

Bye

Check gnucash
It’s in the repo
Use Yast software management and search for it

Stupid advice and comment! Very stupid!

Help us to make gnuaccounting working.

After installing and starting gnuccounting we I have problems:

Exception in thread “main” java.lang.NoClassDefFoundError: org/eclipse/jface/window/ApplicationWindow
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jface.window.ApplicationWindow
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
… 13 more

Why this not working. I install from software manager

kingv wrote:
>
> caf4926;1905635 Wrote:
>> Check gnucashIt’s in the repoUse Yast software management and search
>> for it
>
> Stupid advice and comment! Very stupid!
>
> Help us to make gnuaccounting working.
>
>
>
caf suggested using Gnucash instead of gnuaccounting.
Both are not same


GNOME 3.10.1
openSUSE 13.1 (Bottle) (x86_64) 64-bit
Kernel Linux 3.11.6-4-desktop
Where are my penguins :- https://features.opensuse.org/316767

Am 20.12.2013 14:06, schrieb kingv:
>
> Help us to make gnuaccounting working.
>

Which openSUSE version do you use and from which repository did you
install it? Then I can try to reproduce it.

It looks as if you miss a jar file in your classpath (I would say
org.eclipse.jface).


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

Am 20.12.2013 15:53, schrieb Martin Helm:
> It looks as if you miss a jar file in your classpath (I would say
> org.eclipse.jface).
>
If I look into the file /usr/bin/gnuaccounting (which is a shell
script), the classpath for the invokation of the java application points
to nonexisting jar files (the jar files are in
/usr/share/gnuaccounting/libs and corresponding subfolders, but have
different file names, due to different versions in the file names), so
it is no miracle that it cannot find the classes.

@kingv and whoever else suffers from that should contact the package
maintainer to fix that.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

Honestly I would just download the zip for 0.8.4 from
http://sourceforge.net/projects/gnuaccounting/files/latest/download
unpack it and start it with the contained gnuaccounting.sh, at least
that seems to start properly.
Since I do not know more about it I cannot comment if what it does is
correct.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

My bad but it was all way back in 2008 !

Hi,

Lumnis is the maintainer of the GnuACCOUNTING-Repo at
http://download.opensuse.org/repositories/home:/lumnis/openSUSE_13.1/

I’m sure will welcome any contribution and/or correction.
Or open a ticket at http://sourceforge.net/p/gnuaccounting/bugs/ .

Thanks and kind regards
Jochen