| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Related issue:
https://code.google.com/p/android/issues/detail?id=82099
Change-Id: I8241eb58d45ceca4b5ada4f5550f79376c716ed6
|
|
|
|
|
|
|
| |
Related issue:
https://code.google.com/p/android/issues/detail?id=77218
Change-Id: I08523830c813d9cdcd303780f15f49bd5edc5ac3
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a minimum version is specified, Find Java should reject any
java whose version is not at least that high. However, faulty
logic ignored this contract when reading an old Java path out of
the JAVA_HOME environment variable.
Related to issue:
https://code.google.com/p/android/issues/detail?id=80419
Change-Id: Iad935694e5b143f53074d28b8c8d7f087f9690e4
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I93a2e42fb0a81d1495bb12b657b6bd6a597a128e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Find Java now statically links in all MFC / Windows dependencies,
as well as it builds to find_java32.exe and find_java64.exe.
find_java.bat has been updated to take advantage of these new
names.
Change-Id: Iaa50d461074235dd9db750201d6e033058a2e695
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the only way to specify a custom java.exe location for
find_java was through JAVA_HOME, but now we have one more hook.
If you pass in a custom path, and it is found, the rest of
find_java will be skipped, and that path will be used.
This has a few advantages:
1) Passing in an explicit custom path is really intuitive.
2) JAVA_HOME may be used by other applications, and asking users
to override it for us could cause compatibility issues.
3) This makes life much easier for our installer, which does not
want to blindly overwrite the user's JAVA_HOME environment
variable.
4) If we ever change where we store a java path (new registry, in
a file somewhere), we don't have to recompile find_java.exe to
account for it. All we have to do is update find_java.bat.
5) This gives us a really easy way to tell users who run into
find_java bugs a way to fix them.
Change-Id: I1d7bd95c9225f34c22d987005f32af256f81d908
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We want our installer to show a (potentially) helpful error
message when find_java can't, well, find java. (Before, find_java
would print nothing).
After this CL is in, then if you pass -e(rror) in as an argument,
find_java will either print the found java.exe path and return 0,
or it will print an error message and return 1.
Change-Id: I5c411ea75a8eecdb0c60aa84350a2a762a30c6d1
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
find_java historically checks for v1.6, which is defined by a
constant in find_java.h, and simply bumping the value up may
cause problems with existing tools. Therefore, I've added an
argument that takes an input minimum version to look for.
Change-Id: I901dbf3621a262b3e8ee5a42ce9e46ce49126363
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
find_java traditionally searched for any java.exe it could find,
but recent requirements ask us to find versions of java.exe
that are bundled in a JDK. This can now be done using the -jdk
flag.
Change-Id: I3aaba9c74271f0529d7fa16ff822b999059d578c
|
|/
|
|
| |
Change-Id: I46f2462f396c7c2f40238b7da438189b9de02a15
|
|
|
|
| |
Change-Id: I081871bbff9c6e714eda3e47ee16e8b486e2355b
|
|
|
|
|
|
|
|
| |
- Paths needed to be updated from find_java to find_java/src/source
- Some projects weren't compiling and needed to include references
to various .cpp files
Change-Id: I495905ef37a693d25cf34410dc395c9ae074b1da
|
|
|
|
| |
Change-Id: Ib2395bd47f4a751b449a618563b438e72f76633f
|
|
|
|
| |
Change-Id: I90ff236c35a857ebde82c3d63479709474aad204
|
|
|
|
|
|
| |
Properly handles spaces in installation pathname on Windows.
Change-Id: I8bcfd18fddbe6d5ad70a8563e8696af2876c1d1b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The SDK Launcher is the "SDK Manager.exe" redirector
that is copied at the root of an installed SDK. This
change the path where it looks for android.bat so that
it can also work when placed at the root of an ADT
bundle.
SDK Bug: 39686
Change-Id: I6222e45be5a3aca62d3557e2f8763c21c07f4f5d
|
|/
|
|
|
|
|
|
|
|
|
|
| |
find_java.exe is used to locate the Path to the JVM on Windows
and it checks the Java version. SDK tools require Java 1.6 now.
Also update the find_java error message to mention the
JAVA_HOME environment variable.
SDK Bug: 39876
Change-Id: I355998b10014471ccbe14ca9e977d07126b072c1
|
|
|
|
| |
Change-Id: I4e3135927616eb6ad3e0da46496bb97b3029ccd9
|
|
|
|
| |
Change-Id: I73d08808cbf0dd7032fc481aa81ad37181930d05
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we find a java.exe file, run java -version and
parse its version number. Only accept java 1.5 or
better.
There's a moderate effort to find the highest
version available in each category: for starter
scripts, it doesn't matter if we actually have
the highest. However within a given category
(env path, program files, registry), picking
up the highest available make sense. In normal
cases users won't have many concurrent versions.
Change-Id: I4f2504642a1712b62aa303562578572066d82d3b
|
|
|
|
| |
Change-Id: I6a139630a325f3537961cc5be2726816a060bb65
|
|
|
|
| |
Change-Id: I9f3fc572c3af6d8457a75cebae1aa6a850511afc
|
|
|
|
| |
Change-Id: Ic2bfe71de73ee27d44b6004dd66893374e140bba
|
|
|
|
| |
Change-Id: I7a7cdd38edfd6cc0d4272faad3df4c1c34b724cd
|
|
This adds a "find_java.exe" that will be packages
in SDK/tools/lib. It will be used by android.bat
and the other launchers to locate the best version
of java to use for our tools (currently we have
a find_java.bat that uses DOS commands to achieve
something similar but more limited).
In addition this creates a static "findjavalib"
that is used by the NSIS installer to locate
java and get its version (to complain in case we
only find a Java 1.4 or lesser). The goal is for
the installer to use the same logic as the tools
will use to locate the java binary.
Change-Id: Ic2efb388135087bab9687c3332882047fd041b1c
|