Eclipse: dll in Projekt nutzen?

Status
Nicht offen für weitere Antworten.

AlArenal

Top Contributor
Tag!

Ich versuche hier gerade krampfhaft JNIWrapper, bzw. JExplorer zu avaluieren (siehe www.jniwrapper.com ). Problem: Wenn ich die Anwendung in Eclipse starte bekomme ich es ums verrecken nicht hin, dass die zugehörige jniwrap.dll (zu der auch noch zwei LIC-Dateien mit den Lizenzschlüsseln gehören) gefunden wird.

Ich hab schon das Verzeichnis zum Klassenpfad hinzugefügt und was-weiß-ich-nicht. Entweder bin ich zu blöde oder Eclipse ;)

java.lang.UnsatisfiedLinkError: no jniwrap 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.jniwrapper.an.run(SourceFile:201)
at java.security.AccessController.doPrivileged(Native Method)
at com.jniwrapper.u.a(SourceFile:205)
at com.jniwrapper.Library.a(SourceFile:44)
at com.jniwrapper.Library.a(SourceFile:69)
at com.jniwrapper.Library.c(SourceFile:79)
at com.jniwrapper.PlatformContext.a(SourceFile:252)
at com.jniwrapper.PlatformContext.i(SourceFile:76)
at com.jniwrapper.Pointer.<clinit>(SourceFile:25)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.jniwrapper.l.a(SourceFile:27)
at com.jniwrapper.l.<clinit>(SourceFile:27)
at com.jniwrapper.u.a(SourceFile:153)
at com.jniwrapper.win32.ie.U.a(SourceFile:56)
at com.jniwrapper.win32.ie.U.<init>(SourceFile:44)
at com.jniwrapper.win32.ie.c.<clinit>(SourceFile:56)
at com.jniwrapper.win32.ie.Browser.a(SourceFile:67)
at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:48)
at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:40)
at com.s3.pbone.PBConnector.openBrowserWindow(PBConnector.java:1099)
at com.s3.pbone.PBConnector.openDocumentWindow(PBConnector.java:311)
at com.s3.pfc.ui.swing.PFCTreeTable$IconMouseListener.mouseClicked(PFCTreeTable.java:401)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
 

ronny

Bekanntes Mitglied
hmmm, kopier mal die dll in ein verzeichnis von deinem projekt...
z. B. /dll

dann sagst du bei der "run" Konfiguration bei vm arguments:

-Djava.library.path=${project_loc}/dll

damit sollte er eigentlich die dll einbinden..

