Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Java Basics Perfecting the Prototype Censoring Words - Looping Until the Value Passes

mahesh gurbaxani
mahesh gurbaxani
1,420 Points

java program

How do I instal java on my windows machine so that I can test my code

1 Answer

Download Java Platform (JDK) 8u40 from this site.....http://www.oracle.com/technetwork/java/javase/downloads/index.html.... Install the java Platform. Go to my computer, right click and go to properties, Click advanced System settings, click Environment variables under System Variables , click New on Variable name type, JAVA_HOME on variable name, paste the path of the java jdk file e.g. C:\Program Files\Java\jdk1.8.0_31

After that save changes.

on System variables edit Path...u put a semi colon first and paste the path of the jdk bin folder.

save restart machine do to command prompt and type ;javac-version......if it gives u the version u are good to go.

also check this video.....www.youtube.com/watch?v=pb-r8U2kpCU

Please notify me if u find this helpful