[Osm2nds] problems during creating bat file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Osm2nds] problems during creating bat file

harmatadam
Hi all,

I am trying to run the batch file, but get the error message:
"Error: Could not find or load main class
org.n52.osm2nds.core.userinterface.console.Main"

My batch file:

C:\Users\Ádám\Desktop>"C:\Program Files\Java\jre7\bin\java" -cp "C:\Program
Files\ArcGIS\Desktop10.0\java\lib\arcobjects.jar";"C:\Program
Files\osm2nds\osm2nds_ arcgis_10.0_console_1.1.jar"
org.n52.osm2nds.core.userinterface.console.Main
C:\Hungary\hungary-latest.osm C:\Hungary\Parameters.xml C:\Hungary
Error: Could not find or load main class
org.n52.osm2nds.core.userinterface.console.Main

C:\Users\Ádám\Desktop>PAUSE
Press any key to continue . . .

Is anyone who can help me?

Thanks in advance!

Adam



--
View this message in context: http://osm2nds.forum.52north.org/problems-during-creating-bat-file-tp4639480.html
Sent from the 52°North - OSM2NDS Forum. mailing list archive at Nabble.com.
_______________________________________________
Osm2nds mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/osm2nds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] problems during creating bat file

peterseva
Hi!

The path to the jar file contains a white space: "C:\Program
Files\osm2nds\osm2nds_ arcgis_10.0_console_1.1.jar"

Please tell me if it works without this white space.

Best wishes
Eva
Loading...