How can you get rid of the main.java file and replace it with another .java file?
using the Console: rm Mian.java
After that you have to use the Console to Compile/Run your Program
Type "dir" to list all files in the Directory/Folder
Type "javac [File_Name].java" to compile to code into a usable .class file
Type "java [File_name]" to run the .class file
"clear" clear all from console (Optional)
How can you get rid of the main.java file and replace it with another file?
How can you get rid of the main.java file and replace it with another .java file?
using the Console: rm Mian.java
After that you have to use the Console to Compile/Run your Program
Type "dir" to list all files in the Directory/Folder
Type "javac [File_Name].java" to compile to code into a usable .class file
Type "java [File_name]" to run the .class file
"clear" clear all from console (Optional)