Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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