[OSM-talk] Running JOSM (+ Java) on flash disk
tim
chippy2005 at gmail.com
Tue Sep 18 15:58:31 BST 2007
is there a default preferences file in the appdata directory? Try
deleting it first.
On 9/18/07, LeedsTracker <leedstracker at gmail.com> wrote:
> Hello all,
>
> I posted this to the talk-gb list earlier today, but someone suggested
> I send it here, so sorry if you've already received this.
>
> I would like to get JOSM working properly from a USB flash disk, with
> Java on the disk too, for times I am using a Java-less machine (e.g. a
> university computer).
>
> I have it mostly working but with some errors. My understanding of
> java is negligible but I would like to work on this. I have started
> some notes here:
> http://wiki.openstreetmap.org/index.php/Talk:JOSM#Run_JOSM_from_flash_drive_with_my_prefs.3F
>
> I copied an installation of the latest Java runtimes from an
> installation on my home PC to my flash disk.
>
> In a windows batch file, I can run JOSM like so:
>
> set APPDATA=\somefolder
> \java\bin\java.exe -jar \josm\josm-latest.jar
>
>
> The first line tells Java/JOSM where to find my preferences, and this works OK.
>
> JOSM then runs but I get an error popup at startup:
>
> Error initializing test SpellCheck
> org/openstreetmap/josm/gui/preferences/AnnotationPresetPreference
>
> ...and in the DOS box on launch it says:
>
> java.lang.NoClassDefFoundError:
> org/openstreetmap/josm/gui/preferences/AnnotationPresetPreference
>
>
> It looks like Java and/or JOSM is not finding things it expects to
> find, either within Java's libraries or within josm.jar.
>
> Any ideas on tackling this would be most welcome.
>
> Thanks,
> leedstracker
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list