Modify ↓
Opened 8 years ago
Closed 8 years ago
#12984 closed defect (duplicate)
Unable to run JOSM with Java 9
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report java9 | Cc: |
Description
What steps will reproduce the problem?
- Used JOSM before
- Updated to the latest version
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016) Revision:10327 Build-Date:2016-06-04 15:31:27 URL:http://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (10327 ru) Linux Ubuntu 14.04.4 LTS Memory Usage: 96 MB / 988 MB (68 MB allocated, but free) Java version: 9-ea+122, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Last errors/warnings: - W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US. Cause: java.lang.IllegalAccessException: unnamed modules can't load sun.awt.resources.awt in named module java.desktop - W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale ru - E: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter. Причина: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter at org.openstreetmap.josm.tools.ImageProvider.getIfAvailableDataUrl(ImageProvider.java:864) at org.openstreetmap.josm.tools.ImageProvider.getIfAvailableImpl(ImageProvider.java:718) at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:572) at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:556) at org.openstreetmap.josm.plugins.PluginInformation.scanManifest(PluginInformation.java:248) at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:147) at org.openstreetmap.josm.plugins.PluginListParser.createInfo(PluginListParser.java:38) at org.openstreetmap.josm.plugins.PluginListParser.addPluginInformation(PluginListParser.java:96) at org.openstreetmap.josm.plugins.PluginListParser.parse(PluginListParser.java:77) at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.processLocalPluginInformationFile(ReadLocalPluginInformationTask.java:157) at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanSiteCacheFiles(ReadLocalPluginInformationTask.java:99) at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanLocalPluginRepository(ReadLocalPluginInformationTask.java:147) at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.realRun(ReadLocalPluginInformationTask.java:197) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:159) at org.openstreetmap.josm.plugins.PluginHandler.loadLocallyAvailablePluginInformation(PluginHandler.java:834) at org.openstreetmap.josm.plugins.PluginHandler.buildListOfPluginsToLoad(PluginHandler.java:902) at org.openstreetmap.josm.gui.MainApplication.updateAndLoadEarlyPlugins(MainApplication.java:527) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:458) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:366) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) ... 19 more
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Keywords: | java9 added |
---|---|
Priority: | major → normal |
comment:2 by , 8 years ago
Summary: | Unable to run JOSM → Unable to run JOSM with Java 9 |
---|
comment:3 by , 8 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #12894.
Please note that Java 9 is not finished yet. If you want the best JOSM user experience with it you need to launch it as follows:
java -addmods java.xml.bind -XaddExports:java.base/sun.security.util=ALL-UNNAMED -XaddExports:java.base/sun.security.x509=ALL-UNNAMED -XaddExports:java.xml.bind/javax.xml.bind=ALL-UNNAMED -jar josm-latest.jar
See #11924 for details.