I pull the latest code from github . In updated code GHServer is deleted which class I am using to run the code from intellij . Now I am using GraphhopperApplication as Main class to run Application and same command when I used in latest code It is showing some errors mention below :
Command I used to run :
java -Xmx10g -Xms10g -jar web/target/graphhopper-web-*-with-dep.jar datareader.file=delhi.osm.pbf gtfs.file=delhi_multimodel.zip jetty.port=8008 jetty.resourcebase=./web/src/main/webapp graph.flag_encoders=pt prepare.ch.weightings=no graph.location=./graph-cache
Error :
Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10ca2b4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10cab74e0). One of the two will be used. Which one is undefined.
invalid choice: ‘java’ (choose from ‘server’, ‘check’, ‘import’)
usage: java -jar project.jar [-h] [-v] {server,check,import} …