Skip to content

innoq/blog-native-java-graalvm

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

blog-native-java-graalvm

Setup

wget https://github.com/oracle/graal/releases/download/vm-1.0.0-rc1/graalvm-ce-1.0.0-rc1-linux-amd64.tar.gz
docker build . -t graalvm

Hello World

docker run --rm -tiv `pwd`:/work -w /work
bash-4.2# javac HelloWorld.java
bash-4.2# native-image HelloWorld
bash-4.2# ./helloworld

Hello World Server

docker run --rm -tiv `pwd`:/work -w /work
bash-4.2# javac HelloWorldServer.java
bash-4.2# native-image HelloWorldServer
bash-4.2# ./helloworldserver

Containerize

docker build -f=Dockerfile.full . -t hello-graalvm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages