| 170 | | == VM Auswahl unter Windows x64 == |
| | 170 | |
| | 171 | == Störungen beheben == |
| | 172 | === Java ===#Java |
| | 173 | [=#Doubleclickonafiledoesnothing] |
| | 174 | Wenn nach dem Doppelklick auf eine jar-Datei nichts passiert, ist häufig Java nicht installiert. |
| | 175 | |
| | 176 | JOSM wird entwickelt und getestet mit Oracles JVM, daher empfehlen wir Java von der dortigen [https://www.java.com/de/download/manual.jsp manuellen Download]seite zu beziehen. |
| | 177 | Die Systemarchitektur des Betriessystems (32 oder 64 Bit) ist leitend beim [https://www.java.com/de/download/faq/java_win64bit.xml auswählen] der Installationsdateien. Java 64 Bit wird empfohlen für JOSM. |
| | 178 | Zum Vermeiden ist die Seite java.com/de/download, weil die dortigen Automatiken trügerisch sein können. |
| | 179 | Es wird **kein** Java-Plugin im Web Browser benötigt, um JOSM zu nutzen. |
| | 180 | |
| | 181 | Für weitere Informationen siehe die [InstallNotes Installationshinweise] und [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles Störungs]seite |
| | 182 | |
| | 183 | ==== Testen der Java-Installation ====#Javatest |
| | 184 | [=#Troubleshootingjarfile] Prüft, was den Start von JOSM verhindet, die Beispiele sind für MS Windows. |
| | 185 | 1. Lade [/josm-tested.jar josm-tested.jar] herunter auf den Desktop. |
| | 186 | 1. Öffne eine Eingabeaufforderung. |
| | 187 | 1. Gib ein `cd %homepath%\Desktop`⏎ |
| | 188 | 1. Gbi ein `java -version `⏎ Drei Zeilen mit Versionsangaben sollten erscheinen. Wenn etwas anderes erschein, ist Java nicht richtig installiert. |
| | 189 | 1. Gin ein `java -jar josm-tested.jar`⏎. JOSM sollte jetzt laufen, gestartet von der [wiki:/Help:CommandLineOptions KOmmandozentrale]. |
| | 190 | 1. Beende JOSM. |
| | 191 | 1. Ginb ein `josm-tested.jar`⏎. Falls JOSM wieder startet, ist der Windows Explorer bereit für Doppelklicks auf jar-Dateien. |
| | 192 | |
| | 193 | |
| | 194 | === Web Start === |
| | 195 | [=#Troubleshootingjhlplink] |
| | 196 | Das Starten von JOSM über den Web Start-Mechanismus birgt viel mehr Schwierigkeiten als der übliche Weg mit dem Herunterladen einer jar-Datei und ihrem nachfolgenden Aufrufen. |
| | 197 | Daher sollte zunächst [#JavaTest Java] geprüft werden und erst danach der folgende Test absolviert oder anderwärts [https://www.java.com/de/download/faq/java_webstart.xml Was ist Java Web Start...?] geprüft werden. |
| | 198 | |
| | 199 | ==== Testen des Java Web Start ====#Webstarttest |
| | 200 | 1. Lade [/josm-tested.jar josm.jnlp] auf den Desktop herunter. |
| | 201 | 1. Öffne eine Eingabeaufforderung und bewege die Kommandozeile auf den Desktop. |
| | 202 | 1. Gib ein `javaws josm.jnlp`⏎. Dies sollte den ersten Download von JOSM starten, einen Sicherheitsdialog anbieten und das JOSM starten. |
| | 203 | |
| | 204 | |
| | 205 | === Virtuelle Machine ===#Troubleshootingjvm |
| | 206 | |
| | 207 | ==== Speichermangel ====#Outofmemory |
| | 208 | |
| | 209 | Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown. |
| | 210 | Wrongly chosen values can decrease JOSM performance. |
| | 211 | |
| | 212 | For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure a memory size that supports more plugins and features. On the other hand can slow machines be stabilized by restricting Javas memory use. |
| | 213 | If needed, use the [wiki:Help/CommandLineOptions command line] to set the [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI Java Option] -Xmx…m, for example `-Xmx512m` or `-Xmx1536m`. |
| | 214 | Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages. |
| | 215 | |
| | 216 | |
| | 217 | ==== Auswahl der virtuellen Maschine ====#VMselectiononWindowsx64 |
| | 218 | |
| | 219 | On current versions of MS Windows by default Java is installed mainly in the `C:\Program Files\Java\` directory. Additional parts are placed in `C:\Program Files\Oracle\Java\`. There is a `.\javapath\` directory as target for the PATH environment variable. It is the home for the three virtual files `java.exe`, `javaw.exe` and `javaws.exe`. This files are symbolic links form the current Java installations. |
| | 220 | |