Tag Info

New answers tagged


First, see if java is installed: java -version If not, you should do the following to install the Java runtime environment and development kit: sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk Then you can navigate to the folder where YOUR_FILE is and compile and run: javac YOUR_FILE java YOUR_FILE

Top 50 recent answers are included