You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by atingupta2005 <at...@gmail.com> on 2016/03/11 06:33:26 UTC

Problem while building projects due to Java_HOME environment variable

While compiling the Flex Browser projects, I encountered a problem related to
Java. It required Java for compiling the project. The path to Java is hard
coded in the file - \js\bin\mxmlc.bat while installing the Apache Flex SDK
0.5
Due to this hard corded path, the problem arises. If the JDK is changed, the
changes are not reflected in mxmlc.bat. In MXMLC.bat the environment
variable %JAVA_HOME% is not being used. Instead the physical path to Java is
hardcoded in MXMLC.bat
Due to this issue there was an error while building the project. After
specifying the correct path in this file, the issue is resolved



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-while-building-projects-due-to-Java-HOME-environment-variable-tp12192.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.