caiiiycuk / postgresql-to-sqlite

pg2sqlite is easy to use solution to create sqlite database from postgresql dump
MIT License
132 stars 11 forks source link

Cannot run pg2sqlite.jar, ClassNotFoundException #10

Closed karenlaw closed 1 year ago

karenlaw commented 1 year ago

java pg2sqlite.jar Error: Could not find or load main class pg2sqlite.jar Caused by: java.lang.ClassNotFoundException: pg2sqlite.jar

java --version openjdk 19.0.1 2022-10-18

caiiiycuk commented 1 year ago

You should run it with -jar flag:

java -jar pg2sqlite.jar <args>