| Version 1 (modified by , 10 years ago) ( diff ) |
|---|
Andere talen:
Semi-stabiele versie
De laatste semi-stabiele versie staat altijd hier: josm-tested.jar - we noemen het geen "release" omdat het, hoewel het meer robuust is dan de nachtelijke bouw, gewoonlijk niet zoveel testen ondergaat als gebruikelijk is voor een release.
Nachtelijke bouwsels
u kunt altijd de laatste nachtelijke bouw ophalen vanaf josm-latest.jar. Veel gebruikers gebruiken deze in feite voor hun dagelijkse werk.
Uitvoeren
Een werkende Java Runtime Environment versie 7 (ALLEEN 32 bit pakket, 64 bit pakket verschaft niet de juiste bibliotheken) of nieuwerzijn nodig om JOSM uit te kunnen voeren.
Microsoft Windows
Dubbelklik op het jar-bestand.
Als dat niet werkt, dan moet u waarschijnlijk nog de Java Runtime
installeren.
In meer uitgebreide bewerkingssessies, zou u een fout "out of memory" kunnen tegenkomen. Het toegewezen geheugen kan worden verhoogd om dit te voorkomen.
Maak een sneltoets zoals in het volgende voorbeeld:
java.exe -jar -Xmx2048M "C:\PAD-NAAR-JOSM\josm-latest.jar"
U mag javaw.exe gebruiken in plaats van java.exe om te voorkomen dat het venster van de Java console geopend blijft.
Wees voorzichtig als u een 64-bit versie van Windows gebruikt, de Java Runtime (update elke maand) wordt geïnstalleerd in 64-bit.
Maar de extensie JAR start alleen met de 32-bit versie van de Java Runtime (map Program Files (x86) - map "bin") sinds de v8u66.
Bezoek de hoofdsite www.java.com, kies er voor om Java te downloaden ... en kies het pakket i586. U mag het pakket voor de 64-bit behouden omdat het niet is geïnstalleerd op dezelfde plaats als het 32-bit (i586) pakket.
Linux / *BSD
Bekijk ook: HowTo JOSM-onder-Linux
- packages
- Er bestaan in sommige Distributions vooraf verpakte packages om JOSM te installeren met uw favoriete pakketbeheerder vanuit de opslagplaatsen. Hoewel deze pakketten wat ouder zouden kunnen zijn dan de .jar-bestanden op de hoofdpagina, passen zij normaal gesproken beter in de omgeving en installeren automatisch afhankelijkheden en een starter in het menu.
Opmerking: Het is geen probleem om het vooraf verpakte pakket te installeren en nog steeds bovenstaande .jar-bestanden te gebruiken zoals hierboven vermeld, maar wees voorzichtig met aanvullende pakketten, zoals plug-ins voor JOSM (zie #7483).
Voor SUSE en Ubuntu zijn er ook pakketten op deze pagina beschikbaar. Als er geen pakket bestaat of u wilt het niet gebruiken, kunt u het JOSM .jar-bestand downloaden vanaf de hoofdpagina (tested of latest version) of hem vanuit de bron opbouwen.
- de shell gebruiken
-
Ga naar de maar waar josm-latest.jar staat en typ
om te starten. Vervang
java -jar josm-latest.jar
josm-latest.jardoor de naam van het jar-bestand dat u heeft geladen, bijv.josm.jarvoor uitgaven.
If this doesn't help, try to set your JAVA_HOME variable to the java location (the root location, not the bin. As example:
export JAVA_HOME=/usr/lib/jvm/default-java java -jar ''josm.jar''
See also command line options and Josm under Linux Howto for additional info.
- KDE
- There is a tutorial on how to setup your environment to start jar-files by clicking on them.
- GNOME
- Right click on the JAR file, and select Open with "OpenJDK7 Runtime", or whatever Java version you have.
- XGL/Compiz
-
Type this into a shell:
as described here: http://kubasik.net/blog/index.php/2006/06/19/java-sun-150-and-xglcompiz-on-ubuntu/
export AWT_TOOLKIT=MToolkit && java -jar josm-test.jar
- Blank window on startup
- AWT before JDK7 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 workarounds for this problem. There is also an xmonad specific way of doing the wmname thing.
MacOS
- If you have downloaded
josm-latest.jaryou can start JOSM by clicking on the josm-latest.jar file in the MacOS 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.
- 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 this and #7904 for more information.
- If you get "The Java JAR file could not be launched", chances are you are running Java 6 rather than Java 7. Run from a terminal to check, as nothing appears in the system log.
- If you need to supply parameters (e.g. -Xmx2048M to run with more Java memory) you can use the MacOS "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):
Whereas "FOLDER" should be replaced by the name of the folder you have josm-latest.jar downloaded to. If you have downloaded it to the standard MacOS "Downloads" Folder it would look like:
java -jar FOLDER/josm-latest.jar
java -jar Downloads/josm-latest.jar
- to use additional java options just add them right after "java"
- type in the following command and press "Enter" to start JOSM without any special java options (simply starts up JOSM like under point 1):
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:
java -Xmx512M -jar FOLDER/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:
java -help
- 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.


