Skip to content

faq 82346115

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

How to run contrib:networkEditor?

by Kai Nagel on 2016-09-05 16:31:40


(proxying for ismail.saadi at ulg.ac.be)

Dear Prof. Nagel,
I need to edit a network by using NetworkEditor ...
However, when I launch the following command:

java -Xmx512m -cp C:/Users/ULG/Documents/phd/paper/matsim/matsim-0.7.0/networkEditor-0.8.0.jar;C:/Users/ULG/Documents/phd/paper/matsim/matsim-0.7.0/matsim-0.8.0.jar org.matsim.contrib.networkEditor.run.NetworkEditor

the command prompt indicates that it cannot find the main class "org.matsim.contrib.networkEditor.run.NetworkEditor"
Any idea about the reason ?

Kind regards,
Ismaïl Saadi


Comments: 1


Re: How to run contrib:networkEditor?

by Kai Nagel on 2016-09-05 16:34:28

Dear Ismail,

Assuming that the mix of 0.7.0 and 0.8.0 is a typo and all means 0.8.0, then it has to be "RunNetworkEditor" instead of "NetworkEditor" at the end.  For me (on mac), the following command line works

java -Xmx2000m -cp matsim-0.8.0/matsim-0.8.0.jar:networkEditor-0.8.0/networkEditor-0.8.0.jar org.matsim.contrib.networkEditor.run.RunNetworkEditor

I can't say how far you will get; we have not used this in our group for many years.  Our own project in this direction is here: https://github.com/matsim-org/josm-matsim-plugin .

Good luck, best wishes

Kai

Clone this wiki locally