Welcome to the Treehouse Community
Looking to learn something new?
I've been stuck trying to get the path correct for java runtime, but no matter what i do i just cant get past this
Is there a guide on treehouse on how to set up this java programming
ok so i think the problem is deeper than just setting the enviorment im going to take the cmd lesson just to be safe
Grigorij Schleifer10,363 Points
try this for Windows:
From the desktop, right click the Computer icon.
Choose Properties from the context menu.
Click the Advanced system settings link.
Click Environment Variables.
In the section System Variables, find the PATH environment variable and select it. Click Edit.
If the PATH environment variable does not exist, click New. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK. // you will need to choose a directory where you want to set it.
default directory is "C:\Program Files\Java\jdk1.6.0_17\bin"
Here a video:
or this StackOverflow link:
And here is a lesson about envirenment variables from treehouse:
Let us know if you need more assistance.
Ok so when i come to the system variables they are already set up, but when i open cmd and type the java command i get the system cannot find java
ok so undid everything i tried to get the java enviorment right. when i typed javac into cmd line i get javac 1.8.0_73 am i ok to move forward? Or are there more steps i have to take?