i'm really new to NativeScript, i'm trying to install it properly, but I 've got an issue with javac , displayed with 'tns doctor' :
Javac version 14 is not supported. You have to install at least 1.8.0 and below 13.0.0.
and I ve already download and install JDK 8 manually but it does'nt detect it.
I've tried with "Configure for Local Guide" and I've got another issue like that :
Error: Cask 'adoptopenjdk8' is unavailable: No Cask with this name exists.
WARNING: Open JDK 8 not installed
Any idea ? Thanks
I'm runnning on IOS Catalina
try uninstalling your current version of java by
https://www.java.com/en/download/help/mac_uninstall_java.xml
and then installing java 8.
and as a newbee it would be great if you set up android studio first for emulator purposes..
Related
Flutter doctor says Android Studio ✗ Unable to find bundled Java version
I then downloaded and installed JDK from here for mac M1, https://www.oracle.com/java/technologies/downloads/#jdk17-mac , arm version.
I got jdk path with java -version and got java version "17.0.1".
Got the path with /usr/libexec/java_home -V , /Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home
opened .zhsrc in a text editor and added the following
export PATH="$PATH:/Users/prettygirl/FlutterSDK/flutter/bin"
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home"
then ran the flutter doctor again, and it still shows the error mentioned above.
Computer: M1 Mac-mini (silicon) macOS monterey,
Android Studio Chipmunk | 2021.2.1 Canary 4
I encountered the same problem on my Mac (also an M1).
I just downloaded the JDK from the java website itself and everything was ok after that.
I am unable to install hyper kit on my mac. I am issueing the command brew install hyperkit from the terminal . the following is the logs result
Kjango-MacBook-Air:~ kanan$ brew install hyperkit
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
hyperkit: A full installation of Xcode.app 9.0 is required to compile
this software. Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.
Appreciate if you can help me to resolve.
thank you
I have upgraded to the mac os catalina .
then i was able to install it
I have a problem with latest version of Cytoscape 3.8.0 It doesnt start. I can see only logo and than nothing. Computer is running OSX 10.13.6. I am using successfully version Cytoscape 3.7.2 but I want to upgrade. When I run script mac.sh I got following:
Target Cytoscape version: 3.8.0
Your shell is bash
Compatible OS version found: 10.13
Pass: OS Version = 10.13.6
Pass: Following Oracle JDK found:
/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk
Fail: Java is not reachable.
Try re-installing Java 11.
I can confirm that java is in place /Library/Java/JavaVirtualMachines and versions jdk-11.0.7.jdk jdk-12.0.2.jdk jdk-14.0.1.jdk
I guess that version 37 and 38 work with java 11? I have reinstalled java 11 with same results as before. Version 38 doesnt start. When I try to start version 38 from terminal with cytoscape.sh I got long error message which starts with:
Unable to find any JVMs matching version "1.8".
karaf.base: /Applications/Cytoscape_v3.8.0/framework
JAVA_HOME: null
ERROR: Error parsing system bundle export statement: org.osgi.dto;version="1.0",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0...
I can paste whole error message if needed.
Any idea what should i do? Thanx.
Cytoscape 3.7.x requires Java 8. Cytoscape 3.8.0 requires Java 11. It looks like your java home is incorrect. If you do:
/usr/libexec/java_home
it should point to your java 11 installation. On my mac it says:
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Note that the "/Contents/Home" is important. To set your actual JAVA_HOME, do
export JAVA_HOME=`/usr/libexec/java_home -v 11`
I had this same problem. What Scooter Morris mentioned is correct, but I had to follow an additional link on stack overflow to get it fixed.
This is exactly what I did:
In my case I had to run:/usr/libexec/java_home -V to see the Java Virtual Machines I have installed and specify the V 11 using:
export JAVA_HOME=`/usr/libexec/java_home -v 11.0.7`
Then running the ./mac.sh command tells me everything checks out and Cytoscape can finnaly run :)
Edit: I should add that I can only run cytoscape by launching it from the terminal via:
cd /Applications/Cytoscape_v3.8.0
./cytoscape.sh
Clicking the app icon only results in the app crashing on load but it appears to work fine by launching it from the script. I don't have this issue on Mac OS 10.14 so maybe its a software version issue or some background app in my computer is getting in the way of launching the app normally.
So I'm trying to clone the Unreal Engine from GitHub and setup on OSX Mojave and when running the GenerateProjectFiles.command file as part of the setup, I get the following error:
ERROR: UnrealBuildTool Exception: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs
I do have a folder called MacOSX.sdk in a different directory, but when I try to create a symlink to it in the directory that Unreal is searching for, I get this following error instead:
ERROR: UnrealBuildTool Exception: Unable to find installed MacOS SDK on remote agent.
It seems like I'm missing the correct version of the MacOSX.sdk that Unreal needs but I'm not sure what that is. I know you get it when you install XCode, but I have both XCode 10.1 and XCode 9.4 with command line tools installed and still no luck.
What am I missing here?
I have same issue and find a measure for my case.
sudo xcode-select --reset
from here
you need the correct version of xcode with the specific version of unreal.
for unreal engine 4.24 or earlier, you need to install xcode 11 from here:Download xcode 11.for 4.25 or later, use xcode 12 or later if you haven't installed.
if not use sudo xcode-select --reset
I just updated the sdk to 4.1.4 and trying to install clay from command line I get the following message:
This projected is outdated (try 'pebble convert-project' or'pebble sdk install 2.9')
Now, I am not going to install the 2.9 sdk, of course, and I know that convert is just going to change appinfo.json into pakage.json, which I don't need to do because I am already on sdk 4.1.4.
Has anybody here had the same issue, how did you solve it?
Pebble-Clay is a JS package that can also be installed by running
npm install pebble-clay
This fixes the issue.
Alternatively downloading and installing the SDK 2.9 will fix it. (This will not overwrite the latest version of the SDK.)