Quellcode mit SWT ohne Eclipse kompilieren

Status
Nicht offen für weitere Antworten.

André Uhres

Top Contributor
Hallo.
Ich möchte eine Java Quellcodedatei mit NetBeans kompilieren.
Die Datei enthält aber SWT-Sachen wie z.B.:
Code:
import org.eclipse.swt.SWT;
SWT ist ja ein Plugin von Eclipse.
Was brauch ich nun um dieses Programm ohne Eclipse, also mit einer anderen IDE (hier NetBeans), zu kompilieren?
 

SamHotte

Top Contributor
Die SWT-Jars (von der Eclipse-Download-Seite als SWT-Runtime oder als RCP-Runtime (da ist dann noch ein bisschen mehr drin) herunterzuladen).
 

André Uhres

Top Contributor
SamHotte hat gesagt.:
Die SWT-Jars (von der Eclipse-Download-Seite als SWT-Runtime oder als RCP-Runtime (da ist dann noch ein bisschen mehr drin) herunterzuladen).
Hat geklappt.
Hier ist der Link: SWT
Man muss swt.jar und auch die *.dll Dateien in den classpath tun.
Die *.dll Dateien braucht man um das Programm auch ausführen zu können.

Danke SamHotte für die schnelle Hilfe :toll:
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
J Quellcode einer Methode anzeigen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
M Eclipse Änderungen am Quellcode werden nicht übernommen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
U Quellcode zwischen Java- und Androidprojekt teilen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
W Plugin für Quellcode -> UML ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T NetBeans Matisse GUI Builder (Quellcode einsehen) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
I Java Quellcode synchronisieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Eclipse Console - Quellcode Verlinkung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
C Eclipse: Sonderzeichen im Quellcode IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
R Netbeans - pinke senkrechte Linie über den Quellcode IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T UML aus Quellcode (am liebsten für Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
D Quellcode Anordnung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G SUN JDK Quellcode zum Debuggen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S Netbeans Quellcode-Sperre bei GUI-Anwendungen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
F Eclipse - Änderung am Code ohne Applikation Neustart IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
B Eclipse version control System das ohne Internet funktioniert/nur lokal auf Computer? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
O NetBeans Java Projekt OHNE Maven erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
O NetBeans Java Projekt OHNE Maven IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
B Kompilieren in Eclipse ( 2 Klasse ohne main()-Methode) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
M Intellij IDEA Programm ohne Main-Methode starten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T .project Datei im Explorer ohne Namen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
it_is_all NetBeans Clean and Build Project - Buttons ohne Funktion bei jar-Datei IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
M Eclipse JavaFX ohne e(fx)clipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
wolfgang63 Netbeans 8.2 ohne Projektvorlagen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A in netbeans 8 mit jdk 8 erstellte jar's laufen nicht auf anderen rechnern ohne jdk IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Java ohne IDE IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
I Eclipse, Ausklappen mit Stern, aber ohne Outline der Klassen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Welche IDE, die GUIs gestalten kann, ohne externe Lagerung? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S NetBeans Serializable Class ohne package IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Eclipse Diverse Errors ohne Grund IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
fastjack EMMA ohne AllTests IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Eclipse Debuggen ohne Haltepunkt?? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
M Eclipseprojekte (Java) ohne Eclipse ausführen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
ARadauer Ganymede ohne JSP Editor IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse: Ausführen eines Programmes ohne Ant möglich? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
D Projekt ohne Komplikationen in Eclipse importieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Subversion ohne Repository (Server) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
reibi Eclipse - Classfiles ohne Source werden automatisch gelöscht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Programmieren mit Eclipse ohne Javadownload? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
ARadauer eclipse compiliert ohne jdk IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
F eclipse rcp ohne pluginsystem, also nur die gui davon? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
R Eclipse beim Ausführen zur Eingabe in die Konsole springen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
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
A Eclipse Projekt-Umzug mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
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
E Hilfe mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
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
T GlassFish mit Eclipse, Dynamic Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
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
M Kann EGit nicht auf Eclipse installieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Tobero Eclipse Eclipse zeigt mir alles als Warnung an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
B Versionen kontrollieren / dokumentieren mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
keinLebenNurCode Eclipse Eclipse: Gelbes Hilfsfenster für Funktionen und Methoden anzeigen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
windl Probleme mit Eclipse unter Linux IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
H Eclipse Fehler beim starten des Projekts IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
N Eclipse debug Gradle-Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1

Ähnliche Java Themen

Neue Themen


Oben