Opened 4 years ago
Closed 4 years ago
#2252 closed defect (fixed)
josm-latest fails to start without .preferences file
| Reported by: | flo@… | Owned by: | flo@… |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | Keywords: | openjdk josm preferences | |
| Cc: |
Description
Hi,
when starting josm on a fresh new system without a preferences file josm aborts with java.lang.ClassNotFoundException without any hint.
Running with sun-java gives an error about failing to load a projection and is able to continue whereas openjdk aborts hard without continuing.
When saving a configuration with sun-java, switching back to openjdk works without a problem.
Flo
Attachments (0)
Change History (3)
comment:1 Changed 4 years ago by stoecker
- Owner changed from team to flo@…
- Status changed from new to needinfo
comment:2 Changed 4 years ago by anonymous
kurt@lxp4:~/Desktop$ java -jar josm-tested.jar
java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.openstreetmap.josm.Main.preConstructorInit(Main.java:255)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:166)
Thats it - running with sun-java6-jre (debian) a requester pops up saying something about not beeing
able to load a projection EPSG:xxxx and after clicking okay - continues. Entering preferences and clicking okay
and leaving JOSM fixes above 2 error messages and afterwards josm starts with openjdk flawlessly.
Flo
comment:3 Changed 4 years ago by stoecker
- Resolution set to fixed
- Status changed from needinfo to closed
Fixed in r1473.



Please add the error message.