Code Monkey home page Code Monkey logo

Comments (7)

jrichter1 avatar jrichter1 commented on July 22, 2024 2

In case you have java 9 or 10 installed, beware, the error message is misleading. The only java version that does work here is java 8 (or 1.8). And it only works if java 8 is the default java on your system.

Which leaves a question for @dgolovin:
Add support for newer java (eclipse seems to run fine on it)
-- OR --
Make it clear java 1.8 is the desired version and make sure it is found even if it is not the default

from developer-platform-install.

dgolovin avatar dgolovin commented on July 22, 2024

@pcd4h Sorry you have this issue.
What is output for /usr/libexec/java_home?

from developer-platform-install.

timuluvus avatar timuluvus commented on July 22, 2024

I have this same issue. Has anyone been able to resolve it? Have tried to install JDK several times and when check java -version on mac, everything is as expected.

from developer-platform-install.

timuluvus avatar timuluvus commented on July 22, 2024

Output of java_home is: /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home

from developer-platform-install.

pcd4h avatar pcd4h commented on July 22, 2024

The output for /usr/libexec/java_home is
/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
in my case.

from developer-platform-install.

timuluvus avatar timuluvus commented on July 22, 2024

OK I uninstalled java and installed JDK Java SE 8u161 (http://www.oracle.com/technetwork/java/javase/downloads/index.html). The requirement for 1.8.0 or higher in the error message is misleading.
Thanks @jrichter1

from developer-platform-install.

dgolovin avatar dgolovin commented on July 22, 2024

@jrichter1 Thanks!
@timuluvus @pcd4h Thank you for update, unfortunately @jrichter1 is right.
Will fix detection for newest Java releases first and update error message to be clear that Java 8 is the one to use for now.
Then we will add support for newest Java Releases.

from developer-platform-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.