cytoscape system checker fails on mac catalina - cytoscape

I have installed oracle jdk and updated java (java 8 update 251). The system checker still fails.
############# Cytoscape System Requirements Checker for Mac ##############
Target Cytoscape version: 3.7.2
Your shell is zsh
Compatible OS version found: 10.15
- Pass: OS Version = 10.15.4
- Pass: Following Oracle JDK found:
/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk
Fail: Java is not reachable.
Try re-installing Java 8.```

Couple of things jump out at me. First, Cytoscape 3.8.0 is the current release, so I would try installing that, and second, Cytoscape 3.8.0 requires Java 11. Can you give those two things a try and then let us know if the install goes well.
Thanks!
-- scooter

Related

Cytoscape installation assistance

I've tried installing and reinstalling both Cytoscape and Java. I'm kinda ignorant when it comes to these things so I would love detailed help.
macOS Catalina Version 10.15.4. Cytoscape 3.8.0 and Java 8 Update 251
Cytoscape 3.8.0 requires Java 11 and won't run with Java 8.
-- scooter

How to upgrade AdoptOpenJDK8 and Java11 with Homebrew

I have searched a little bit, but im a little bit confused.
I have installed Java8 and Java11 by homebrew. Java8 is installed with adoptopenjdk/openjdk tap and Java11 is from homebrew/cask tap. When i see the version for AdoptOpenJDK i see this version:
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode) but on Oracle i see that the build number is 33, and i have b03. How to update the version with homebrew?
When i switch to Java11 by using Jenv and get version on terminal i get:
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
On oracle i see that the version is 11.0.3, how to update this? Or cant i do that by homebrew? Or is it any other better solutions to install java and switch between versions?
Thank for all answers!
At least the Java 11 version is not available. Here is how to check
Update brew brew update
Search for java casks brew search java
See info for java11 cask brew cask info java11
$ brew cask info java11
java11: 11.0.2,9
https://www.oracle.com/technetwork/java/javase/
Not installed
From: https://github.com/Homebrew/homebrew-cask-versions/blob/master/Casks/java11.rb
==> Name
OpenJDK Java Development Kit
==> Artifacts
jdk-11.0.2.jdk -> /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk (Generic Artifact)
Do the same for your Java 8 version. If a newer version is available upgrade your package with brew cask upgrade java11

Change Dart VM version

I want to use the stable release of the sdk, which should be 2.2.0, but when I in the console check the version with the command "dart --version", it says I am running "Dart VM version: 2.1.0".
I have tried to upgrade via choco, and it says that I already have 2.2.0 installed.
Do I have multiple versions av Dart installed and can switch between them?
If so, can I set a default version?
I'll just mark this as answered with the comment of jamsdlin, as it was the correct answer for me.
When you run dart, you'll run whichever dart binary is found first in your search PATH. You have multiple versions installed. Uninstall the old version or modify PATH so that the location for 2.2.0 occurs first.

ant Unsupported major.minor version 52.0

This is driving me nuts.
When running any ant command (even ant -version), I always get the following error on Mac OSX:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
I removed and re-installed ant entirely, and still get the same error.
For our company we have to run Java7 to run the command, so I created an alias.
This used to work, I'm not sure what changed.
I see you have java 1.7 installed and post that you have installed Ant 1.10.
Ant 1.10 requires jdk 8
Refer : http://ant.apache.org/
The Apache Ant team currently maintains two lines of development. The
1.9.x releases require Java5 at runtime and 1.10.x requires Java8 at runtime. Both lines are based off of Ant 1.9.7 and the 1.9.x releases
are mostly bug fix releases while additional new features are
developed for 1.10.x. We recommend using 1.10.x unless you are
required to use versions of Java prior to Java8 during the build
process.
Try using Ant 1.9.x if you can't use java 8
Here is a list of minimum java version for given ant version

Blackberry tablet SDK on Win64

I'm trying to install the BlackBerry tablet SDK 0.9.0 for Windows but the installer gives the following error:
Win64 not supported.
The author of the package you are installing did not include support for this platform
Is there a way to trick the installer to think I have a 32-bit OS instead of a 64-bit one?
Ok, this works for Windows 7 x64.
Install a java vm for "Windows" (aka the 32bit version from Oracle)
Reboot after install
Unzip the BlackBerryTabletSDK-Air-Installer-0.9.0-Win.exe installer file (I used 7zip)
Navigate to this file:
BlackBerryTabletSDK-Air-Installer-0.9.0-Win\Windows\BlackBerryTabletSDK-Air-Installer-0.9.0.201010221500.lax
Locate this property:
lax.nl.current.vm=
Set it to the location where you installed the 32 bit jvm (for me):
lax.nl.current.vm=C:/Program Files (x86)/Java/jdk1.6.0_22/bin/java.exe
Save the file
Double click the BlackBerryTabletSDK-Air-Installer-0.9.0.201010221500.exe 6.

Resources