I created a Maven project. Is there a way to execute the program without using eclipse? I tried to run `javac main.java` but I get this type of errors `package org.json does not exist`

What am I missing?

the structure of the project is something like this:

```
program
   src
     com
        main.java
        otherClass.java
   pom.xml
   .classpath
   .project

```