# 9-10 =\> 10.0 migration

**URL:** https://ask.openrouteservice.org/t/9-10-10-0-migration/8062
**Category:** openrouteservice
**Created:** [September 24, 2026, 7:40am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062 "2026-09-24T07:40:44Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 24, 2026, 7:40am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/1 "2026-09-24T07:40:44Z")

</div>

After the 9.10 =\> 10.0 migration on my W11 pc, during the server start I obtain the error:

C:\OpenrouteServices\>C:/“Program Files”/Java/jdk-21.0.6.7/bin/java -jar ors.jar C:/OpenrouteServices/ors-config.yml  
Exception in thread “main” java.lang.UnsupportedClassVersionError: org/heigit/ors/api/Application has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 65.0

What it means? I must change my java installation or it exists the possibility to start mx local ORS with a dedicated JVM?

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 24, 2026, 7:58am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/2 "2026-09-24T07:58:55Z")

</div>

Hey,

yeah, as visible in [the 10.0 Changelog](https://github.com/GIScience/openrouteservice/releases/tag/v10.0.0), the Java version has been updated to Java 25.

Thus, yeah, you’d have to update your java installation and/or run this with jdk 25.

Best regards

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 24, 2026, 11:45am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/3 "2026-09-24T11:45:36Z")

</div>

Hello [jschnell](https://ask.openrouteservice.org/u/jschnell),

it is not clear for me. What it means ‘_..and/or run this with jdk 25_’? Can I run the ORS with jdk25 **without** updating my installation? How? Otherwise ‘_and/or_’ is not correct, but it is only ‘and’…

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 24, 2026, 12:06pm UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/4 "2026-09-24T12:06:11Z")

</div>

Hey,

I’d assume that there is probably about a dozen different options of installing java on windows as well as probably the possibility of running multiple different versions in parallel.

There is also a few different options to run the openrouteservice - including running it from docker, so yeah, you could run the openrouteservice using java 25 without "updating your installation ", I guess.

I also addume though, that updating to java 25 might be the easiest 🙂

Best regards

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 24, 2026, 12:20pm UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/5 "2026-09-24T12:20:27Z")

</div>

OK jschnell,

thanks for the answer. I will evaluate, because upgrading to jvm25 can damage other my applications, which are requesting the jvm21…

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 8:59am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/6 "2026-09-25T08:59:18Z")

</div>

Hello jschnell,

I installed Temurin JDK 25.0.4.1 and now my ors.jar starts, but I have immediatly the error:

2026-09-25 10:55:24 DEBUG [o.h.o.r.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Could not parse OSM file: C:\OpenrouteServices\maps\nord-ovest-italy.osm.pbf

Obviously the pbf’s path is correct. May be I need a newer release of this file?

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 25, 2026, 9:01am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/7 "2026-09-25T09:01:48Z")

</div>

Hey,

In general, the openrouteservice should work with all pbf-files, but yes, re-downloading is a good way, especially to make sure that the pbf is not corrupted or anything 🙂

Best regards

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 9:05am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/8 "2026-09-25T09:05:51Z")

</div>

It worked until the previous 9.10 release. May be I can have some syntax problem with the new release 10? This is my simple setting file:

server:  
port: 8089

##### Settings related to springdoc

##### Logging settings

logging:  
level:  
root: ERROR  
org.heigit.ors.routing: DEBUG  
org.heigit.ors.config: DEBUG  
file:  
name: ./ors.log

##### openrouteservice specific settings

ors:

# ##### ORS engine settings

engine:  
graphs\_root\_path: ./graphs  
elevation\_cache\_path: ./elevation\_cache  
elevation:  
enabled: true  
profile\_default:  
build:  
source\_file: ./maps/nord-ovest-italy.osm.pbf  
prepare:  
min\_network\_size: 200  
min\_oneway\_network\_size: 200

# ##### ORS profiles settings

```auto
profiles:
    driving-car:
        enabled: true
        keep_graph: true
    cycling-regular:
        enabled: true
        keep_graph: true
    foot-hiking:
        enabled: true
        keep_graph: true

```

Is correct using ‘/’ instead of ‘\’ ?

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 25, 2026, 9:07am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/9 "2026-09-25T09:07:48Z")

