Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3403] If Java x64 installed before Appcelerator it will cause Error at a first run on Windows 10

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionHold
Resolution Date2016-03-23T15:04:47.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterCREATIVE KAIZEN
AssigneeShak Hossain
Created2016-03-23T11:14:07.000+0000
Updated2016-03-23T15:56:37.000+0000

Description

Steps to reproduce

1. Install Java x64 (via Netbeans for PHP), 2. Install Appcelerator - it will say there is Java missing (which is completely normal because Appcelerator works with x32 Java). Appcelerator will require installation of Java (1.png). It won't allow skipping installation (what is completely normal) and will download and install Java. 3. After installation Appcelerator won't be able to work. With every run it will show error (2.png)

Actual Results

During every run it will show error. If you delete Java x64, Java x32, Appcelerator, Netbeans and install Appcelerator first (and download Java via installer) it will work without problem.

Expected results:

Appcelerator should recognize proper path or ask to set it if finds such problem.

Attachments

FileDateSize
1.png2016-03-23T11:14:01.000+000022201
2.png2016-03-23T11:14:02.000+000048386

Comments

  1. Sharif AbuDarda 2016-03-23

    Hello, Thanks for your concern. The issue should not occur if one's follow the documentation properly. Java and node.js are prerequisites for Appcelerator development. And in JAVA installation section it clearly stated that Java x64 is not supported in windows platform. Now, http://docs.appcelerator.com/platform/latest/#!/guide/Installation_and_Configuration in the guide link at it advised to install the prerequisites first and then go on to download the studio and install it. So, For now my recommendation is one should follow the guide first before working with Appcelerator. That's the reason the guide is there. The issue will be addressed in later versions for a fix. Hope this clears your thoughts. Thanks.
  2. CREATIVE KAIZEN 2016-03-23

    Hello, I think you did not read my ticket's description. Please take time to read it again or I will have to submit it again. I am aware about manual (i am working with Titanium for 3 years) and in manual you have : The 32-bit version of the JDK is required regardless of whether Titanium is running on a 32-bit or 64-bit Windows system. Studio offers to install JDK 7 if no JDK is found. So if you have installed first x64 *and than JDK 7 via Appcelerator installer* according to manual it should work. The bug is that if you: 1. Install x64 JAVA, 2. Install x32 JAVA via AS, you will get an error as in 2.png Please reopen the ticket.

JSON Source