I have a Java project which is written using Intellij Idea. I want to compile and run it using javac from another machine (which does not have Intellij Idea). Project uses external libs (let's say ./jar_files) and other java files. Whole project has only one public static void main(String[] args) function.
When I compile it via
javac -cp "./jar_files/*" Main.java Other.java
it comes up with "cannot find symbol ..." errors. Symbols concern external libs I used.
Please help correctly solve the problem. I hope you can help me.