Sunday, March 2, 2014

android source compiler issues


1. Compiler environment ubuntu12.04, jdk version is 1.6, android 4.1 source is; these are correct.
2./etc/profile environment variable configuration is
export JAVA_HOME = "/ usr/lib/java/jdk1.6.0_33"
export PATH = "$ PATH: $ JAVA_HOME / bin: $ JAVA_HOME / jre / bin:"
export CLASS_PATH = "$ CLASSPATH: $ JAVA_HOME / lib: $ JAVA_HOME / jre / lib:"

When you run sudo make command in the android source directory, there ould not find jdk tools.jar exception.
Seeking solutions.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
This looks like that there is no prompt to install jdk, if executed after the landlord of the / etc / profile file configuration?
First, look at what input java-version output?
Then run it again: source / etc / profile
Reply:
cited landlord an_zhiruo reply:
1. Compiler environment ubuntu12.04, jdk version is 1.6, android 4.1 source is; these are correct.
2./etc/profile environment variable configuration is
export JAVA_HOME = "/ usr/lib/java/jdk1.6.0_33"
export PATH = "$ PATH: $ JAVA_HOME / bin: $ JAVA_HOME / jre / bin:"
export CLASS_PATH = "$ CLASSPATH: $ JAVA_HOME / lib: $ JAVA_HOME / jre / lib:"

When you run sudo make command in the android source directory, there ould not find jdk tools.jar exception.
Seeking solutions.



What's this configuration no problem. Has now been resolved. . .

No comments:

Post a Comment