Put Oracle Java 8 on CircleCI 2

I needed Java to run swagger-gen A memo when Java 8 is installed in CircleCI2

# Javascript Node CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
version: 2
      # specify the version you desire here
      - image: circleci/node:6.11.2

    working_directory: ~/repo

      # install java 8
      - run: echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 boolean true" > debconf.txt
      - run: sudo debconf-set-selections debconf.txt
      - run: sudo apt-get install software-properties-common
      - run: sudo add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"
      - run: sudo apt-get update
      - run: sudo apt-get install oracle-java8-installer

Recommended Posts

Put Oracle Java 8 on CircleCI 2
Java9 (based on Oracle JVM) catchup
Oracle Java Day 2017
Oracle Java Day 2017
Put Java 11 and spring tool suite on mac
Let's touch on Java
Put java8 in centos7
Install Java on Mac
Received Oracle Java Bronze
Run PostgreSQL on Java
Put JetBrains on Ubuntu
Java version control on macOS
Install OpenJDK7 (JAVA) on ubuntu 14.04
Put Ubuntu 20.04.1 on Raspberry Pi 4
Reflection on Java string manipulation
On passing Java Gold SE 8
Install Java on WSL Ubuntu 18.04
Run java applet on ubuntu
Java version change on CentOS
Install java 1.8.0 on Amazon linux2
Run Java EE applications on CICS
Using Java on OSX 10.15 (Catalina) β
Consideration on Java Persistence Framework 2017 (Summary) -1
Install Java with zip on Windows
Get Java Silver on your commute!
[Java] How to update Java on Windows
Oracle Certified Java Programmer, Gold SE 8
Consideration on Java Persistence Framework 2017 (7) EclipseLink
Install Java Open JDK 8 on CentOS 7
Is Java on AWS Lambda slow?
Put a badge on the icon
Error when deploying EC2 on CircleCI
Notes on signal control in Java
Consideration on the 2017 Java Persistence Framework (1)
Consideration on Java Persistence Framework 2017 (8) Hibernate5
Notes on migrating from CircleCI 1.0 to 2.0
Run tomcat shell script on java8
How to pass Oracle Java Silver
Enable Java 8 and Java 11 SDKs on Ubuntu
Java cannot be installed on Ubuntu 13.04
Notes on Android (java) thread processing
Consideration on Java Persistence Framework 2017 (2) Doma2
Notes on Java path and Package
Install Java 9 on windows 10 and CentOS 7
Develop gRPC on Windows + Java 7 + Maven 2
Install Java development environment on Mac