If you install red5 in linux, you may encounter problems-general Linux technology-Linux programming and kernel information. For more information, see the following. 1. jdk settings
Some systems are installed with java, but jre may only be installed without the compiling environment.
It is best to check commands such as java, javac, and java-version, and the JAVA_HOME command. This variable is used during red5 compilation and must be set.
2. ant settings
I cannot compile successfully because of ant settings. It is best not to use the version installed by the system, but to install it manually. After installation, you must set the ANT_HOME environment variable.
3. Compile red5
0.6.3 and later, using the ant server command to compile will cause errors. This is my painful experience.
To sum up, jdk and ant are the best methods for manual installation, and sometimes do not understand the installation path of linux software.
Whereis is a useful command. You can find all the programs in the current path, for example:
Whereis java
You can find all the jdk paths.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service