117 | | $ cd ~/src |
118 | | $ svn co http://josm.openstreetmap.de/svn josm |
119 | | ''tons of output here'' |
120 | | $ export JAVA_HOME=/usr/local/jdk1.5.0 |
121 | | $ cd josm/src |
122 | | $ javac -cp .:../lib/MinML2.jar:../lib/metadata-extractor-2.3.1.jar:../lib/gettext-common-0.9.jar org/openstreetmap/josm/gui/MainApplication.java |
| 117 | $ svn co http://josm.openstreetmap.de/svn/trunk josm |
| 118 | ''tons of output here'' |
| 119 | $ cd josm/ |
| 120 | $ update-alternatives --list javac |
| 121 | /usr/lib/jvm/java-1.5.0-sun/bin/javac |
| 122 | /usr/lib/jvm/java-6-sun/bin/javac |
| 123 | $ export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun |
| 124 | $ mkdir build |
| 125 | $ javac -cp .:src:lib/metadata-extractor-2.3.1-nosun.jar:lib/gettext-commons-0.9.6.jar:lib/josm-translation.jar:lib/jfcunit.jar -d build src/org/openstreetmap/josm/gui/MainApplication.java |
| 126 | $ java -cp .:build:lib/metadata-extractor-2.3.1-nosun.jar:lib/gettext-commons-0.9.6.jar:lib/josm-translation.jar:lib/jfcunit.jar org.openstreetmap.josm.gui.MainApplication |