Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.5.0a4
Issue ID
589882
Regression
No
Can't build Android app when environment variable "_JAVA_OPTIONS = Xmx8192M" is set
Running 'javac -version' in the cmd.exe outputs 'javac 1.7.0_25'. Building application fails with this error:
Error building Player: UnityException: Unable to find suitable jdk installation. Please make sure you have a suitable jdk installation. Android development requires at least JDK 6 (1.6). The latest JDK can be obtained from the Oracle
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Reproduced with:
Unity Version 4.3.4f1 (e444f76e01cd)
Unity Version 4.5.0a4 (1924b9f0f4c7)
Unity Version 4.5.0b2 (b4a039a50231)
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
caglayansever
Jun 26, 2014 09:35
find java.exe in this path C:\Program Files\Java\jdk1.8.0_05\bin and copy it in C:\Windows