https://github.com/making/demo-boot-graal
https://github.com/making/demo-boot-graal
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/making/demo-boot-graal
- Owner: making
- Created: 2019-09-06T06:39:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-06T10:11:20.000Z (over 6 years ago)
- Last Synced: 2025-10-10T15:32:04.395Z (7 months ago)
- Language: Java
- Size: 53.7 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello native image of Spring Boot
If you haven't installed `native-image` yet.
```
sdk install java 19.2.0-grl
sdk use java 19.2.0-grl
gu install native-image
```
```
./mvnw clean package -Pgraal -DskipTests=true
./target/classes/demo-boot-graal
Sep 06, 2019 3:37:48 PM com.fasterxml.jackson.databind.ext.Java7Support
WARNING: Unable to load JDK7 types (annotations, java.nio.file.Path): no Java7 support added
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::
Sep 06, 2019 3:37:48 PM org.springframework.boot.StartupInfoLogger logStarting
INFO: Starting DemoBootGraalApplication on makinoMacBook-puro.local with PID 70668 (/Users/maki/git/demo-boot-graal/target/classes/demo-boot-graal started by maki in /Users/maki/git/demo-boot-graal)
Sep 06, 2019 3:37:48 PM org.springframework.boot.SpringApplication logStartupProfileInfo
INFO: No active profile set, falling back to default profiles: default
Sep 06, 2019 3:37:48 PM org.springframework.boot.web.embedded.netty.NettyWebServer start
INFO: Netty started on port(s): 8080
Sep 06, 2019 3:37:48 PM org.springframework.boot.StartupInfoLogger logStarted
INFO: Started DemoBootGraalApplication in 0.062 seconds (JVM running for 0.065)
```