Skip to content

Build failed: JDK 8u202 required #5827

Description

@kayserifserif

Description

First time contributor! Tried to build source code on my local machine according to the instructions but failed when running ant run.

Expected Behavior

Expected source code to build.

Current Behavior

Getting this error when trying to build.

BUILD FAILED
/Users/kathey/Documents/code/processing/build/build.xml:308: The following error occurred while executing this line:
/Users/kathey/Documents/code/processing/build/build.xml:518: JDK 8u202 required.
To build on OS X, you must install Oracle's JDK 8u202 from
http://www.oracle.com/technetwork/java/javase/downloads
Or... type 'ant download-jdk-macosx' to download it to your Desktop.
Note that only 8u202 (not a later or earlier version) will work. 
And it must be the JDK, not the JRE. And do not try to defy me again.

Steps to Reproduce

  1. Clone source repository.
  2. Navigate to Processing directory.
  3. Type:
cd build
ant run

Your Environment

I am on macOS 10.14.3. I successfully downloaded JDK from here. When typing java -version into the command line, I get:

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

Possible Causes / Solutions

I'm not sure if JDK 8 downloaded successfully, or if there are multiple versions of Java installed and the system isn't finding JDK 8. How can I fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions