How to run a .jav file, given that I need to run 2 files at the same time? It is necessary that the code is not displayed. PS I am new, stupid, in general, commonplace errors are forgivable. Thank you in advance.
1 answer
The .java is the source code for files written in the Java programming language , which was originally developed by Sun Microsystems , but is now supported by Oracle . This language uses an object-oriented approach, which uses structured data types called classes. Classes, in turn, are used to create instances of objects at run time. These files are stored in text format. This means that Java files can be edited in Java IDE applications, such as Intellij IDEA, NetBeans, Eclipse, as well as in standard text editors.
JAVA code files are compiled into .CLASS files using a Java compiler. The CLASS file contains a bytecode that can be executed by the Java Virtual Machine (JVM). This is the actual file with the extension .class you can run on the command line.
jar, which is equivalent toexeon Windows - Alexey Shimansky