Java

jlink with Spring Boot services

September 28, 2020
Java, Docker
Java, OpenJDK, JDK, DockerImages, Docker, Jvm, Jre, Maven, Spring Boot

This always has been my priority because… I don’t want to pay extra in ECR so… I have to create small docker images. we need to list the classpath of all the libraries that we are going to use the follow command in maven ot save all of them in a file mvn dependency:build-classpath -Dmdep.includeScope=runtime -Dmdep.outputFile=classpath once we have all the libraries in a file… we need are going to put everything in a environment variable that way we can use it later on. ...

What’s going on with Java?

January 23, 2020
Java, Opinion
AdoptOpenJDK, Java, JDK, JDK 11, JDK 11 LTS, JDK 6, JDK 7, JDK 8, OpenJDK, Opinion

The other day there were a few news articles about the new version of Java. I was thinking another one? Really? Like a lot of people in the beginning of their careers, no-one checks the differences between Java versions because they are focused on the projects which they are working on, or maybe it’s just me. But, I had a break between jobs so I decided to update all my knowledge and one thing from my list was this one, so I hope you find this information interesting. ...