Eclipse Pfad zur Java-Source ändert sich automatisch

Optimum

Mitglied
Hallo Leute,

hab ein kleines, aber irgendwie lästiges Problem mit meinem Eclipse:
Ich habe meinen Workspace auf einem USB-Stick, damit ich an verschieden Rechner arbeiten kann. Der USB-Stick wird auf allen Rechnern ins gleiche Laufwerk eingebunden und auch Eclipse und die Java JDK und JRE sind jeweils in den gleichen Ordnern installiert. Trotzdem geht jedesmal, wenn ich den Rechner wechsle, in Eclipse die Verknüpfung zur Java-Source verloren und er schreibt:
Source not Found
The JAR file C:\Program Files\Java\jre7\rt.jar has no source attachment.
Naürlich liegt in der JRE auch keine Source. Ich muss dann jedesmal die Source wieder auf [c]C:\Program Files\Java\jdk1.7.0_51\src.zip[/c] umstellen und das merkt er sich bis zum nächsten Computerwechsel. Wie kann ich ihm beibringen, dass er immer in der JDK suchen soll?

Grüße, Optimum
 

Optimum

Mitglied
Folgende Properties:
Code:
sun.boot.library.path:
C:\Program Files\Java\jre7\bin

java.library.path:
C:\Program Files\Java\jre7\bin;
C:\Windows\Sun\Java\bin;
C:\Windows\system32;
C:\Windows;
C:/Program Files/Java/jre7/bin/server;
C:/Program Files/Java/jre7/bin;
C:/Program Files/Java/jre7/lib/amd64;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\eclipse;;.

java.class.path:
M:\workspace\TestProject\bin;
M:\Javalib\mysql-connector-java-5.1.26-bin.jar;
M:\Javalib\joda-time-2.3.jar;
M:\Javalib\opencsv-2.3.jar

sun.boot.class.path:
C:\Program Files\Java\jre7\lib\resources.jar;
C:\Program Files\Java\jre7\lib\rt.jar;
C:\Program Files\Java\jre7\lib\sunrsasign.jar;
C:\Program Files\Java\jre7\lib\jsse.jar;
C:\Program Files\Java\jre7\lib\jce.jar;
C:\Program Files\Java\jre7\lib\charsets.jar;
C:\Program Files\Java\jre7\lib\jfr.jar;
C:\Program Files\Java\jre7\classes
 

Optimum

Mitglied
So, bin mal wieder dazu gekommen, mich darum zu kümmern:

