How To: Write a simple java program quickly

Write a simple java program quickly

This video is a tutorial for Windows computer users in order to write very simple java programs very quickly. The first thing that you do is open a brand new text edit window. Then you should write in html code your java program, by using html you will need to include all of your brackets and all of your commands. Do so in this text edit window. Then you should save your file somewhere that you will be able to find it. Save it as test java.java you need to write your file name with .java at the end. Then you should go to the Terminal program and type in java c and then type in the file name of your text edit window. Press enter and then it compiled your file. If you made any errors at this point then it will tell you. Then just type java and press enter and then follow the instructions that terminal will give you.

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Buy Now (97% off) >

Our Best Phone Hacks

Gadget Hacks' tips — delivered daily.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest