How to upgrade AdoptOpenJDK8 and Java11 with Homebrew - 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

Related

Failed dependencies error during installation of neo4j on Centos7

I'm trying to install community version of neo4j server.
My server is running Centos7
$ hostnamectl
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1160.80.1.el7.x86_64
Architecture: x86-64
I have jdk-17_linux-x64_bin.rpm installed.
When I run
rpm -ivh neo4j-5.3.0-1.noarch.rpm
I get the following error message:
error: Failed dependencies:
cypher-shell >= 5.0 is needed by neo4j-5.3.0-1.noarch
cypher-shell < 6.0 is needed by neo4j-5.3.0-1.noarch
Searching for "cypher-shell >= 5.0 " online returns 0 results.
What am I missing?
Thank you
As reported at the link neo4j.com/docs/operations-manual/current/installation/linux/rpm "It is important to note that using this method will mean that the offline machine will not receive the dependencies that are normally downloaded and installed automatically when using yum for installing Neo4j; Neo4j Cypher Shell and Java". So you have to download cypher-shell RPM at the link neo4j.com/download-center/#cypher-shell and install it before neo4j

brew - How list/identify packages that depend on unsupported macOS

brew doctor reports: Error: unknown or unsupported macOS version :mountain_lion
This is a problem having nothing to do with my current version of the macOS I'm using (Catalina), but rather because I have packages that seem to only work/depend on the older macOS version.
How might I identify the packages that are triggering this error? Over the years, I have accumulated 314 packages installed using brew!
Thank you to anyone with some advice.
- E

dart ubuntu package is behind the latest release

I've installed dart using apt as per the instructions here:
https://dart.dev/get-dart#install-using-apt-get
The latest version of dart is 2.8.4
The apt package is still on 2.8.1.
Am I doing something wrong or is google just being slow to update the apt packages?

cytoscape system checker fails on mac catalina

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

Ubuntu 14.04 + IOS 11.2.5 Unhandled Lockdown error (-3)

good morning,
i have an issue with my phone I want to plug in my phone so i can use it inside a virtualmachine (Mac os)but when I plug it while I'm still in my main system
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
I get this error
Unhandled Lockdown error (-3) I have tried to follow instructions mentioned in here and in every other tutorial that I could find on the internet but nothing works
if there is a solution to this probleme or an alternative way to use my phone inside my virtualbox I would be thankful
PS: I'm using Oracle VM VirtualBox 5.1.18-114002
and I already added the extension pack
The version of libimobiledevice that ships with Ubuntu 14.04 is outdated. The handshake protocol (the way the software running on your computer authenticates with the iPhone or iPad) has changed in the latest couple of version of libimobiledevice and you need a new version of libimobiledevice.
Your best bet is to compile and install the following software from source:
libplist
libusbmuxd
usbmuxd
libimobiledevice
For each of the repositories, you'll need to git clone the repository, run ./autogen.sh, make and then sudo make install
If you don't want to compile from source, and upgrading to Ubuntu 16.04 is an option, we maintain an Ubuntu PPA with up-to-date and precompiled versions of libimobiledevice at https://launchpad.net/~quamotion/+archive/ubuntu/ppa.

Resources