DEAR VISITOR , YOU ARE WATCHING : How to Set environment variables for Red5 - Red5 Video Tutorial .
[postlink]
https://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-set-environment-variables-for.html
[/postlink]
http://www.youtube.com/watch?v=b_y5tCxBrIQendofvid [starttext] This is a Video Tutorial explains How to Set environment variables for Red5
Open your Control Panel, then double click on System, then click on the Advanced tab, then click on Environment Variables button.
ADD ANT TO PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your Ant installation (C:\Program Files\ANT\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
ADD JDK TO YOUR PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your JDK installation (C:\Program Files (x86)\Java\jdk1.6.0_18\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
NOTE: When you add JDK to your path, instead of adding it as C:\Program Files (x86)\Java\jdk1.6.0_18\bin, you could have added it as %JAVA_HOME%\bin. %JAVA_HOME%\bin would reference the JAVA_HOME variable we define below and would resolve to C:\Program Files (x86)\Java\jdk1.6.0_18
ADD JAVA_HOME VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_HOME". For the value, put the path to your jdk installation, C:\Program Files (x86)\Java\jdk1.6.0_18. Then click the OK button.
ADD JAVA_VERSION VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_VERSION". For the value, put 1.6 (the version of the jdk you installed). Then click the OK button.
TEST IT: If you have a command prompt open, then close it and open a new one (the old one won't recognize the changes to environment variables). In the new command prompt, type in "ant", and it should say "build.xml does not exist" (we'll fix that later). Now type in "set JAVA_HOME", and it should display the path you entered for JAVA_HOME. Now type in "set JAVA_VERSION" and it should display 1.6.
NOTE: If you had eclipse open, while you made changes to your environment variables, then you should close it and open it again. Otherwise, it will not recognize the changes you made to your environment variables.
[endtext]
Open your Control Panel, then double click on System, then click on the Advanced tab, then click on Environment Variables button.
ADD ANT TO PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your Ant installation (C:\Program Files\ANT\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
ADD JDK TO YOUR PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your JDK installation (C:\Program Files (x86)\Java\jdk1.6.0_18\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
NOTE: When you add JDK to your path, instead of adding it as C:\Program Files (x86)\Java\jdk1.6.0_18\bin, you could have added it as %JAVA_HOME%\bin. %JAVA_HOME%\bin would reference the JAVA_HOME variable we define below and would resolve to C:\Program Files (x86)\Java\jdk1.6.0_18
ADD JAVA_HOME VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_HOME". For the value, put the path to your jdk installation, C:\Program Files (x86)\Java\jdk1.6.0_18. Then click the OK button.
ADD JAVA_VERSION VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_VERSION". For the value, put 1.6 (the version of the jdk you installed). Then click the OK button.
TEST IT: If you have a command prompt open, then close it and open a new one (the old one won't recognize the changes to environment variables). In the new command prompt, type in "ant", and it should say "build.xml does not exist" (we'll fix that later). Now type in "set JAVA_HOME", and it should display the path you entered for JAVA_HOME. Now type in "set JAVA_VERSION" and it should display 1.6.
NOTE: If you had eclipse open, while you made changes to your environment variables, then you should close it and open it again. Otherwise, it will not recognize the changes you made to your environment variables.
[endtext]
0 commentaires :
Post a Comment