This tutorial is designed for Windows 10 user, although Java is basically the same across all platforms any time I refer to the operating system I will be referring to Window 10.
I am using Java JDK 8 and NotePad++ in this tutorial. Any basic Notepad like program would work, even Notepad itself.
I use a folder that I created called AAA to store my java programs for this tutorial. C:\AAA
If you have Java JDK 8 installed, have java files properly associated so that you can run Java files from any folder with the command prompt, a command prompt that automatically runs as administrator, and NotePad++ installed there should be no need to watch this video.
This tutorial has you create a file called HelloWorld, and then save it in the AAA folder as HelloWorld.java. If you can compile and run a java program from the command prompt, then you are good.
The commands used at the command prompt are:
cd.. which takes you down one step in the directories until you hit the C: prompt, the lowest level
cd AAA
you could also use cd\ which immediately takes you to the lowest level
you could also use cd c:\aaa to take you directly to the AAA directory from any location.
You can use md AAA at the lowest level to create the AAA directory or just add it like you would any other folder in windows.
There are many other videos out there that do a very good job of teaching you how to install and trouble shoot Java, you can ask me in the comments but I will probably not be able to help you very much. Especially if you are not running Windows 10.
My Web Site for resources and homework - yes most lessons will have homework and notes. I am a strong believer in see and do.
hlessjon.wixsite.com/hlessjon
Notepad++
notepad-plus-plus.org/
Java SE Development Kit 8
-- google "download java jdk"
OR
www.oracle.com/technetwork/java/javase/downloads/j…
Why did I create this series? First: I love to teach. Second: I have a nephew who is took some 'kids' programing class using some super cheesy language the they will never ever ever ever use in any situation other then that class. I too started out on a super cheesy language that turned out to almost totally useless. Why would anyone ever do that? I know it teaches basic concepts and idea for programing, but why not teach a REAL and actual useful language to do that? So this is for all the home schoolers, after school, and special program loving folks out there. A real language, with a real future.
コメント