eigene Library In NetBeans 11.1

gbunge

Aktives Mitglied
Hallo,
mir gelingt es nicht, für ein Projekt meine eigene Library einzubinden.

In NetBeans 8.2 habe ich: Projekt | Properties | Libraries den Ordner HOME/Libs auswählen können und dort die Library bestimmt.

In NetBeans 11.1: Projekt | Properties | Libraries zeigt einen anderen Dialog, mit dem ich nicht klar komme.
Der Import meiner Library ergibt die Fehlerausgabe: Package myjava.util does not exist.

Wie bekomme ich meine Library in das Projekt?

Gruss GBunge
 

mihe7

Top Contributor
Da Du uns nichts zeigst, müssen wir raten: Du hast die Lib unter dem Modulepath und nicht unter dem Classpath hinzugefügt?
 

gbunge

Aktives Mitglied
Hallo mihe7,
die Library habe ich durch Klick auf das PLUS-Zeichen hinter Classpath hinzugefügt.
Das Ergebnis ist das gleiche: Package myjava.util does not exist.
Beim probieren habe ich es auch unter Modulepath versucht.
Auch hier das gleiche Ergebnis.
 

mihe7

Top Contributor
Dann müsstest Du im Projekt unter Libraries Deine jar sehen. Die könntest Du dort mal "öffnen" (+ vor Datei) und reinschauen.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
beatles Eclipse Methoden in eigene Klassen exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
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
J NetBeans GUI Builder und eigene ActionListener Klasse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse eigene Kürzel IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Java.getSkill() Eclipse Strg Leertaste nur eigene Methoden anzeigen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Kessi Maven assembly vergisst eigene Klassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
M Netbeans eigene Componenten einfügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
M Eigene Jar-Dateien zu Netbeans-Projekt hinzufügen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
K Eclipse 3.2 : Eigene visuelle Klasse verursacht Parse Error IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
C NetBeans - eigene Komponenten in Palette einbinden 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
J Eclipse CDT Library einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse: Projekt aus meinem Workspace als Library auswählen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
TheJavaKid NetBeans JDBC Library mit Netbeans in Jarfile mit packen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
W Java Byte Code Engineering Library (BCEL) Installation IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Eclipse Appcompat-v7 Library kann nicht geladen werden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
H Eclipse ADT Rendering Library Bug IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M NetBeans Simple Validation Library IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
O Eclipse Meine Anwendung so in eine Jar-Library kapseln, dass man die Sourcen nicht rekonstruieren kann IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
O Eclipse Suche nach Methode in einer "referenced" Jar-Library IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
L Eclipse Import von Library IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
H NetBeans Library in JAR einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B Eclipse Wie kann man eine externe Library importieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N externe Library in Eclipse "richtig" einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
D Eclipse Javadocs von User Library werden nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
G Eclipse Native Library Location relativ zum Projektordner, nicht relativ zum Workspace IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
P Eclipse Runnable Jar exportieren mit externer Library IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
B Beim erstellen einer .jar Datei wird fremde Library nicht erkannt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
G externe Library NetBeans / eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
J Eclipse: Jar Library -> Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
H java.library.path unter Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
W Standart-Library Sourcedateien einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Netbeans 4.1 --> junit library could not be found ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
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
O NetBeans Netbeans 8.2 mit JKD 15 ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J Seltsames Verhalten von netbeans bezüglich fxml Dateien IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J netbeans 12 - wie -Xlint:deprecation aktivieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Netbeans 11.1 - Gradel aktualisieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
E Suche aktuelle Netbeans-Version für Win 10 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 30
B Netbeans: Java Script Libraries funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J NetBeans Projekt erstellen nicht möglich IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
J Bekomme keine lauffähige jar (netbeans/gradle) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
J Install JasperReports on netbeans/gradle Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
W NetBeans Umzug von Netbeans 8.2 -> Netbeans 11.1: Plug-Ins IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
F Umstieg von Netbeans 8 mit JDK 8 auf Apache Netbeans 11 mit OpenJDK 12 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
MiMa JavaFX in Netbeans 11 installieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 32
G NetBeans Netbeans 8.2 hängt sich auf IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
W Netbeans and Git Projects IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
J NetBeans Dokumentation anderer Projekte IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
N Weder Eclipse noch Netbeans funktionieren auf Ubuntu 18.04 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
J NetBeans Download NetBeans und Java SDK IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
MiMa compile with -Xlint bei Netbeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Netbeans Meldung: Git Push Failed IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J Netbeans: Einsicht in den Programmlauf IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J NetBeans Notizen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C maven startet jetty, netbeans "run" startet glassfish IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
L NetBeans NetBeans autofill einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
pcfreak9000 Eclipse Netbeans generics IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
K Netbeans + Maven: default pom Inhalt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B IDE Netbeans und Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Netbeans CSS code completion abgeschaltet IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
TomatenBrot447 Netbeans ziegt mir falsche Tasteneingabe an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
wolfgang63 Netbeans 8.2 ohne Projektvorlagen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
MiMa Ist Netbeans mist ??? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
K easy UML Plugin Netbeans 8.1 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
WetWer NetBeans Wird NetBeans eigentlich noch unterstützt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
F Netbeans Overriden - @ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Tort-E NetBeans Netbeans RCP Spracheinstellungen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Netbeans GUI Builder größe ändern IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
Y Tomcat aus Netbeans heraus starten schlägt fehl IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A Login-Programmierung mit NetBeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
H Kann ich Commandline-Parameter in Eclipse oder Netbeans einfacher übergeben? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Netbeans Pfad IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
D NetBeans Maven Projekt in Netbeans => WEKA wirft (java.lang.OutOfMemoryError: Java heap space) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
S NetBeans 8.0.2: Startprogramm meldet: Hilfsprogramm für den Tastaturverlauf funktioniert nicht mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3

Ähnliche Java Themen

Neue Themen


Oben