You are not logged in.

#1 2007-07-04 14:26:11

rvanderh
Member
Registered: 2007-07-04
Posts: 4

josm in linux

Hallo,

I am working on a linux systeem (debian etch) with java environment version 5.0 update 10. Ik downloaded josm-latest.jar and placed it in /home/rik/.
I executed it by

java -jar josm-latest.jar

and got a lot of errors

java.io.FileNotFoundException: /home/rik/.josm/preferences (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:41)
        at org.openstreetmap.josm.data.Preferences.load(Preferences.java:119)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:114)
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
        at java.awt.Window.<init>(Window.java:317)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1666)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1743)
        at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1624)
        at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:836)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:645)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:616)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:587)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:118)

After this action there exists an empty dir /home/rik/.josm. Looking at the errors I need a 'preferences' under .josm.

Can anybody help me on. I also like to hear how your 'preferences' file looks like so I can try to make one myself.

Thanks, Rik

Last edited by rvanderh (2007-07-04 14:28:03)

Offline

#2 2007-07-04 14:54:56

rvanderh
Member
Registered: 2007-07-04
Posts: 4

Re: josm in linux

I tried to install jar in windows xp and get similar errors:

java -jar josm-latest.jar
Exception in thread "main" java.util.zip.ZipException: Het systeem kan het opgegeven bestand niet vinden
: java.util.zip.Zipfile.open<Native Method>
: java.util.zip.Zipfile.<init><Unknown Source>
: java.util.jar.JarFile.<init><Unknown Source>
: java.util.jar.JarFile.<init><Unknown Source>

Last edited by rvanderh (2007-07-04 14:55:57)

Offline

#3 2007-07-04 15:33:37

rvanderh
Member
Registered: 2007-07-04
Posts: 4

Re: josm in linux

Okay it turns out that this 'jar'-file is obviously a kind of archivefile. I was able to unpack it with konqueror. I know have a directory josm-latest with a deep directorytree (596 files).
.

