Hello guys ,
I have used scintila (jite.zip) inside a swing application so that it could
serve as an editor caopable of highlighting all those language specific details
using the lexer.I use Eclipse 3.2.0 and java 1.6 jre.I have added the two dll
files (SciJNI.dll and SciLexer.dll) into the workspace and the application works
fine.I made the source file as a jar and then added it as an external jar.
Then i tried making it as a single jar using the Fat Jar plugin available for
Eclipse. The final jar is built and i copied the dll files to the place where i
execute the jar file , but then it gives me an UnsatisfiedlinkError.
Exception in thread "AWT-EventQueue-0" java.
lang.UnsatisfiedLinkError: C:\application_in_swing_jar\SciJNI.dll: Can't find de
pendent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.scintilla.editor.ScintillaImpl.<clinit>(ScintillaImpl.java:25)
at RepositoryApplication.<init>(RepositoryApplication.java:689)
at RepositoryApplication.createandshowGUI(RepositoryApplication.java:900
)
at RepositoryApplication.access$0(RepositoryApplication.java:898)
at RepositoryApplication$1.run(RepositoryApplication.java:167)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I have put the 2 dll files in C:\application_in_swing_jar\
I have been stuck with this for some days and cant figure out why this happens.
I have tried loading the library SciLexer from inside ScintillaImpl.java
thinking that there might be a dependency problem but still this doesnt solve
the problem.
Please advice me on the same as soon as possible ...
Thank You all !!!
Dinesh
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest