Changes between Version 70 and Version 71 of InstallNotes
- Timestamp:
- 2014-05-18T18:21:27+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallNotes
v70 v71 10 10 11 11 == Running == 12 A working Java Runtime Environment version 6.0or newer is needed to run JOSM.12 A working Java Runtime Environment version 7 or newer is needed to run JOSM. 13 13 14 14 === Microsoft Windows === … … 20 20 Create a shortcut like in the following example: 21 21 {{{ 22 C:\WINNT\system32\java.exe -jar -Xmx 512M "C:\PATH-TO-JOSM\josm-latest.jar"22 C:\WINNT\system32\java.exe -jar -Xmx1024M "C:\PATH-TO-JOSM\josm-latest.jar" 23 23 }}} 24 24 … … 27 27 === Linux / *BSD === 28 28 **packages**:: 29 In some Distributions prepacked packages exist to install JOSM with your favo urite package manager from the repositories.29 In some Distributions prepacked packages exist to install JOSM with your favorite package manager from the repositories. 30 30 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. 31 31 … … 53 53 54 54 '''GNOME''':: 55 Right click on the JAR file, and select __O__pen with " Sun Java 6.0Runtime", or whateverjava version you have.55 Right click on the JAR file, and select __O__pen with "OpenJDK7 Runtime", or whatever Java version you have. 56 56 57 57 '''XGL/Compiz''':: … … 73 73 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. 74 74 75 3. However, if you need to start it up with additional Java parameter(s) (e.g. -Xmx 512M) you can also use the MacOS "Terminal" and start JOSM (Java) manually:75 3. However, if you need to start it up with additional Java parameter(s) (e.g. -Xmx1024M) you can also use the MacOS "Terminal" and start JOSM (Java) manually: 76 76 77 77 Start the "Terminal" application (e.g. by typing "Terminal" into the Spotlight search) … … 93 93 {{{ 94 94 #!sh 95 java -Xmx 256M -jar FOLDER/josm-latest.jar95 java -Xmx512M -jar FOLDER/josm-latest.jar 96 96 }}} 97 97 98 This would allow JOSM to use up to 256MB of RAM (memory). The java option "-Xmx256M" set's the maximum Java heap size to265MB. You are free to replace -Xmx256M by any number appropriate for your system (e.g. -Xmx512M or even-Xmx1024M).98 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. -Xmx1024M or even more). 99 99 100 100 By the way. To get an overview of all Java start options you can type in: … … 107 107 108 108 == Getting the Source == 109 JOSM is available under GPL, and so of course you can get the sources and compile, modify or redistribute it by yourself. You can grab the sources via [http://subversion. tigris.org subversion]109 JOSM is available under GPL, and so of course you can get the sources and compile, modify or redistribute it by yourself. You can grab the sources via [https://subversion.apache.org subversion] 110 110 {{{ 111 111 #!sh … … 158 158 It is most convenient, to run tests from an IDE like Eclipse or Netbeans. There is also an ant task to run all tests (but you cannot rerun individual tests). 159 159 160 All unit tests can be run in headless mode (i.e, without a graphic display), allowing them to be run in continuous integration projects. 161 160 162 === Running Test from Command line === 161 163