|-- META-INF
|   |-- LICENSE.txt
|   `-- MANIFEST.MF
|-- README
|-- REVISION
|-- com
|   `-- drew
|       |-- imaging
|       |   |-- PhotographicConversions.class
|       |   `-- jpeg
|       |       |-- JpegMetadataReader.class
|       |       |-- JpegProcessingException.class
|       |       |-- JpegSegmentData.class
|       |       |-- JpegSegmentReader.class
|       |       `-- test
|       |-- lang
|       |   |-- CompoundException.class
|       |   |-- NullOutputStream.class
|       |   |-- Rational.class
|       |   `-- test
|       `-- metadata
|           |-- DefaultTagDescriptor.class
|           |-- Directory.class
|           |-- Metadata.class
|           |-- MetadataException.class
|           |-- MetadataReader.class
|           |-- SampleUsage.class
|           |-- Tag.class
|           |-- TagDescriptor.class
|           |-- exif
|           |   |-- CanonMakernoteDescriptor.class
|           |   |-- CanonMakernoteDirectory.class
|           |   |-- CasioType1MakernoteDescriptor.class
|           |   |-- CasioType1MakernoteDirectory.class
|           |   |-- CasioType2MakernoteDescriptor.class
|           |   |-- CasioType2MakernoteDirectory.class
|           |   |-- DataFormat.class
|           |   |-- ExifDescriptor.class
|           |   |-- ExifDirectory.class
|           |   |-- ExifInteropDescriptor.class
|           |   |-- ExifInteropDirectory.class
|           |   |-- ExifProcessingException.class
|           |   |-- ExifReader.class
|           |   |-- FujifilmMakernoteDescriptor.class
|           |   |-- FujifilmMakernoteDirectory.class
|           |   |-- GpsDescriptor.class
|           |   |-- GpsDirectory.class
|           |   |-- KodakMakernoteDescriptor.class
|           |   |-- KodakMakernoteDirectory.class
|           |   |-- KyoceraMakernoteDescriptor.class
|           |   |-- KyoceraMakernoteDirectory.class
|           |   |-- NikonType1MakernoteDescriptor.class
|           |   |-- NikonType1MakernoteDirectory.class
|           |   |-- NikonType2MakernoteDescriptor.class
|           |   |-- NikonType2MakernoteDirectory.class
|           |   |-- OlympusMakernoteDescriptor.class
|           |   |-- OlympusMakernoteDirectory.class
|           |   |-- PanasonicMakernoteDescriptor.class
|           |   |-- PanasonicMakernoteDirectory.class
|           |   |-- PentaxMakernoteDescriptor.class
|           |   |-- PentaxMakernoteDirectory.class
|           |   |-- SonyMakernoteDescriptor.class
|           |   |-- SonyMakernoteDirectory.class
|           |   `-- test
|           |-- iptc
|           |   |-- IptcDescriptor.class
|           |   |-- IptcDirectory.class
|           |   |-- IptcProcessingException.class
|           |   |-- IptcReader.class
|           |   `-- test
|           |-- jpeg
|           |   |-- JpegCommentDescriptor.class
|           |   |-- JpegCommentDirectory.class
|           |   |-- JpegCommentReader.class
|           |   |-- JpegComponent.class
|           |   |-- JpegDescriptor.class
|           |   |-- JpegDirectory.class
|           |   |-- JpegReader.class
|           |   `-- test
|           `-- test
|-- images
|   |-- about.png
|   |-- aligncircle.png
|   |-- alignline.png
|   |-- cancel.png
|   |-- clock.png
|   |-- colorchooser.png
|   |-- combineway.png
|   |-- connectosm.png
|   |-- converttoosm.png
|   |-- cursor
|   |   |-- crosshair.png
|   |   |-- modifier
|   |   |   |-- delete.png
|   |   |   |-- move.png
|   |   |   |-- segment.png
|   |   |   |-- selection.png
|   |   |   |-- way.png
|   |   |   `-- zoom.png
|   |   `-- normal.png
|   |-- data
|   |   |-- deleted.png
|   |   |-- empty.png
|   |   |-- key.png
|   |   |-- node.png
|   |   |-- object.png
|   |   |-- segment.png
|   |   `-- way.png
|   |-- dialogs
|   |   |-- add.png
|   |   |-- autoscale
|   |   |   |-- conflict.png
|   |   |   |-- data.png
|   |   |   |-- layer.png
|   |   |   `-- selection.png
|   |   |-- commandstack.png
|   |   |-- condiscon.png
|   |   |-- conflict.png
|   |   |-- delete.png
|   |   |-- down.png
|   |   |-- edit.png
|   |   |-- history.png
|   |   |-- layerlist.png
|   |   |-- mergedown.png
|   |   |-- propertiesdialog.png
|   |   |-- refresh.png
|   |   |-- revert.png
|   |   |-- search.png
|   |   |-- selectionlist.png
|   |   |-- showhide.png
|   |   |-- up.png
|   |   |-- upload.png
|   |   `-- userlist.png
|   |-- download.png
|   |-- downloadincomplete.png
|   |-- exit.png
|   |-- exportgpx.png
|   |-- getting_started.png
|   |-- help.png
|   |-- info.png
|   |-- layer
|   |   |-- marker.png
|   |   |-- marker_small.png
|   |   |-- osmdata.png
|   |   |-- osmdata_small.png
|   |   |-- rawgps.png
|   |   |-- rawgps_small.png
|   |   `-- tagimages.png
|   |-- loading.jpg
|   |-- logo.png
|   |-- mapmode
|   |   |-- addarea.png
|   |   |-- addsegment.png
|   |   |-- addway.png
|   |   |-- delete.png
|   |   |-- move.png
|   |   |-- node
|   |   |   |-- autonode.png
|   |   |   |-- node.png
|   |   |   `-- nodesegment.png
|   |   |-- selection
|   |   |   |-- select.png
|   |   |   `-- straight.png
|   |   `-- zoom.png
|   |-- markers
|   |   |-- photo.png
|   |   |-- speech.png
|   |   `-- web.png
|   |-- misc
|   |   |-- minus.png
|   |   |-- plus.png
|   |   |-- rectangle.png
|   |   |-- showhide.png
|   |   `-- sticky.png
|   |-- new.png
|   |-- ok.png
|   |-- open.png
|   |-- overlay
|   |   |-- connect.png
|   |   |-- disconnect.png
|   |   |-- invisible.png
|   |   `-- right.png
|   |-- preference.png
|   |-- preferences
|   |   |-- advanced.png
|   |   |-- connection.png
|   |   |-- display.png
|   |   |-- map.png
|   |   |-- plugin.png
|   |   |-- separator.png
|   |   `-- toolbar.png
|   |-- redo.png
|   |-- reorder.png
|   |-- save.png
|   |-- save_as.png
|   |-- segmentflip.png
|   |-- selectall.png
|   |-- splitway.png
|   |-- tagimages.png
|   |-- undo.png
|   |-- unselectall.png
|   |-- upload-preferences.png
|   |-- upload.png
|   `-- world.jpg
|-- org
|   |-- openstreetmap
|   |   `-- josm
|   |       |-- Main$1.class
|   |       |-- Main$2.class
|   |       |-- Main.class
|   |       |-- actions
|   |       |   |-- AboutAction$1$1.class
|   |       |   |-- AboutAction$1.class
|   |       |   |-- AboutAction.class
|   |       |   |-- AlignInCircleAction.class
|   |       |   |-- AlignInLineAction.class
|   |       |   |-- AutoScaleAction.class
|   |       |   |-- CombineWayAction.class
|   |       |   |-- DiskAccessAction.class
|   |       |   |-- DownloadAction.class
|   |       |   |-- DownloadIncompleteAction$1.class
|   |       |   |-- DownloadIncompleteAction$DownloadTask.class
|   |       |   |-- DownloadIncompleteAction.class
|   |       |   |-- ExitAction.class
|   |       |   |-- ExtensionFileFilter.class
|   |       |   |-- GpxExportAction$1.class
|   |       |   |-- GpxExportAction$2.class
|   |       |   |-- GpxExportAction$3.class
|   |       |   |-- GpxExportAction.class
|   |       |   |-- GroupAction$1.class
|   |       |   |-- GroupAction$2.class
|   |       |   |-- GroupAction$3.class
|   |       |   |-- GroupAction.class
|   |       |   |-- HelpAction$1.class
|   |       |   |-- HelpAction$2.class
|   |       |   |-- HelpAction$3.class
|   |       |   |-- HelpAction$Helpful.class
|   |       |   |-- HelpAction.class
|   |       |   |-- JosmAction.class
|   |       |   |-- NewAction.class
|   |       |   |-- OpenAction.class
|   |       |   |-- PreferencesAction.class
|   |       |   |-- RedoAction.class
|   |       |   |-- RenameLayerAction$1.class
|   |       |   |-- RenameLayerAction.class
|   |       |   |-- ReorderAction.class
|   |       |   |-- ReverseSegmentAction$1.class
|   |       |   |-- ReverseSegmentAction.class
|   |       |   |-- SaveAction.class
|   |       |   |-- SaveAsAction.class
|   |       |   |-- SelectAllAction.class
|   |       |   |-- SplitWayAction$1.class
|   |       |   |-- SplitWayAction$2.class
|   |       |   |-- SplitWayAction.class
|   |       |   |-- UndoAction.class
|   |       |   |-- UnselectAllAction.class
|   |       |   |-- UploadAction$1.class
|   |       |   |-- UploadAction$2.class
|   |       |   |-- UploadAction$UploadHook.class
|   |       |   |-- UploadAction.class
|   |       |   |-- downloadtasks
|   |       |   |   |-- DownloadGpsTask$Task.class
|   |       |   |   |-- DownloadGpsTask.class
|   |       |   |   |-- DownloadOsmTask$Task.class
|   |       |   |   `-- DownloadOsmTask.class
|   |       |   |-- mapmode
|   |       |   |   |-- AddNodeAction$AddNodeGroup.class
|   |       |   |   |-- AddNodeAction$Mode.class
|   |       |   |   |-- AddNodeAction.class
|   |       |   |   |-- AddSegmentAction.class
|   |       |   |   |-- AddWayAction.class
|   |       |   |   |-- DeleteAction.class
|   |       |   |   |-- MapMode.class
|   |       |   |   |-- MoveAction.class
|   |       |   |   |-- SelectionAction$Group.class
|   |       |   |   |-- SelectionAction$Mode.class
|   |       |   |   |-- SelectionAction.class
|   |       |   |   `-- ZoomAction.class
|   |       |   `-- search
|   |       |       |-- SearchAction$1.class
|   |       |       |-- SearchAction$SearchMode.class
|   |       |       |-- SearchAction.class
|   |       |       |-- SearchCompiler$1.class
|   |       |       |-- SearchCompiler$Always.class
|   |       |       |-- SearchCompiler$And.class
|   |       |       |-- SearchCompiler$Any.class
|   |       |       |-- SearchCompiler$ExactType.class
|   |       |       |-- SearchCompiler$Id.class
|   |       |       |-- SearchCompiler$Incomplete.class
|   |       |       |-- SearchCompiler$KeyValue.class
|   |       |       |-- SearchCompiler$Match.class
|   |       |       |-- SearchCompiler$Modified.class
|   |       |       |-- SearchCompiler$Not.class
|   |       |       |-- SearchCompiler$Or.class
|   |       |       |-- SearchCompiler$Selected.class
|   |       |       |-- SearchCompiler.class
|   |       |       `-- SelectionWebsiteLoader.class
|   |       |-- command
|   |       |   |-- AddCommand.class
|   |       |   |-- ChangeCommand.class
|   |       |   |-- ChangePropertyCommand.class
|   |       |   |-- Command$1.class
|   |       |   |-- Command$CloneVisitor.class
|   |       |   |-- Command.class
|   |       |   |-- ConflictResolveCommand.class
|   |       |   |-- DeleteCommand.class
|   |       |   |-- MoveCommand$OldState.class
|   |       |   |-- MoveCommand.class
|   |       |   `-- SequenceCommand.class
|   |       |-- data
|   |       |   |-- Bounds.class
|   |       |   |-- Preferences$Bookmark.class
|   |       |   |-- Preferences$PreferenceChangedListener.class
|   |       |   |-- Preferences.class
|   |       |   |-- SelectionChangedListener.class
|   |       |   |-- ServerSidePreferences$Connection.class
|   |       |   |-- ServerSidePreferences$Prop.class
|   |       |   |-- ServerSidePreferences.class
|   |       |   |-- conflict
|   |       |   |   |-- ConflictItem.class
|   |       |   |   |-- DeleteConflict.class
|   |       |   |   |-- FromConflict.class
|   |       |   |   |-- PositionConflict.class
|   |       |   |   |-- PropertyConflict.class
|   |       |   |   |-- SegmentConflict.class
|   |       |   |   `-- ToConflict.class
|   |       |   |-- coor
|   |       |   |   |-- Coordinate.class
|   |       |   |   |-- EastNorth.class
|   |       |   |   `-- LatLon.class
|   |       |   |-- osm
|   |       |   |   |-- DataSet.class
|   |       |   |   |-- DataSource.class
|   |       |   |   |-- Node.class
|   |       |   |   |-- OsmPrimitive$1.class
|   |       |   |   |-- OsmPrimitive.class
|   |       |   |   |-- Segment.class
|   |       |   |   |-- User.class
|   |       |   |   |-- Way.class
|   |       |   |   `-- visitor
|   |       |   |       |-- AddVisitor.class
|   |       |   |       |-- AllNodesVisitor.class
|   |       |   |       |-- BoundingXYVisitor.class
|   |       |   |       |-- CollectBackReferencesVisitor.class
|   |       |   |       |-- DeleteVisitor.class
|   |       |   |       |-- MergeVisitor.class
|   |       |   |       |-- NameVisitor.class
|   |       |   |       |-- SimplePaintVisitor.class
|   |       |   |       `-- Visitor.class
|   |       |   `-- projection
|   |       |       |-- Epsg4326.class
|   |       |       |-- Mercator.class
|   |       |       `-- Projection.class
|   |       |-- gui
|   |       |   |-- BookmarkList.class
|   |       |   |-- ConflictResolver$1.class
|   |       |   |-- ConflictResolver$2.class
|   |       |   |-- ConflictResolver$ConflictTableModel.class
|   |       |   |-- ConflictResolver$DblClickListener.class
|   |       |   |-- ConflictResolver$Resolution.class
|   |       |   |-- ConflictResolver$ResolveAction.class
|   |       |   |-- ConflictResolver.class
|   |       |   |-- GettingStarted$LinkLabel.class
|   |       |   |-- GettingStarted.class
|   |       |   |-- IconToggleButton$1.class
|   |       |   |-- IconToggleButton.class
|   |       |   |-- MainApplet$1.class
|   |       |   |-- MainApplet$MainCaller.class
|   |       |   |-- MainApplet$UploadPreferencesAction.class
|   |       |   |-- MainApplet.class
|   |       |   |-- MainApplication$1.class
|   |       |   |-- MainApplication$2.class
|   |       |   |-- MainApplication.class
|   |       |   |-- MainMenu.class
|   |       |   |-- MapFrame.class
|   |       |   |-- MapMover$ZoomerAction.class
|   |       |   |-- MapMover.class
|   |       |   |-- MapScaler.class
|   |       |   |-- MapSlider$1.class
|   |       |   |-- MapSlider.class
|   |       |   |-- MapStatus$1.class
|   |       |   |-- MapStatus$2.class
|   |       |   |-- MapStatus$Collector$1.class
|   |       |   |-- MapStatus$Collector$2.class
|   |       |   |-- MapStatus$Collector$3.class
|   |       |   |-- MapStatus$Collector$4.class
|   |       |   |-- MapStatus$Collector.class
|   |       |   |-- MapStatus$MouseState.class
|   |       |   |-- MapStatus.class
|   |       |   |-- MapView$1.class
|   |       |   |-- MapView$2.class
|   |       |   |-- MapView$3.class
|   |       |   |-- MapView$LayerChangeListener.class
|   |       |   |-- MapView.class
|   |       |   |-- NavigatableComponent.class
|   |       |   |-- OsmPrimitivRenderer.class
|   |       |   |-- PleaseWaitDialog.class
|   |       |   |-- PleaseWaitRunnable$1.class
|   |       |   |-- PleaseWaitRunnable$2.class
|   |       |   |-- PleaseWaitRunnable$3.class
|   |       |   |-- PleaseWaitRunnable$4.class
|   |       |   |-- PleaseWaitRunnable.class
|   |       |   |-- SelectionManager$1.class
|   |       |   |-- SelectionManager$2.class
|   |       |   |-- SelectionManager$SelectionEnded.class
|   |       |   |-- SelectionManager.class
|   |       |   |-- annotation
|   |       |   |   |-- AnnotationCellRenderer.class
|   |       |   |   |-- AnnotationPreset$1.class
|   |       |   |   |-- AnnotationPreset$Check.class
|   |       |   |   |-- AnnotationPreset$Combo.class
|   |       |   |   |-- AnnotationPreset$Item.class
|   |       |   |   |-- AnnotationPreset$Key.class
|   |       |   |   |-- AnnotationPreset$Label.class
|   |       |   |   |-- AnnotationPreset$Text.class
|   |       |   |   |-- AnnotationPreset.class
|   |       |   |   `-- ForwardActionListener.class
|   |       |   |-- dialogs
|   |       |   |   |-- CommandStackDialog$1.class
|   |       |   |   |-- CommandStackDialog$2.class
|   |       |   |   |-- CommandStackDialog.class
|   |       |   |   |-- ConflictDialog$1.class
|   |       |   |   |-- ConflictDialog$2.class
|   |       |   |   |-- ConflictDialog$3.class
|   |       |   |   |-- ConflictDialog$4.class
|   |       |   |   |-- ConflictDialog$5.class
|   |       |   |   |-- ConflictDialog$6.class
|   |       |   |   |-- ConflictDialog.class
|   |       |   |   |-- HistoryDialog$1.class
|   |       |   |   |-- HistoryDialog$2.class
|   |       |   |   |-- HistoryDialog$3.class
|   |       |   |   |-- HistoryDialog$4.class
|   |       |   |   |-- HistoryDialog$5.class
|   |       |   |   |-- HistoryDialog$HistoryItem.class
|   |       |   |   |-- HistoryDialog.class
|   |       |   |   |-- LayerListDialog$1.class
|   |       |   |   |-- LayerListDialog$2.class
|   |       |   |   |-- LayerListDialog$3.class
|   |       |   |   |-- LayerListDialog$4.class
|   |       |   |   |-- LayerListDialog$5.class
|   |       |   |   |-- LayerListDialog$DeleteLayerAction.class
|   |       |   |   |-- LayerListDialog$ShowHideLayerAction.class
|   |       |   |   |-- LayerListDialog$ShowHideMarkerText.class
|   |       |   |   |-- LayerListDialog.class
|   |       |   |   |-- LayerListPopup$InfoAction.class
|   |       |   |   |-- LayerListPopup.class
|   |       |   |   |-- PropertiesDialog$1.class
|   |       |   |   |-- PropertiesDialog$2.class
|   |       |   |   |-- PropertiesDialog$3.class
|   |       |   |   |-- PropertiesDialog$4.class
|   |       |   |   |-- PropertiesDialog$5.class
|   |       |   |   |-- PropertiesDialog$6.class
|   |       |   |   |-- PropertiesDialog$7.class
|   |       |   |   |-- PropertiesDialog$8.class
|   |       |   |   |-- PropertiesDialog$9.class
|   |       |   |   |-- PropertiesDialog$DblClickWatch.class
|   |       |   |   |-- PropertiesDialog.class
|   |       |   |   |-- SelectionListDialog$1.class
|   |       |   |   |-- SelectionListDialog$2.class
|   |       |   |   |-- SelectionListDialog$3.class
|   |       |   |   |-- SelectionListDialog.class
|   |       |   |   |-- ToggleDialog$1$1.class
|   |       |   |   |-- ToggleDialog$1$2.class
|   |       |   |   |-- ToggleDialog$1.class
|   |       |   |   |-- ToggleDialog$2.class
|   |       |   |   |-- ToggleDialog$ToggleDialogAction.class
|   |       |   |   |-- ToggleDialog.class
|   |       |   |   |-- UserListDialog$1.class
|   |       |   |   |-- UserListDialog$1UserCount.class
|   |       |   |   |-- UserListDialog$2.class
|   |       |   |   `-- UserListDialog.class
|   |       |   |-- download
|   |       |   |   |-- BookmarkSelection$1.class
|   |       |   |   |-- BookmarkSelection$2.class
|   |       |   |   |-- BookmarkSelection$3.class
|   |       |   |   |-- BookmarkSelection.class
|   |       |   |   |-- BoundingBoxSelection$1$1.class
|   |       |   |   |-- BoundingBoxSelection$1.class
|   |       |   |   |-- BoundingBoxSelection$2$1.class
|   |       |   |   |-- BoundingBoxSelection$2.class
|   |       |   |   |-- BoundingBoxSelection.class
|   |       |   |   |-- DownloadDialog$DownloadTask.class
|   |       |   |   |-- DownloadDialog.class
|   |       |   |   |-- DownloadSelection.class
|   |       |   |   |-- WorldChooser$1.class
|   |       |   |   |-- WorldChooser$2.class
|   |       |   |   `-- WorldChooser.class
|   |       |   |-- layer
|   |       |   |   |-- GeoImageLayer$1.class
|   |       |   |   |-- GeoImageLayer$2.class
|   |       |   |   |-- GeoImageLayer$3.class
|   |       |   |   |-- GeoImageLayer$4.class
|   |       |   |   |-- GeoImageLayer$5$1.class
|   |       |   |   |-- GeoImageLayer$5.class
|   |       |   |   |-- GeoImageLayer$GpsTimeIncorrect.class
|   |       |   |   |-- GeoImageLayer$ImageEntry.class
|   |       |   |   |-- GeoImageLayer$Loader.class
|   |       |   |   |-- GeoImageLayer$TimedPoint.class
|   |       |   |   |-- GeoImageLayer.class
|   |       |   |   |-- Layer.class
|   |       |   |   |-- OsmDataLayer$CommandQueueListener.class
|   |       |   |   |-- OsmDataLayer$DataCountVisitor.class
|   |       |   |   |-- OsmDataLayer$ModifiedChangedListener.class
|   |       |   |   |-- OsmDataLayer.class
|   |       |   |   |-- RawGpsLayer$1.class
|   |       |   |   |-- RawGpsLayer$2.class
|   |       |   |   |-- RawGpsLayer$3$1.class
|   |       |   |   |-- RawGpsLayer$3.class
|   |       |   |   |-- RawGpsLayer$ConvertToDataLayerAction.class
|   |       |   |   |-- RawGpsLayer$GpsPoint.class
|   |       |   |   |-- RawGpsLayer.class
|   |       |   |   `-- markerlayer
|   |       |   |       |-- AudioMarker.class
|   |       |   |       |-- ButtonMarker.class
|   |       |   |       |-- ImageMarker$1.class
|   |       |   |       |-- ImageMarker.class
|   |       |   |       |-- Marker$1.class
|   |       |   |       |-- Marker.class
|   |       |   |       |-- MarkerLayer$1$1.class
|   |       |   |       |-- MarkerLayer$1$2.class
|   |       |   |       |-- MarkerLayer$1.class
|   |       |   |       |-- MarkerLayer$2.class
|   |       |   |       |-- MarkerLayer.class
|   |       |   |       |-- MarkerProducers.class
|   |       |   |       `-- WebMarker.class
|   |       |   `-- preferences
|   |       |       |-- AdvancedPreference$1.class
|   |       |       |-- AdvancedPreference$2.class
|   |       |       |-- AdvancedPreference$3.class
|   |       |       |-- AdvancedPreference$4.class
|   |       |       |-- AdvancedPreference$5.class
|   |       |       |-- AdvancedPreference.class
|   |       |       |-- AnnotationPresetPreference$1.class
|   |       |       |-- AnnotationPresetPreference$2.class
|   |       |       |-- AnnotationPresetPreference$3.class
|   |       |       |-- AnnotationPresetPreference.class
|   |       |       |-- ColorPreference$1.class
|   |       |       |-- ColorPreference$2.class
|   |       |       |-- ColorPreference$3.class
|   |       |       |-- ColorPreference.class
|   |       |       |-- CsvPreference.class
|   |       |       |-- DrawingPreference$1.class
|   |       |       |-- DrawingPreference.class
|   |       |       |-- LafPreference$1.class
|   |       |       |-- LafPreference.class
|   |       |       |-- PluginPreference$1.class
|   |       |       |-- PluginPreference$2.class
|   |       |       |-- PluginPreference.class
|   |       |       |-- PreferenceDialog$1.class
|   |       |       |-- PreferenceDialog$RequireRestartAction.class
|   |       |       |-- PreferenceDialog.class
|   |       |       |-- PreferenceSetting.class
|   |       |       |-- ProjectionPreference.class
|   |       |       |-- ServerAccessPreference.class
|   |       |       |-- ToolbarPreferences$1.class
|   |       |       |-- ToolbarPreferences$2.class
|   |       |       |-- ToolbarPreferences$3.class
|   |       |       |-- ToolbarPreferences$4.class
|   |       |       |-- ToolbarPreferences$Move.class
|   |       |       `-- ToolbarPreferences.class
|   |       |-- io
|   |       |   |-- BoundingBoxDownloader.class
|   |       |   |-- GpxWriter$All.class
|   |       |   |-- GpxWriter$Trk.class
|   |       |   |-- GpxWriter.class
|   |       |   |-- IncompleteDownloader$1.class
|   |       |   |-- IncompleteDownloader$SegmentParser.class
|   |       |   |-- IncompleteDownloader.class
|   |       |   |-- OsmConnection$1.class
|   |       |   |-- OsmConnection$OsmAuth.class
|   |       |   |-- OsmConnection$OsmParseException.class
|   |       |   |-- OsmConnection.class
|   |       |   |-- OsmIdReader.class
|   |       |   |-- OsmReader$1.class
|   |       |   |-- OsmReader$OsmPrimitiveData.class
|   |       |   |-- OsmReader$Parser.class
|   |       |   |-- OsmReader.class
|   |       |   |-- OsmServerReader.class
|   |       |   |-- OsmServerWriter.class
|   |       |   |-- OsmWriter$1.class
|   |       |   |-- OsmWriter$All.class
|   |       |   |-- OsmWriter$Osm.class
|   |       |   |-- OsmWriter$Single.class
|   |       |   |-- OsmWriter.class
|   |       |   |-- ProgressInputStream$1.class
|   |       |   |-- ProgressInputStream$OsmServerException.class
|   |       |   |-- ProgressInputStream.class
|   |       |   |-- RawCsvReader.class
|   |       |   |-- RawGpsReader$1.class
|   |       |   |-- RawGpsReader$Parser.class
|   |       |   |-- RawGpsReader.class
|   |       |   |-- XmlWriter$OsmWriterInterface.class
|   |       |   `-- XmlWriter.class
|   |       |-- plugins
|   |       |   |-- Plugin.class
|   |       |   |-- PluginException.class
|   |       |   |-- PluginInformation.class
|   |       |   `-- PluginProxy.class
|   |       `-- tools
|   |           |-- AutoCompleteComboBox$AutoCompleteComboBoxDocument.class
|   |           |-- AutoCompleteComboBox.class
|   |           |-- Base64.class
|   |           |-- BugReportExceptionHandler.class
|   |           |-- ColorHelper.class
|   |           |-- DateParser.class
|   |           |-- Destroyable.class
|   |           |-- DontShowAgainInfo.class
|   |           |-- ExifReader.class
|   |           |-- GBC.class
|   |           |-- I18n.class
|   |           |-- ImageProvider$1.class
|   |           |-- ImageProvider$OverlayPosition.class
|   |           |-- ImageProvider.class
|   |           |-- OpenBrowser.class
|   |           |-- ShortCutLabel.class
|   |           |-- UrlLabel.class
|   |           |-- WikiReader.class
|   |           |-- XmlObjectParser$1.class
|   |           |-- XmlObjectParser$2.class
|   |           |-- XmlObjectParser$Entry.class
|   |           |-- XmlObjectParser$Parser.class
|   |           |-- XmlObjectParser$Uniform$1.class
|   |           |-- XmlObjectParser$Uniform.class
|   |           `-- XmlObjectParser.class
|   |-- xml
|   |   `-- sax
|   |       |-- Attributes.class
|   |       |-- ContentHandler.class
|   |       |-- DTDHandler.class
|   |       |-- EntityResolver.class
|   |       |-- ErrorHandler.class
|   |       |-- InputSource.class
|   |       |-- Locator.class
|   |       |-- SAXException.class
|   |       |-- SAXNotRecognizedException.class
|   |       |-- SAXNotSupportedException.class
|   |       |-- SAXParseException.class
|   |       `-- XMLReader.class
|   `-- xnap
|       `-- commons
|           `-- i18n
|               |-- I18n$1.class
|               |-- I18n$EmptyResourceBundle$EmptyStringEnumeration.class
|               |-- I18n$EmptyResourceBundle.class
|               |-- I18n.class
|               |-- I18nFactory.class
|               |-- I18nManager$WeakLocaleChangeListener.class
|               |-- I18nManager.class
|               |-- LocaleChangeEvent.class
|               `-- LocaleChangeListener.class
`-- uk
    |-- co
    |   `-- wilson
    |       `-- xml
    |           |-- MinML2$1.class
    |           |-- MinML2$MinMLBuffer.class
    |           `-- MinML2.class
    `-- org
        `-- xml
            `-- sax
                |-- ContentHandler.class
                `-- XMLReader.class

66 directories, 596 files

Now I thougth let's try this:

java josm-latest
Exception in thread "main" java.lang.NoClassDefFoundError: josm-latest

Last edited by rvanderh (2007-07-04 15:52:16)

Offline

#4 2007-07-04 17:39:14

rvanderh
Member
Registered: 2007-07-04
Posts: 4

Re: josm in linux

Well I tried all kinds of stuff, but don't think I changed the settings of my linux system really. But oh wonder:

java -jar josm-latest.jar

now launches the josm-gui. On windows xp no difference sofar.

Offline

#5 2007-07-04 21:35:51

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: josm in linux

Hmm, I was lucky that JOSM ran without a hick from the start, but: I thought JOSM needed Java 1.5...

Also, I think the preferences file was created automatically... Sorry I'm not more helpful than this.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

Board footer

Powered by FluxBB