Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
I believe the install directory ,for the JDK on Mac,changed between versions 1.6 and 1.7. If you navigate to the directory that LiveCode returns, you will find the 1.6 JDK there
I believe the install directory ,for the JDK on Mac,changed between versions 1.6 and 1.7. If you navigate to the directory that LiveCode returns, you will find the 1.6 JDK there
You will need to contact Oracle and ask them what their reason for changing the install directory of the JDK was as we do not have any control over this.
I followed the instructions: downloaded what I think is the correct package:
jdk-8u31-macosx-x64.dmg
ran the installer... and I'm not getting any "JDK"
I have /System/Library/Java/
Support/CoreDeploy.bundle
MRJtoolkit.jar
But I don't see any JDK anywhere and also the mobile preferences in 7.0.3 (Mac OS X + Yosemite) does not see any JDK either... as a result i am unable to do any Android build/emulator testing. How do we go about debugging this? Meanwhile the Mac OS X System Preferences indicate Java is freshly installed, alive and well on this box... what am I missing.
Is the "Java JDK" something different that "Java" a spot light search for "JDK" on turns up the above DMG and some old repository from LC conference in t 2011 about extending LC with Java.
FYI: I'm not seeing any "JavaVirtualMachines/JDK* directory or files anywhere on my machine.
I would also check to see if you are able to launch the Android SDK manager as this requires Java to be installed in order to run. The following video shows the the whole Android setup step by step-
I'm having no trouble launching the Android SDK Manager... I can create a device, set the spec (CPU, screen size etc) and even boot up an android device in the Android manager emulator and there it is: a small black rect on screen and "LG 5 1/2" (my target device.. though that's not actually one of the options... we chose the ARM CPU and set the screen rect and a matching size... and that was our Android device du jour.
I have zero experience so far... I'm way behind on the mobile learning curve, but if my understanding is correct, (all that would not happen if Java were not properly installed.
So, thinking that perhaps LC 7.0.3/Yosemite does *not* require the Mobile Preferences (in LC) to actually know the JDK path (which remains blank, ever thought I'm seeing "green to go" for both iOS and Android in that panel) I go to the development menu.. but do not see any Android test device available, even though the test stack with proper standalone settings saved, is open.
Once (only once) I rebooted everything in some order and then momentarily there was Android as a target above the the iOS and iPad (the stand alone settings for my test app include all three)... but when I chose the Android for the target and ran "Test" LC died in the process of "Installing device...." or some dialog that just hung. No choice then but to force quit LC... on reboot... I don't see any Android target.
So, then, I'm guessing now that LC really does need that path...but now this blocker is completely opaque with no way forward.
I will try the Apple installer and get back to you..