</div>

Hey,

could you edit that to correctly show indentation?

Thanks 🙂

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 25, 2026, 9:09am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/10 "2026-09-25T09:09:38Z")

</div>

Oh, and be aware that we just released `v10.0.1`, you might want to upgrade to that either way 🙂

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 9:14am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/11 "2026-09-25T09:14:08Z")

</div>

I installed the ors.jar 10.0.1 and I updated the pbf file. But I obtain:

2026-09-25 11:11:37 INFO [o.h.o.a.Application] - Started Application in 4.577 seconds (process running for 5.774)  
2026-09-25 11:11:37 INFO [o.h.o.a.Application] - openrouteservice {“build\_date”:“2026-09-24T07:50:20Z”,“graph\_version”:“6”,“version”:“10.0.1”}  
2026-09-25 11:12:34 DEBUG [o.h.o.r.g.e.m.l.ORSGraphFileManager] - [cycling-regular] Creating graph directory C:\OpenrouteServices\graphs\cycling-regular  
2026-09-25 11:12:34 DEBUG [o.h.o.r.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Could not parse OSM file: C:\OpenrouteServices\maps\nord-ovest-italy.osm.pbf  
2026-09-25 11:12:34 DEBUG [o.h.o.r.g.e.m.ORSGraphManager] - Using FileSystemGraphRepoClient for repoUri \tmp\graph-repo  
2026-09-25 11:12:34 ERROR [o.h.o.r.RoutingProfileManager] -  
2026-09-25 11:12:34 ERROR [o.h.o.r.RoutingProfileManager] - Exception at RoutingProfileManager initialization: java.lang.RuntimeException: Could not parse OSM file: C:\OpenrouteServices\maps\nord-ovest-italy.osm.pbf  
2026-09-25 11:12:34 ERROR [o.h.o.r.RoutingProfileManager] -  
2026-09-25 11:12:34 INFO [o.h.o.a.s.EngineService] - Shutting down openrouteservice {“build\_date”:“2026-09-24T07:50:20Z”,“graph\_version”:“6”,“version”:“10.0.1”} and releasing resources.

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 9:16am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/12 "2026-09-25T09:16:05Z")

</div>

This is my config file:

 ![image](https://ask.openrouteservice.org/uploads/default/original/2X/9/9d5a12891838d2d934c6b7d330d0442d7948c724.png)

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 9:27am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/13 "2026-09-25T09:27:26Z")

</div>

In the log I have:

2026-09-25 11:24:45 INFO [o.h.o.r.g.e.ORSGraphHopper] - start creating graph from maps\nord-ovest-italy.osm.pbf

but then I have the parsing error on the same file… May be something is changed on your code about the parsing? Have you a simple (and sure) pbf file to check?

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [September 25, 2026, 9:36am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/14 "2026-09-25T09:36:24Z")

</div>

Hey,

we usually take pbf files from [https://download.geofabrik.de/](https://download.geofabrik.de/), I have never had issues with their files.

Best regards

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 25, 2026, 9:39am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/15 "2026-09-25T09:39:53Z")

</div>

Yes, this is my preferred site too… Please, can I ask you to execute a test using Europe=\>Italy=\>Nord-Ovest pbf file?

---

<div class="post-metadata">

### Author: ![andrzej](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/andrzej/32/10_2.png) [@andrzej](https://ask.openrouteservice.org/u/andrzej)
#### Post date: [September 25, 2026, 10:46am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/16 "2026-09-25T10:46:54Z")

</div>

Dear @agocurti

I was able to build the graphs and run openrouteservice v10.0.1 without any issues with the following config.

```auto
ors:
  engine:
    profile_default:
      build:
        source_file: /Users/andrzej.oles/Data/OSM/nord-ovest-260924.osm.pbf
    profiles:
      driving-car:
        enabled: true
        keep_graph: true
      cycling-regular:
        enabled: true
        keep_graph: true
      foot-walking:
        enabled: true
        keep_graph: true

```

---

<div class="post-metadata">

### Author: ![jhaeus](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/j/ecb155/32.png) [@jhaeus](https://ask.openrouteservice.org/u/jhaeus)
#### Post date: [September 25, 2026, 1:27pm UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/17 "2026-09-25T13:27:36Z")

</div>

Hi @agocurti,

I can reproduce the issue with nord-ovest-260924.osm.pbf and also with nord-est-260924.osm.pbf

Looking deeper into logs showed that the issue seems to be related to elevation data that is needed during graph building. If the required data for your geographic region is not present in your elevation directory, the application tries to download the data from a data source in the internet ([https://srtm.csi.cgiar.org](https://srtm.csi.cgiar.org)) and this data source seems to be unavailable. In my experience, it sometime happens that an elevation provider is temporarily unavailable.

When I set

```auto
ors:
    engine:
        elevation:
            provider: cigar

```

or

```auto
ors:
    engine:
        elevation:
            provider: srtm

```

it seems to work.

Another, maybe better solution you could also try: If you know where your previous ors instances have cached the geotiff files, copy the files into your new elevation folder or just configure or link the old elevation folder to your new installation. Then, the files should hopefully not be downloaded again. Techically, the elevation data are geotiff files with extension `tif` or `gh`. Maybe, the reason why @andrzej had no issue was, that he already had the tiffs for italy in his elevation folder…?

Please let us know if one of the approaches worked for you.

---

<div class="post-metadata">

### Author: ![jhaeus](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/j/ecb155/32.png) [@jhaeus](https://ask.openrouteservice.org/u/jhaeus)
#### Post date: [September 25, 2026, 2:08pm UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/18 "2026-09-25T14:08:23Z")

</div>

And one more hint - it is not directly related to your issue, but please let me tell you that your config is very outdated! It seems to work anyway because the values you used for non-existing config properties are just the internal defaults. This is your fixed config for the current version 10.0.1 with some hints:

```auto
server:
  port: 8089
logging:
  level:
    root: ERROR
    org.heigit.ors.routing: DEBUG
    org.heigit.ors.config: DEBUG
  file:
    name: ./ors.log
ors:
  engine:
    profile_default:
      graph_path: ./graphs # this is the default
      build:
        source_file: ./maps/nord-ovest-italy.osm.pbf
        preparation:
          min_network_size: 200 # this is the default
          #min_oneway_network_size: 200 does not exist
        elevation: true # instead of your ors.engine.elevation.enabled. true is default
    elevation:
      cache_path: ./elevation_cache # this is the default
    profiles:
      driving-car:
        enabled: true
        #keep_graph: true # does not exist. keeping the graph is default
      cycling-regular:
        enabled: true
        #keep_graph: true # does not exist. keeping the graph is default
      foot-hiking:
        enabled: true
        #keep_graph: true # does not exist. keeping the graph is default

```

When I remove the lines where your configuration value was just the internal default, you end up with this short config:

```auto
server:
  port: 8089
logging:
  level:
    root: ERROR
    org.heigit.ors.routing: DEBUG
    org.heigit.ors.config: DEBUG
  file:
    name: ./ors.log
ors:
  engine:
    profile_default:
      build:
        source_file: ./maps/nord-ovest-italy.osm.pbf
    profiles:
      driving-car:
        enabled: true
      cycling-regular:
        enabled: true
      foot-hiking:
        enabled: true

```

---

<div class="post-metadata">

### Author: ![agocurti](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/agocurti/32/3396_2.png) [@agocurti](https://ask.openrouteservice.org/u/agocurti)
#### Post date: [September 27, 2026, 7:56am UTC](https://ask.openrouteservice.org/t/9-10-10-0-migration/8062/19 "2026-09-27T07:56:02Z")

</div>

Hello boys,

thanks for your answers. I don’t understand, but this morning without any change into the jar and yml file.. the rebuild worked fine, with the same nord-ovest pbf file… Why? Anyway then I followed the [jhaeus](https://ask.openrouteservice.org/u/jhaeus)’s suggests and I updated my setting file (only I leaved elevation into build section to remember the correct position). I cleaned and rebuilt all and again all worked fine… I don’ t understand what is happened, in the last day nothing is changed on my pc and on my ors files…

Anyway MANY thanks for your valuable advice. I think we can consider this issue as resolved!
