no TrayIcon12 in java.library.path

Report and discuss bugs here!
nanuc
Posts: 1
Joined: Tue Apr 12, 2016 1:49 pm

no TrayIcon12 in java.library.path

Postby nanuc » Tue Apr 12, 2016 1:53 pm

On windows 8 with newest java jdk and jre:

YAWCAM - Yet Another Webcam Software
Version: 0.5.0>1 (2016-03-23)
os.arch: x86
java.home: C:\Program Files (x86)\Java\jre1.8.0_77
java.vendor: Oracle Corporation
java.version: 1.8.0_77
java.io.tmpdir: C:\Users\nanui\AppData\Local\Temp\
user.home: C:\Users\nanui
Max heap memory: 247M
[...]
Audio output devices:
Primärer Soundtreiber
Speakers (Realtek High Definition Audio)
Lautsprecher (SplitCam Virtual Audio Device (WDM))
#######################
Could not load C:\Users\nanui\.yawcam\2\motion\EventList.bin
(Will create a new one when needed...)
Building device menu right now!
Building 'Change to'-menu...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no TrayIcon12 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jeans.trayicon.WindowsTrayIcon.<clinit>(WindowsTrayIcon.java:691)
at yawcam.gui.TrayIconManager.<init>(TrayIconManager.java:79)
at yawcam.Main.<init>(Main.java:442)
at yawcam.Main.main(Main.java:1411)

Advertisement



malun
Site Admin
Posts: 1495
Joined: Sun Jan 04, 2004 1:29 pm

Re: no TrayIcon12 in java.library.path

Postby malun » Sat Apr 23, 2016 9:29 am

Sounds like some of your files are corrupt.
Try to re-install Yawcam!

/malun

darthcrombie
Posts: 6
Joined: Wed May 04, 2016 3:25 pm

Re: no TrayIcon12 in java.library.path

Postby darthcrombie » Thu May 05, 2016 12:23 am

and if reinstall doesnt fix this?

malun
Site Admin
Posts: 1495
Joined: Sun Jan 04, 2004 1:29 pm

Re: no TrayIcon12 in java.library.path

Postby malun » Thu May 05, 2016 5:44 pm

Do you know if you are using the 32bit or 64bit java version?

In either case, double check that you have both the files:
TrayIcon12.dll
TrayIcon12_x64.dll

in the folder where you installed Yawcam.

This would typically be here:
C:\Program Files (x86)\Yawcam

/malun

darthcrombie
Posts: 6
Joined: Wed May 04, 2016 3:25 pm

Re: no TrayIcon12 in java.library.path

Postby darthcrombie » Fri May 06, 2016 12:12 am

i should be using 64 bit. and both dll files are in place. oh and i forgot to mention this is windows 10

malun
Site Admin
Posts: 1495
Joined: Sun Jan 04, 2004 1:29 pm

Re: no TrayIcon12 in java.library.path

Postby malun » Fri May 06, 2016 4:47 pm

In the beginning of the debug log, did you get:
os.arch: x86
or
os.arch: amd64
?

Also, let's double check the size of the dll files.
Right click on the files and open the properties dialog.

The correct size is:
TrayIcon12.dll - 52,736 bytes.
TrayIcon12_x64.dll - 39,424 bytes

Do you have the same size on your files?

/malun

darthcrombie
Posts: 6
Joined: Wed May 04, 2016 3:25 pm

Re: no TrayIcon12 in java.library.path

Postby darthcrombie » Fri May 06, 2016 5:52 pm

well i didn't do anything but last night it just worked. after i posted the files were there i tried it again and it loaded. thanks for the due diligence on your part though.


Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 18 guests