Menu

#3 Source Code Exception

open
nobody
None
5
2009-04-14
2009-04-14
Anonymous
No

I'm having issues with the source code. I haven't made any changes to it and I am attempting to use eclipse. I can compile/build it fine but when I run it I immediately get an exception 'Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3236 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 org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at net.sf.timecult.ui.swt.SWTUIManager.initUI(SWTUIManager.java:45)
at net.sf.timecult.TimeTracker.<init>(TimeTracker.java:58)
at net.sf.timecult.TimeTracker.main(TimeTracker.java:129)'
The little bit obout this exception I've been able to understand is that it can't find the dll files. I also tried building with ant and got the following:
D:\Workspace2\TimeCult>ant -buildfile build.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li
b\tools.jar
Buildfile: build.xml

BUILD FAILED
D:\Workspace2\TimeCult\build.xml:187: taskdef class net.sf.launch4j.ant.Launch4j
Task cannot be found

Total time: 0 seconds

Do you have any recomendations as to how to compile the source correctly? I have access to several java compilers if there is one that will work. Is there some specific CLASSPATH needed? If so which one? Keep in mind that I'm not hugely knowlegable about Java and only wanted to make a few minor tweaks to the user interface to better service my work group.
Thanks in advance,
Robin West
Songbird499@hotmail.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.