Packet einbinden - Netbeans

Status
Nicht offen für weitere Antworten.
Hi!
Ich habe mir den browserlauncher2 als packet in mein projekt integriert,
sprich es ist jetzt unter Libraries->BrowserLauncher.jar

Jetzt kann ich es ohne Probleme kompilieren...

Sende ich nun die jar Datei die unter [projektname]->dist gespeichert ist an
einen Freund, dann kommt bei ihm die Meldung
12.11.07 20:15:58 [0x0-0xb40b4].com.apple.JarLauncher[1553] java.lang.NoClassDefFoundError: edu/stanford/ejalbert/BrowserLauncher

Wie muss ich korrekt kompilieren?
Was muss ich eintstellen?
Oder sollte ich die browserlauncher.jar in meine Projekt jar einfügen???


Schonmal vielen vielen Dank!

MfG Straightflush
 

L-ectron-X

Gesperrter Benutzer
Das hat mit dem Kompilieren nichts zu tun. Du musst die Bibliothek NetBeans bekannt machen.
Dazu kannst du dir mal Folgendes ansehen: http://forum.byte-welt.de/showthread.php?t=541

Du wirst nur den oberen Teil des zweiten Posts benötigen.
Alternativ kannst du mit Rechtklick auf dein Projekt und weiter auf Properties -> Libaries -> Add Libary
deine Bibliothek bekannt machen.
 
So hatte ich es schon...

Mein Projektordner sieht dann folgendermaßen aus:

C:\[...]\openBrowser\build
C:\[...]\openBrowser\build.xml
C:\[...]\openBrowser\dist
C:\[...]\openBrowser\manifest.mf
C:\[...]\openBrowser\nbproject
C:\[...]\openBrowser\src
C:\[...]\openBrowser\build\classes
C:\[...]\openBrowser\build\classes\openbrowser
C:\[...]\openBrowser\build\classes\openbrowser\Main.class
C:\[...]\openBrowser\dist\lib
C:\[...]\openBrowser\dist\openBrowser.jar
C:\[...]\openBrowser\dist\README.TXT
C:\[...]\openBrowser\dist\lib\BrowserLauncher2-all-1_3.jar
C:\[...]\openBrowser\nbproject\build-impl.xml
C:\[...]\openBrowser\nbproject\genfiles.properties
C:\[...]\openBrowser\nbproject\private
C:\[...]\openBrowser\nbproject\project.properties
C:\[...]\openBrowser\nbproject\project.xml
C:\[...]\openBrowser\nbproject\private\private.properties
C:\[...]\openBrowser\nbproject\private\private.xml
C:\[...]\openBrowser\src\openbrowser
C:\[...]\openBrowser\src\openbrowser\Main.java


Öffne ich die Datei C:\[...]\openBrowser\dist\openBrowser.jar in diesem Ordner so tut alles optimal...

Verschiebe ich sie dagegen fehlt die BrowserLauncher.jar, was ja auch logisch ist.

Muss ich das Ganze noch irgendwie zu ner Jar machen??? Muss diese dann einen bestimmten Namen haben?


