151 | | === Using javac === |
152 | | |
153 | | You can also build josm without ant or eclipse. To do so, call `javac` on the file `org/openstreetmap/josm/gui/MainApplication.java` with all libs from `../lib/*.jar` in your classpath (you have to specify all subsequent). If running Linux, this would look like that: |
154 | | |
155 | | * Check out the sources |
156 | | {{{ |
157 | | #!sh |
158 | | svn co https://josm.openstreetmap.de/svn/trunk josm |
159 | | # ''tons of output here'' |
160 | | cd josm/ |
161 | | mkdir build |
162 | | }}} |
163 | | * Compile and run |
164 | | {{{ |
165 | | #!sh |
166 | | javac -cp .:src -d build src/org/openstreetmap/josm/gui/MainApplication.java |
167 | | java -cp .:build org.openstreetmap.josm.gui.MainApplication |
168 | | }}} |
169 | | |