Hi to all , iam fresher in titanium platform. i have download titanium studio and configure android sdk. i have just create new project and when i run in emulator that shows me error like - "Exception in thread "main" Could not find the main class: com.sun.tools.javac.Main. Program will exit." how i solved it. i dont know.
1 Answer
From the looks of it, it appears that it can't find the Java compiler (javac)
You mentioned installing Ti Studio and The Android SDK, but did you install the Java Development Kit? (as detailed in the guides)
Keep in mind that titanium created Java source code (for Android at least) and then compiles said code. So if, the JDK is not installed (or properly configured) that may explain your error.
Hope this helps.
Your Answer
Think you can help? Login to answer this question!