Die Werte sehen auf allen Computern mehr oder weniger gleich aus. Die java.library.path weichen natürlich voneinander ab, je nachdem, welche Programme auf den jeweiligen Rechnern installiert sind, welche Grafikkarten verwendet werden usw., aber die Java-spezifischen Pfade, sowie die sun.boot.class.path sind alle identisch. Leider taucht halt auch nirgendwo der Pfad zur Java JDK auf, es wird immer nur die JRE verlinkt.
In Netbeans tritt dieses Problem nicht auf, da kann ich einfach die Maschinen wechseln ohne Einschränkungen.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
G [Eclipse] Argumente, Workspace Pfad, .java Dateien IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
F Netbeans Pfad IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C Pfad von .netbeans ändern IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
K cmd-Pfad kann nicht gefunden werden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T JDom als relativer Pfad IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T Eclipse: Deployment & Pfad Tomcat-Applikation IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Subclipse Repository Pfad ändern? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
R Beans Pfad? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
G relative URLs / Pfad IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T ANT und relativen Pfad IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C In Eclipse Einrückung im Java-Editor einstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J Erstellen eines java Projekts mit Gradel in netbeans. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
I Suche eine IDE in deutsch für Java und Android IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 20
Jose05 UML Diagramme aus Java Code erstellen oder andersherum IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
T Eclipse von Java 1.8 auf 17 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B Probleme beim erstellen von Java Class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
F Eclipse für Java 1.8 ARM einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
M import org.bukkit.plugin.java.JavaPlugin; funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
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
R Java auf Linux gibt mir ein Fehler in der Konsole, wie löse ich sowas? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
K Java Editor Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
M Altes Java Projekt in Netbeans importieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
O Escape-Sequenzen in Java \b wird in Konsole falsch dargestellt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
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
B Wie nicht-java Datei mit Eclipse benutzen (Excel Datei einlesen)? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
J Eclipse - kein Server verfügbar zum ausführen meines Java Projektes IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
T Java-Version für BlueJ-Mac-Version IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
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
Jose05 Wie kann man aus einem Java-Code native Apps erstellen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
J Java-File Import IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
brypa Probleme mit Java N-IDE App IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
Zrebna Eclipse Für Nutzung von JPA zwingend 'IDE for Java EE Developers notwendig'? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
P Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Robertop Groß- und Kleinschreibung bei Java-Templates ändern IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
sham5 Eclipse-Remote-Debugging von Java mit mehreren Prozessen oder Ports oder Netzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
Z java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
M Eclipse - Fehlermeldung bei JavaFX-Projekt "java.lang.module.FindException: Module javafx.controls not found" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 23
N Eclipse aus Java-Application JavaFX machenModule javafx.controls not found IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
G Java Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Einzelne Java-Dateien mit Eclipse compilieren - Wie geht das? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
Robertop Eclipse Eclipse Startprobleme "Java was started but returned exit code=1" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B standard-version für Java IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
B Netbeans: Java Script Libraries funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
coolian warum bekomm ich immer wieder wenn ich irgendwas mach eine java.lang.nullpointer exception in eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
M NetBeans Buildprozess inkludiert nicht die Classpath-Pakete (Java Ant) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
Tommy135 Error not found java.dll IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
K Eclipse EE und Java FX Autocomplete Probleme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
O Eclipse aufräumen Java Projekte sortieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
H Eclipse Konsole gibt falsches Java Projekt aus IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
D Java Konsole gibt seit neustem nichts mehr aus. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J NetBeans Download NetBeans und Java SDK IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
N NetBeans Java Code too large, wie *.java splitten? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
T Suche einen guten Java-Obfuscator? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
K Eclipse für Java, Python und C/C++ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
W Java Byte Code Engineering Library (BCEL) Installation IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
R Unterschied zwischen Eclipse JDT und Java JDK IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
WetWer Welcher Java Editor wird empfolen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
R Cygwin in der Java Entwicklung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Java IDE auswählen / einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
N Eclipse Probleme beim Einrichten von Java Card Umgebung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
R Suche Benchmark- /Stresstesttools zur performance Testung von Java Anwendungen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse Java-Formatter IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
L0MiN Java Editor Spinnt nur mein Java Editor? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
D Java-Anwendung blockiert IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
M Eclipse Java Eclipse Windowbuilder - interaktive Diaglog-GUI IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
D NetBeans Maven Projekt in Netbeans => WEKA wirft (java.lang.OutOfMemoryError: Java heap space) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
A IDEA IntelliJ IntelliJ Maven oder Webprojekt, kann keine normalen Java Klassen erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
P Java ohne IDE IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
M Java installiert sich falsch. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
M NetBeans java DB - The signer certificate will expire within six months. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
M Java als Standalone application ausführen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
W Eclipse nach Java Update 8 Ant Probleme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
A Eclipse Export/Auscheacken des Java-Projekts aus Eclipse für anderen Distributionen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
S Eclipse Java 3d in Eclipse einbetten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
M Java-Code in C++ übersetzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Eclipse Automatischer Import (wie java.lang) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
T java 3D zum laufen bringen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
J Jemand ne Ahnung warum meine Java Fenster immer schwarz werden? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
T Eclipse Java-Klassen aus dem einen in ein anderes Projekt einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J IDEA IntelliJ Java source code und Dokumentation IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S Frage zu Java IDE Android IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse Java src einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
F Java Editor Label Farbe IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
U Quellcode zwischen Java- und Androidprojekt teilen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
D Java IDEdroid IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
P Netbeans: Java-Plattformen verwalten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
X JAVA Turtle IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A .java kontroller IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
I Java-Editor geht nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
H Eclipse Klasse in mehr Java Projekten verwenden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T Eclipse Probleme Eclipse + Java 7 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
S Eclipse Java + Shellscript mit Maven und Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
F Eclipse: java.lang.NullPointerException bei System.console().printf() IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
A UML-Tool mit Java Source Code-Generator gesucht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
firefexx Kleines Java Projekt - Versionsverwaltung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
L GiT und Java IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
A java.lang.UnsatisfiedLinkError IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2

Ähnliche Java Themen

Neue Themen


Oben