Schonmal vielen vielen Dank für eure Hilfe!
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
J Eclipse CDT Library einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nonickatall paho.client.mqttv3 in Eclipse installieren/einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
A JavaFX in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
D IDEA IntelliJ Dokumentation von Libaries einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Intellij "httpRequest" ins Projekt mit einbinden? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 49
B IntelliJ - .properties in jar einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
robbin IDEA IntelliJ fremde/externe Bibliothek einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Jar erstellen und einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
X Eclipse Einbinden von Bildern bei .jar IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
X Plugin lässt sich nicht einbinden.. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
B IDEA IntelliJ JDK wird nicht erkannt und lässt sich nicht einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse Java-Klassen aus dem einen in ein anderes Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
I Eclipse WindowBuilder Grafiken (icons) einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
El_Lobo Eclipse LAF jar file einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
H NetBeans Library in JAR einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
M Eclipse Webstart plugin einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T Eclipse Java src einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
C NetBeans Libaries im projekt einbinden?! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M NetBeans Winpcap/Jpcap einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
K Eclipse Einbinden von Nativer Bibliothek funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
N externe Library in Eclipse "richtig" einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Kr0e Eclipse Tool für Jars - Automatisch Dependencies einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
R NetBeans Eigene Komponenten in GUI einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
F Eclipse Eigene Java Bibliothek erstellen/einbinden (ECLIPSE) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T Eclipse Jython-Lib in Java-Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
K Eclipse Libraries richtig einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
D Eclipse JEE 6 Javadoc/Source in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
D Wie kann ich C++ unter/in NetBeans 6.9 einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
G JBoss in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
J Eclipse JAR erstellen, anderes JAR einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S NetBeans Netbeans Bibliothek einbinden aus .zip IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
K NetBeans Task selber schreiben und in Swing Application Framework einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Z Eclipse neue Projekte einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse - Einbinden von dlls in Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
E Einbinden aus WSDL generierten Klassen, BING Geocoding IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
H Netbeans - jar erstellen, externe Jars mit einbinden/ausgeben IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
H eclipse: wie benötigte Jar-file einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Ant-Tasks in Maven einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
J Java3D-Doc in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Jboss in eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
R@llo Einbinden der Java SE 6 Documentation in Eclipse EE IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
V Problem mit einbinden externer Bibliotheken [NetBeans] IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N Einbinden von externen Dateien in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
Q neue Lib mit src einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
V Wicket oder andere bibliotheken einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G dtjcb in eclipse einbinden? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Plugin: vorhandene EditorParts einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
F Neue Steuerelemente in NetBeans einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S NetBeans: PNGs aus Iconsammlung einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
L Eclipse: Externe JARs in eigenes JAR einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
A kstemmer java Dateien in eigenes Netbeans Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Einbinden von JAR Dateien in NetBeans und Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
J Spring in Eclipse-Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
B Eclipse: RXTX Libary einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
B hsqldb libary in netbeans einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
E servlet.jar einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
W Standart-Library Sourcedateien einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C NetBeans - eigene Komponenten in Palette einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Externe JARs einbinden! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
G NetBeans 4.1 - externe jars in Projekt-jar einbinden ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
D Speech Recognition Libraries in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
M [Netbeans] Class Datei einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
P servlet.jar einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
J API einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
P Eclipse: Oracle JDBC Treiber einbinden in die IDE, Classpath IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
R Newbie : Eclipse 3.01 Zwei ext.JArs in eigene einbinden ! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
A Struts-Doku (Javadoc) in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
M Eclipse Plugin einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
P jar File in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
H Eclipse: ToughGraph einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
H Eclipse: JAR-Datei einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S Eclipse: dylib unter Mac OS X einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
N Eclipse: API einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G daten in eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
N NetBeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Netbeans nutzt veraltete Bibliotheken für JAX-WS IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
W Debugger - Netbeans vs. VSCode IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J Erstellen eines java Projekts mit Gradel in netbeans. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
R Ist netbeans noch eine gute Wahl? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
mihe7 NetBeans 17 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
MiMa Netbeans zu IntelliJ mit Maven konvertieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
I NetBeans 15 - Strg+Z (undo) und Strg+Y (redo) funzen nicht mehr nach Start der Java-Anwendung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J Netbeans 14 friert unter Linus Mint 21 prötzlich ein IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
mihe7 NetBeans NetBeans 16 ist da IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
M Altes Java Projekt in Netbeans importieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
MiMa Methoden in Netbeans vergleichen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 23
M Linux Mint - Apache NetBeans 14 - Installationsanleitung deutsch IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Neumi5694 Netbeans Warnung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
T NetBeans NetBeans IDE 13 | Cannot find main class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J Seltsames Verhalten einer Klasse in netbeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S License-Header in NetBeans 8.2 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Netbeans 12.6 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
kodela NetBeans App lässt sich ausßerhalb von NetBeans nicht ausführen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J Netbeans - WakaTime - Plugin sendet keine Daten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
J Netbeans - Werte von Variablen überwachen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
donnico2 Fehler beim Installieren von Apache Netbeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J netbeans - refactoring funktioniert nicht mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
S Netbeans unterstützung für "Rule Switch" - Bug? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
O NetBeans Netbeans 12.0 - Hintergrundfarbe, auch im Navigator und Projekt umstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Kombinationsproblem: netbeans, gradle, mysql, json IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5

Ähnliche Java Themen

Neue Themen


Oben