Running a Java program on Linux

Hello,

I have a project directory in /home/researcher
I have in my project/src three packages:A (contains the main class), B and C and I have 2 jar-files file1.jar file2.jar files in the project/my-jars
In Class A I import other classes from the other packages
I compiled as follows: package per package

I run as follows:

it does not work! have you any idea?

Exception in thread "main" java.lang.NoClassDefFoundError: Main
Please, how to export. class in packages and all in one. jar file so I can do java-jar project.jar?

What is the value of your CLASSPATH environmental variable?

I typed the following:

but it shows me nothing!

Try it without the extra space.

same it shows me nothing!