Compiling and running Java Source code using GraalVM and Oracle Java Development Kit

GraalVM is a Java VM and JDK based on HotSpot/OpenJDK, implemented in Java. It supports additional programming languages like Java,Python, Ruby, Javascript R and execution modes, like ahead-of-time compilation of Java applications for fast startup and low memory footprint.

All these examples will work with Oracle Java Development Kit too.

In this tutorial the user will learn

  1. Learn to compile .java files using GraalVM /Oracle JDK
  2. Learn to run the java class files using GraalVM /Oracle JDK
  3. Learn how to compile java source files in different directories
  4. Learn to specify the location of the compiled java classes using -d flag of javac compiler
  5. Learn to compile multifile multiclass java files using GraalVM/Oracle JDK.
  6. Learn to oset Classpath for javac and other flags of javac compiler

Original tutorial can be found here

If you like a Video Tutorial Do check our Youtube channel

--

--

--

https://www.youtube.com/c/XanthiumIndustries/videos

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Our Investment in Notifi Network

One Mammoth of a Job: An Interview with Eugen Rochko of Mastodon

Setup Burp Suite Pro 2.1 on MacOSX

🚀🚀🚀

4 WebApp development trends you MUST know in 2018

Manage database changes with Liquibase in Spring Boot

What I learned working on Nebula Graph, an open source and distributed graph database

Passing HashiCorp Infrastructure Automation Certification Exam in 3 days

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
RSDevX

RSDevX

https://www.youtube.com/c/XanthiumIndustries/videos

More from Medium

Matrix URIs, their semantics and usage in Java RESTful Services

Optimizing GC time by reducing Humongous allocations

JAVA 16 And 17: Evolutions and new features — Part 2

Easy mass-logging with AspectJ maven plugin