Open GoogleCodeExporter opened 9 years ago
solved this (broken link to jna.jar).
downloaded jna-3.4.0.jar from mvnrepository.com/artifact/net.java.dev.jna/jna
cp jna-3.4.0.jar to /usr/share/java/jna.jar
now i got segmentation fault from gstreamer :D
Original comment by allegf...@gmail.com
on 3 Oct 2012 at 12:01
Could you please test the latest SVN code?
Original comment by peter.u....@gmail.com
on 3 Apr 2013 at 11:58
i'll try
--
Messagenet VOIP: 5338759
My blogs: http://altri-media.blogspot.com/
http://subbaqquerie.blogspot.com/
YouTube Channel: AllegFede
VIMEO HD videos: http://www.vimeo.com/user1912745/videos
Original comment by allegf...@gmail.com
on 4 Apr 2013 at 9:54
I've got the same problem with SVN rev 469:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
com/sun/jna/Library
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
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:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at webcamstudio.exporter.vloopback.VideoDevice.openDevice(VideoDevice.java:44)
at webcamstudio.exporter.vloopback.VideoDevice.loadInfo(VideoDevice.java:38)
at webcamstudio.exporter.vloopback.VideoDevice.<init>(VideoDevice.java:34)
at webcamstudio.exporter.vloopback.VideoDevice.getDevices(VideoDevice.java:145)
at webcamstudio.exporter.vloopback.VideoDevice.getInputDevices(VideoDevice.java:104)
at webcamstudio.components.OutputPanel.<init>(OutputPanel.java:59)
at webcamstudio.WebcamStudio.<init>(WebcamStudio.java:60)
at webcamstudio.WebcamStudio$15.run(WebcamStudio.java:850)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Library
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:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 34 more
Original comment by cyme...@gmail.com
on 5 Apr 2013 at 1:41
i solvded partially installing manually jna
--
Messagenet VOIP: 5338759
My blogs: http://altri-media.blogspot.com/
http://subbaqquerie.blogspot.com/
YouTube Channel: AllegFede
VIMEO HD videos: http://www.vimeo.com/user1912745/videos
Original comment by allegf...@gmail.com
on 5 Apr 2013 at 2:41
> i solvded partially installing manually jna
There should be no need to manually install JNA. OpenSUSE already provides JNA
and it works fine (I compiled and ran an example that uses it and it worked).
Original comment by cyme...@gmail.com
on 16 Apr 2013 at 10:19
could be a path issue? different pointing to JNA from ubuntu (refering
system for ws4l) and suse?
--
Messagenet VOIP: 5338759
My blogs: http://altri-media.blogspot.com/
http://subbaqquerie.blogspot.com/
YouTube Channel: AllegFede
VIMEO HD videos: http://www.vimeo.com/user1912745/videos
Original comment by allegf...@gmail.com
on 16 Apr 2013 at 11:55
JNA patch for SUSE is "/usr/share/java/jna.jar" and
"/usr/share/java/platform.jar". I don't know if it's the same for Ubuntu.
Original comment by cyme...@gmail.com
on 20 Apr 2013 at 11:46
I have the same issue with SVN rev 476. Is WCS incompatible with OpenJDK 6,
perhaps?
Original comment by dbz11.2...@gmail.com
on 21 Apr 2013 at 8:29
Same problem on Fedora 18 x64. Installed jna package manually, even softlinked
jna.jar into webcamstudio/libraries folder, no immediate difference.
Adding "Class-Path: /usr/share/java/jna.jar" to the manifest.mf and rebuilding
has allowed it to find JNA, but then it just has another NoClassDefFoundError
on something else. Further adding "../libraries/AbsoluteLayout-7.0.jar" to that
Class-Path allowed the program to actually start.
It seems that, by default, the WebcamStudio.jar is just completely unaware of
the libraries folder, and no external changing of the classpath can change that
- it MUST be edited in the manifest.mf. (Note: Directing Class-Path to the
included jna-3.2.7.jar has a different and unrelated error; Fedora jna package
is at 3.4.0-5.)
Original comment by Dejitaru...@gmail.com
on 22 Apr 2013 at 2:11
I also had to add all the libraries to manifest.mf and "ant clean jar" again to
make 0.61 work.
Original comment by cwei...@cweiske.de
on 30 Apr 2013 at 12:53
Same with me, had to add Class-Path: ../libraries/AbsoluteLayout-7.0.jar
../libraries/AppFramework-1.03.jar ../libraries/commons-cli-1.2.jar
../libraries/commons-codec-1.6.jar ../libraries/commons-httpclient-3.1.jar
../libraries/commons-io-2.2.jar ../libraries/commons-lang3-3.1.jar
../libraries/jcl-over-slf4j-1.6.5.jar ../libraries/jffmpeg-1.1.0.jar
../libraries/jna-platform-3.2.7.jar ../libraries/jna-3.2.7.jar
../libraries/jsr305-0.1~+svn49.jar ../libraries/jtwitter.jar
../libraries/log4j-1.2.16.jar ../libraries/mail.jar
../libraries/netty-3.2.6.Final.jar ../libraries/slf4j-api-1.6.5.jar
../libraries/slf4j-log4j12-1.6.5.jar ../libraries/swing-worker-1.1.jar
../libraries/zxing-core.jar ../libraries/zxing-javase.jar to manifest.ml
Original comment by zejda...@gmail.com
on 12 Jun 2013 at 9:06
This problem still seems to exist with the latest SVN version, adding the
Class-Path line fixed it for me.
Original comment by hunterne...@gmail.com
on 6 Jul 2013 at 5:11
this happeng with
oracle-java7-installer 7u45-0~webupd8~0
all Oracle Java(TM) Development Kit (JDK) 7
Original comment by zodman@gmail.com
on 3 Nov 2013 at 3:02
Hi,
i use NetbeansIde to modify WS code so i compile with it and it build and runs well. I try to checkout the svn and `ant clean jar` and i got the same issues.
Please can you provide me the correct changes i have to make to let WS svn run
well compilig with ant?
Sorry but i don't have much time to look for this issue.
Thanks.
Karl.
Original comment by soylent...@gmail.com
on 3 Nov 2013 at 8:04
Original issue reported on code.google.com by
allegf...@gmail.com
on 28 Sep 2012 at 12:03