User Tag List

Results 1 to 4 of 4

Thread: Clickteam Fusion 2.5 JDK error

  1. #1
    No Products Registered

    Join Date
    Apr 2017
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Clickteam Fusion 2.5 JDK error

    I can't export the Android app, I have a JDK error. This is the error log:

    Buildfile: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\buil d.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.2.5
    [checkenv] Installed at C:\Android SDK

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 26.0.0
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 5.0.1
    [gettarget] API level: 21
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin\ res
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\gen
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\Pisti\AppData\Local\Temp\And6119.tmp\bin\ dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:

    BUILD FAILED
    C:\Android SDK\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Android SDK\tools\ant\build.xml:730: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Program Files (x86)\Java\jre1.8.0_131"

    Total time: 1 second

    How to fix this? (sorry for my english)

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,147
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    did you configure these directories inside preferences in the fusion editor?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    652
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Check Fusion Preferences and choose jdk1.8.0_131 and not jre1.8.0_131.

    jdk1.png

  4. #4
    No Products Registered

    Join Date
    Apr 2017
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, thanks! This works! Thanks!!!

Similar Threads

  1. Replies: 4
    Last Post: 21st October 2016, 12:17 PM
  2. Replies: 9
    Last Post: 18th April 2015, 01:07 AM
  3. Replies: 4
    Last Post: 8th January 2015, 09:22 PM
  4. Replies: 0
    Last Post: 5th December 2013, 11:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •