Step 1: Open the website JDoodle.com and sign in, if you don’t have an account then you must register first. Step 2: Select any one programming language and write your code and save it. Click on editable share and copy the embed URL.
Read moreHow do I run a Java compiler?
Type ‘javac MyFirstJavaProgram. java’ and press enter to compile your code . If there are no errors in your code, the command prompt will take you to the next line (Assumption: The path variable is set). Now, type ‘ java MyFirstJavaProgram ‘ to run your program.
Read more