ich hab das so mit den SWT-dlls gemacht. vielleicht
klappt das ja bei dir auch. :D
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
A Eclipse Projekt-Umzug mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
T GlassFish mit Eclipse, Dynamic Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
N Eclipse debug Gradle-Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse - Fehlermeldung bei JavaFX-Projekt "java.lang.module.FindException: Module javafx.controls not found" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 23
T Eclipse: Projekt aus meinem Workspace als Library auswählen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse JavaFX JDK 12 - bekomme mein Projekt nicht mehr compiliert IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 36
H Eclipse Konsole gibt falsches Java Projekt aus IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
L Eclipse Eclipse - Projekte "mischen" Dynamisches Web Projekt + Maven IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Eclipse/Android: Projekt -> .apk IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
M Eclipse Projekt zu GitHub Repository hinzufügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Maxim6394 Eclipse zeigt Fehler in Projekt und kompiliert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
H Eclipse + ADK installation - Kein Android Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
S Eclipse: JUnit bei jedem Projekt automatisch hinzufügen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
D Eclipse Eclipse Fehler im Projekt (nicht im Source) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
H Projekt-Einstellungen von Eclipse mit subversion verwalten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
Gregorrr Eclipse Best Practice: Multi-Projekt mit Eclipse + EGit (Git) + m2e (Maven) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
D Eclipse Projekt exportieren , aber bestimmte Verzeichnisse auslassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
J Eclipse Checkout/Import Maven Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
F Projekt ist weg (Eclipse -> ICQ) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
D Eclipse Wie ein NetBeans-Projekt automatisch in Eclipse importieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
ruutaiokwu eclipse zeigt nur noch das eine projekt an... IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
N Eclipse bestehendes Projekt in Eclipse einfügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
G Eclipse Projekt Set IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
FoolMoon Eclipse Projekt mit PW versehen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T Eclipse - Einbinden von dlls in Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
L Eclipse-Projekt aus SVN so auschecken, daß Junit funktioniert IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T Eclipse+SVN, J2EE-Projekt, Checkout IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
S Netbeans Projekt nach Eclipse migrieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
B komplettes projekt in eclipse wieder öffnen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
G Eclipse - Projekt verschieben IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
D Projekt ohne Komplikationen in Eclipse importieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
O Suche ne Eclipse Version für ein Java Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Neues Seam Projekt mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C Java-Projekt in Eclipse importieren/exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
B Eclipse - Projekt von Windows nach Linux IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
J Eclipse WTP: Web Projekt - mysql einbindung nicht moeglich IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
R Eclipse: wie Bilder zum Projekt hinzufügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
J Eclipse: Jar Library -> Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Eclipse-Projekt, inkl. externe jars und Bilderordner zu jar? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
E Eclipse 3.3 JEE- kann kein J2EE Projekt erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
M Eclipse: JAR-Archive vom Projekt erzeugen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
J Spring in Eclipse-Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
F Eclipse: SWT Projekt in JAR packen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
L Eclipse Projekt gelöscht (auch physikalisch) - recovery? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
E Eclipse: Dateien zu Projekt hinzufügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
M wie beliebige Wörter im gesamten Eclipse-Projekt suchen ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
S eclipse Projekt read-only IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
R Eclipse beim Ausführen zur Eingabe in die Konsole springen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse oder IntelliJ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
JonasM Gibt es eine Libary in Eclipse mit der ich Daten per USB an einen Microkontroller Senden kann? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Erstellen einer ausführbaren jar Datei in Eclipse (Linux Mint) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
O Eclipse stürzt beim Autovervollständigen ab IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
C In Eclipse Einrückung im Java-Editor einstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Avalon html ist nicht html in eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A Docker im Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Robertop Eclipse resolved Target-Platform nicht wegen automatischem HTTPS IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Eclipse englisch, deutsche Kommentare leider rot unterkringelt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse von Java 1.8 auf 17 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S [Eclipse] Zwei verschiedene Konfigurationen erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
D Eclipse Eclipse und OpenGL IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Ausführbares Programm aus Eclipse exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
Java00User00 Eclipse Theme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Eclipse für Java 1.8 ARM einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
D Crawler funktioniert in intellij aber in Eclipse nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
U Problem mit Eclipse - WindowBuilder - memoryLeak? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
F Eclipse - Änderung am Code ohne Applikation Neustart IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
E Hilfe mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Eclipse version control System das ohne Internet funktioniert/nur lokal auf Computer? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
B Eclipse Problem mit jar Datei? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
N Eclipse erzeugt plötzlich keine (default package) mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 24
F alle Eclipse Projekte auf git hochladen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
O Java Eclipse Umlaute werden nicht richtig dargestellt in Konsole IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
B .exe Datei für Eclipse Java Programm erstellen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
Eclipse Build path duplication entry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
B Wie nicht-java Datei mit Eclipse benutzen (Excel Datei einlesen)? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
nbergmann Eclipse Eclipse-Concole: Ergebnis-Zahlenfolge erscheint kurz und verschwindet dann wieder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 21
berserkerdq2 Eclipse Eclipse führt nicht dei Klasse aus, bei der ich bin, muss das immer manuell ändern, was tun? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
MiHimbert Eclipse + Wildfly26 + primefaces11 + openjdk18 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
S Eclipse Umlaute IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
S Fehlermeldung bei Nutzung Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
LimDul IDEA IntelliJ Tipps für den Umstieg von Eclipse auf intelliJ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Robertop Maven Warnung "'version' contains an expression but should be a constant" in Eclipse verstecken IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J Eclipse - kein Server verfügbar zum ausführen meines Java Projektes IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
P PHP Skript wird nicht mit highlights markiert(Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B Eclipse Autovervollständigung zeigt nicht alle Methoden einer Klasse an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse- Zip Datei als Prgramm IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T Eclipse scheint awt Libary nicht zu besitzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
G eclipse mit neuestem JDK einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Cucumber Plugin Installation . Eclipse Warnmeldung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Eclipse CDT Library einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Javac File generieren Eclipse oder IntellJ (JNI) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
sham5 Eclipse-Remote-Debugging von Java mit mehreren Prozessen oder Ports oder Netzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
Eichi1979 Eclipse Fehler in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
Arita wie kann man die automatische erstellte Ordner von Eclipse in D Drive ziehen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nonickatall paho.client.mqttv3 in Eclipse installieren/einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
A Einbindung von FXML-Dateien in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A JavaFX in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
nonickatall Remote Debugging Eclipse/Raspberry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
H Outline Fenster (Gliederung) wird mit deutschem Sprachpaket nicht angezeigt, Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2

Ähnliche Java Themen

Neue Themen


Oben