Announcing GraalVM Enterprise in OCI Code Editor and Cloud Shell

August 8, 2022 | 3 minute read
Sachin Pikle
Product Strategy Director
Text Size 100%:

Today, we are announcing that you can use GraalVM Enterprise directly in Oracle Cloud Infrastructure (OCI) Code Editor and Cloud Shell, at no additional cost. This means you can now edit and deploy high-performance Java, Spring Boot, and Micronaut application code from a browser, without any installation and configuration.

Micronaut App with GraalVM Enterprise Native Image in OCI Code Editor

GraalVM is a high-performance JDK distribution that accelerates Java workloads. GraalVM Native Image ahead-of-time compilation builds your Java application into a native executable that is small, starts fast, and uses less memory and CPU. Leading Java microservices frameworks such as Spring Boot, Micronaut, Quarkus and Helidon support GraalVM Native Image.

Code Editor enables you to edit and deploy code directly from the Oracle Cloud Console. You can develop applications, service workflows, and scripts entirely from a browser. This makes it easy to rapidly prototype cloud solutions, try new services, and accomplish quick coding tasks.

Cloud Shell is a free-to-use browser-based terminal accessible from the Oracle Cloud Console. It provides access to a Linux shell with preinstalled developer tools and a pre-authenticated OCI CLI. You can use the shell to interact with OCI resources, follow labs and tutorials, and quickly run utility commands.

 

Using GraalVM Enterprise in Code Editor and Cloud Shell

GraalVM Enterprise JDK 17 and Native Image are now preinstalled in Cloud Shell, so you don’t have to install and configure a development machine. Code Editor's integration with Cloud Shell gives you direct access to GraalVM Enterprise JDK 17 and Native Image.

Simply login to the Oracle Cloud Console and launch Code Editor (or Cloud Shell). From the Code Editor (or Cloud Shell) terminal window, select GraalVM as your JDK by running the following command:

csruntimectl java set graalvmeejdk-17

Now you are all set to use GraalVM Enterprise JDK 17 and Native Image for your Java, Spring Boot, Micronaut, Helidon, and Quarkus applications. You can use the GraalVM Maven and Gradle plugins to build and package your application as a native executable or JAR file.

Java App with GraalVM Enterprise Native Image in OCI Cloud Shell

With GraalVM Enterprise in Code Editor and Cloud Shell, you can jumpstart your cloud native Java application development journey in Oracle Cloud. For more information, see

  1. Sample: Java Hello World with GraalVM Enterprise in OCI Code Editor
  2. Sample: Micronaut Hello World REST App with GraalVM Enterprise in OCI Code Editor
  3. Documentation: GraalVM Enterprise in OCI Cloud Shell
  4. Sample: Java Hello World with GraalVM Enterprise in OCI Cloud Shell
  5. Sample: Micronaut Hello World REST App with GraalVM Enterprise in OCI Cloud Shell
  6. Blog: Developing on Oracle Cloud Infrastructure just got easier with OCI Code Editor!

(Last updated: November 9, 2022)

Sachin Pikle

Product Strategy Director

Sachin Pikle is a Product Strategy Director for GraalVM and Graal Development Kit for Micronaut in Oracle Labs.


Previous Post

Two commonplaces about Java Card

Nicolas Ponsini | 2 min read

Next Post


Introducing Java Runtime Lifecycle Management Operations in Java Management Service

Sanju Nair | 3 min read