Code Monkey home page Code Monkey logo

graalvm-ce-deb's Introduction

graalvm-ce-deb

Graalvm Community Edition Debian package generator.

How to Run

# Build with default settings (Java 8 JVM, amd64 architecture, Version 21.0.0.2)
./build

# Build with specific settings (Java 11 JVM, aarch64 architecture, Version 20.0.0)
JVM_VERSION=11 ARCHITECTURE=aarch64 GRAALVM_VERSION=20.0.0 ./build

Installation

sudo dpkg -i {graalvm-deb-path}

Making the GraalVM installation to primary JRE/JDK

For the installation includes .jinfo file, you can set the primary jre/sdk installation among the installed alternatives. This command sets all jre/jdk related binaries (java, javac, javah, etc.) to point the ones in the specified jre/jdk installation at once.

# This command sets java, javac, javah, ... to point the ones in the graalvm (java8) installation
update-java-alternatives --set /usr/lib/jvm/graalvm-ce-java8

If fzf is installed on your system, you can select the primary installation interactively with the following command:

update-java-alternatives --list | awk '{print $1}' | fzf | xargs sudo update-java-alternatives --set

Note: update-java-alternatives only updates jre/jvm related alternatives; non-jvm binaries like js, npm or gu are not updated.

Installing without existing Java

This package depends on ca-certificates-java which depends on a Java runtime. GraalVM Java can be installed without a prior Java installation by doing following:

# Unpack package but don't configure it
dpkg --unpack graalvm-ce-<VERSION>.deb

# Install package dependencies. GraalVM package will be configured once its dependencies are installed
apt-get install ca-certificates-java java-common libnss3 libnspr4 libsqlite3-0

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.