[Talk-GB] Running JOSM (+ Java) on flash disk

Barnett, Phillip Phillip.Barnett at itn.co.uk
Tue Sep 18 14:11:17 BST 2007


You'd probably get more help if you posted to the general
talk at openstreetmap.org address...

Good luck


 
 



PHILLIP BARNETT
SERVER MANAGER

200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4474
F 
E PHILLIP.BARNETT at ITN.CO.UK
WWW.ITN.CO.UK

P  Please consider the environment. Do you really need to print this email?
-----Original Message-----

From: talk-gb-bounces at openstreetmap.org
[mailto:talk-gb-bounces at openstreetmap.org] On Behalf Of LeedsTracker
Sent: 18 September 2007 13:43
To: talk-gb at openstreetmap.org
Subject: [Talk-GB] Running JOSM (+ Java) on flash disk

Hello all,

Sorry if this is an inappropriate list but hope it's OK.

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_dr
ive_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-GB mailing list
Talk-GB at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-gb
Please Note:

 

Any views or opinions are solely those of the author and do not necessarily represent 
those of Independent Television News Limited unless specifically stated. 
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed. 
If you have received this email in error, please notify postmaster at itn.co.uk 

Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.

Thank You.





More information about the Talk-GB mailing list