Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing De:InstallNotes
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages(revision=0)]] [[PageOutline(2-10,Inhaltsverzeichnis)]] == Stabile Version == Die letzte stabile Version befindet sich immer hier: [/josm-tested.jar]. Wir nennen es nicht "[wiki:Releases Release]", denn obwohl es robuster als die Nightly Builds ist, durchläuft es in der Regel nicht so viele Prüfungen wie ein Release. == Nightly Builds == Die letzte Nightly Build finden Sie immer hier: [/josm-latest.jar]. Viele Anwender benutzen sie tatsächlich für Ihre tägliche Arbeit. == Ausführung == Eine funktionierende Java-Laufzeitumgebung der Version 11 oder neuer ist zum Ausführen von JOSM erforderlich. === Microsoft Windows === Klicken Sie doppelt auf die jar-Datei. Wenn dies nicht funktioniert, müssen Sie wahrscheinlich die [https://java.com/download/index.jsp Java]-Laufzeitumgebung installieren. In more extensive edit sessions, you may get an "out of memory" error. To avoid this, the assigned memory can be increased.[[BR]] Create a shortcut like in the following example: {{{ java.exe -jar -Xmx2048M "C:\PFAD-ZU-JOSM\josm-latest.jar" }}} To avoid the Java console windows staying open, you can use `javaw.exe` instead of `java.exe`. Be carefully if you run a 64-bit version of Windows, the Java Runtime (update every month) may be installed in 64-bit when visiting the Java web site with a 64-bit version of your browser, or in 32-bit otherwise. Both Java platforms will coexist on the PC, but by default the file associations will run first the 32-bit version, creating VMs limited to a maximum of 247MB (if your VM size reaches this limit, due to the volume of data loaded, JOSM may become very slow or unresponsive). But, the JAR extension will only be launched with the 32-bit version of the Java Runtime ("\Program files (x86)\bin" folder, instead of "\Program files\bin" for the 64-bit version) since the v8u66 if both versions are installed. Visit the www.java.com main site, choose to download java ... and chose the i586 package. You can keep the 64-bit package because it is not installed at the same location than the 32-bit (i586) package. If only a 64-bit version of Java is installed on a 64-bit version of Windows (and with a Java version higher or equal to the minimum version specified in the JNLP if you use JavaWebStart to download/update and launch JOSM), JOSM will start automatically in a 64-bit Java VM (with more memory available to handle larger volumes of data, and better performance). Otherwise it will launch in a 32-bit Java VM, unless you add VM parameters to the command line to locate and use the 64-bit version of Java. But you may also uninstall any 32-bit versions of Java if you don't need applets in a 32-bit browser (the 32-bit version of Java remains useful when using an old 32-bit browser for using applets in web pages, or for 32-bit OSes where this is the only choice available on the web or in standalone usage). === Linux / *BSD === ''Siehe auch'': [wiki:HowTo/JOSM-under-Linux HowTo JOSM-under-Linux] **Pakete**:: In some Distributions prepacked packages exist to install JOSM with your favorite package manager from the repositories. Although these packages might be a bit older than the .jar files on the main page, they usually fit better into the environment and install dependencies and a starter in the menu automatically. **Hinweis**: There is no problem with installing the prepacked package and still using the .jar files listed above but be careful with additional packages like josm-plugins (see #7483). For SUSE and Ubuntu there are also packages on this page [[Download#openSUSE|available]]. If there exists no package or you do not want to use it you can download the JOSM .jar file from the [WikiStart main page] (tested or latest version) or build it from source. '''Verwendung der Shell''':: Gehen Sie in das Verzeichnis, in dem sich die josm-latest.jar befindet und geben Sie {{{ #!sh java -jar josm-latest.jar }}} zum Starten ein. Ersetzen Sie `josm-latest.jar` mit dem Namen der von Ihnen geladenen jar-Datei, z.B. `josm.jar` für Releases. If this doesn't help, try to set your JAVA_HOME variable to the java location (the root location, not the bin. As example: {{{ #!sh export JAVA_HOME=/usr/lib/jvm/default-java java -jar ''josm.jar'' }}} Siehe auch [wiki:Help/CommandLineOptions command line options] und [wiki:HowTo/JOSM-under-Linux Josm under Linux Howto] für weitere Informationen. '''KDE''':: There is a [/download/tutorials/setting_up_kde.avi tutorial] on how to setup your environment to start jar-files by clicking on them. '''GNOME''':: Right click on the JAR file, and select __O__pen with "OpenJDK11 Runtime", or whatever Java version you have. '''XGL/Compiz''':: Type this into a shell: {{{ #!sh export AWT_TOOLKIT=MToolkit && java -jar josm-test.jar }}} as described here: http://kubasik.net/blog/index.php/2006/06/19/java-sun-150-and-xglcompiz-on-ubuntu/ '''Leeres Fenster beim Start''':: AWT before JDK7 [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6574362 doesn't play well] with non-reparenting window managers (i.e. xmonad, awesome, dwm, ratpoison, Ion3, ...), resulting in the main window not being displayed properly on startup. The Awesome Wiki has [http://awesome.naquadah.org/wiki/Problems_with_Java workarounds] for this problem. There is also an [http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-SetWMName.html xmonad specific] way of doing the wmname thing. === Mac OS X === 1. If you have downloaded `josm-latest.jar` you can start JOSM by clicking on the josm-latest.jar file in the Mac OS X Finder (you might get the warning that you are about to open a file from the internet - just accept). This way to start JOSM should be sufficient in most cases. 2. If you are running Mountain Lion, you will need to temporarily disable Gatekeeper. Otherwise, you will be unable to open josm and upon launching josm, receive the error message "JOSM.app is damaged and can't be opened. You should move it to the Trash." Disable Gatekeeper by opening System Preferences > Security & Privacy, and setting 'Allow applications downloaded from:' to 'Anywhere'. Once you open the application, you can re-enable gatekeeper, and it appears that JOSM will open again without a problem. See [osmwww:user/drnoble/diary/17636 this] and #7904 for more information. 3. If you get "The Java JAR file could not be launched", chances are you are running an old Java version. Run from a terminal to check, as nothing appears in the system log. [[Image(wiki:InstallNotes:OSX_Error.png)]] 4. If you need to supply parameters (e.g. -Xmx2048M to run with more Java memory) you can use the Mac OS X "Terminal": Start the "Terminal" application (e.g. by typing "Terminal" into the Spotlight search) * Now you have two options: * type in the following command and press "Enter" to start JOSM without any special java options (simply starts up JOSM like under point 1): {{{ #!sh java -jar ORDNER/josm-latest.jar }}} Whereas "ORDNER" should be replaced by the name of the folder you have josm-latest.jar downloaded to. If you have downloaded it to the standard Mac OS X "Downloads" Folder it would look like: {{{ #!sh java -jar Downloads/josm-latest.jar }}} * to use additional java options just add them right after "java" If you for example have experienced the "Out of memory" warning (e.g. trying to load geo-tagged photos to JOSM) you would start JOSM like this: {{{ #!sh java -Xmx512M -jar ORDNER/josm-latest.jar }}} This would allow JOSM to use up to 512 MB of RAM (memory). The java option "-Xmx512M" set's the maximum Java heap size to 512 MB. You are free to replace -Xmx512M by any number appropriate for your system (e.g. -Xmx2048M or even more). By the way. To get an overview of all Java start options you can type in: {{{ #!sh java -help }}} 4. If you are using the Mac OS X Package and want to alter a startup parameter permanently, then you will need to alter the Info.plist file within the /Applications/JOSM.app/Contents directory. For example, to increase the maximum Java heap size from 512MB to 2048MB, either using the terminal or XCode, in the JVMOptions key alter the entry ''-Xmx512m'' to ''-Xmx2048m''. == Quellcode holen == → [[Download#Source]] == Kompilierung == → [[DevelopersGuide/Compiling]]
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.