How to run a java programming in linux operating system in terminal 
S1- To create a .java file some folder to write a java program inside the file.
S2- open temenal go to specific file location use - cd comment- open 
S3- to compile the .java if any error on the program 
Will show the errors to correct them and save to re compile the program 
Use this comment 👉- javac "file name".java.
During this process.java file convert into .class file 
This tha compile method.
Difference between.java file and .class file 
In .java file are contained human readable format this also as a java program lang. 
And .class file are the only in a binary format.
S4- After compiling process don can do run the program in binary to readable format and also output also show.
🫴Javac Application.java
🫴Java Application 

    
Top comments (0)