Questions regarding the Eclipse Temurin project and the Eclipse Temurin JDK
Questions tagged [eclipse-temurin]
10 questions
3
votes
1 answer
CMake not detecting JNI properly with Temuring jdk 8 in MacOS
I am building a library on Mac Big Sur using Java 8 from Adoptium (Eclipse Temurin).
To install Java, I am using the following commands:
brew tap homebrew/cask-versions
brew install --cask temurin8
Then, I export JAVA_HOME like this:
export…

Alberto Casas Ortiz
- 806
- 3
- 23
2
votes
1 answer
"insufficient memory" while running eclipse-temurin:17-jdk Docker image
While running a ./mvnw clean package command inside Docker container running eclipse-temurin:17-jdk image, I got the following error (Maven doesn't even execute):
[0.002s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create…

Anthony O.
- 22,041
- 18
- 107
- 163
2
votes
0 answers
Unable to run SQLWorkbenchJ on Mac OS with `temurin-18.jdk` or `sapmachine-jdk-11.0.11.jdk`: Unable to load Java Runtime Environment
Related to this post, but I do not have enough reputation to post a comment there.
The problem: SQL Workbench J fails to use Java on my machine.
Steps I took:
Installed SQLWorkbenchJ with brew install --cask sqlworkbenchj
Tried to launch SQL…

dlaz
- 23
- 1
- 4
2
votes
1 answer
Is it safe to run OpenJDK images like Eclipse Temurin as root?
I noticed that the examples for running the Eclipse Temurin Docker images run the images as root and not as non-root user.
I thought it always would be better to run Docker images as non-root user?
Is it safe to run the Temurin images as root? (For…

Datz
- 3,156
- 3
- 22
- 50
1
vote
1 answer
formatting currency in java 17
There is no doubt that there is some piece of information I'm missing on this.
I've run the following code
import java.text.NumberFormat;
import java.util.Locale;
import java.math.BigDecimal;
class Main {
public static void main(String[] args) {
…

benzen
- 6,204
- 4
- 25
- 37
1
vote
0 answers
UnsatisfiedLinkError when switch to Temurin Alpine from AdoptOpenJDK Alpine
My project has shard libraries we load into Java via System.load(). Previously, we were using the AdoptOpenJDK Alpine docker image, but we are now trying to migrate to the Eclipse Temurin Alpine image. With the former image, everything works, but…

MiketheCalamity
- 1,229
- 1
- 15
- 32
0
votes
0 answers
Docker eclipse-temurin throws error "/bin/sh: 1: [java,: not found"
I have a simple jar file that I am trying to run in a docker. Searching for Java dockers, I found recommendations for eclipse-temurin so I decided to use it. I am using docker and not docker-compose.
My Dockerfile is this:
FROM…

Shimon
- 155
- 1
- 1
- 11
0
votes
0 answers
Getting $$SpringCGLIB$$0 cannot be cast to class org.springframework.cglib.proxy.Factory running Spring Boot App in eclipse-tenurin Docker Container
I am running a Spring Boot / Spring Cloud application. Here is a snippet of my POM file:
org.springframework.boot
spring-boot-starter-parent
3.0.5
…

Craig Mahy
- 31
- 2
0
votes
0 answers
Spring boot - Getting error after updating base image for java
I updated container base image from openjdk:8-jdk-alpine to eclipse-temurin:8-jdk in Dockerfile. No other change is done. When I created pods using updated Docker file. I am getting below error:
]org.springframework.boot.SpringApplication: …

anujprashar
- 6,263
- 7
- 52
- 86
-1
votes
1 answer
Why java app docker image based on eclipse-temurin JRE takes 335Mb?
I'm using temurin 17-jre-jammy docker image as a base and it should take ~90Mb of space.
My app currently takes 74Mb so resulting image must be around 164Mb. But it is 335Mb.
When I'm checking layers on Docker Desktop it says that 17-jre-jammy…

Sneg
- 1,039
- 1
- 11
- 15