In java, you can use multicore usage by creating separate threads. Unlike previous JVM implementations, modern implementations create their own threads that the OS recognizes and, therefore, each available processor can be allocated for each thread created in a running java program. But this does not mean that you always get the advantage of multiprocessing (multi-core use). It depends on the problem and, moreover, the way to solve it. Improperly designed solutions do not take advantage of multicore processing.
. - , ( ). . , , Intel, . , , .