Compiling common module with specified platform from command line

Hello! I have common.jar and platform-jvm.jar. How can i compile them from command line to produce jar with java classes from common module meta info?

Usually when you have jars it means that the code is already compiled in those jars.

If those jars were produced from a multiplatform project, then platform-jvm.jar will contain all the compiled classes both from platform-jvm and from common modules.