Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

Cannot install jdk 18.0.2.1 on macos Ventura 13.0

Currently, I am using macOS Ventura 13.0 and will develop a Java application. So, I tried installing JDK 18.0.2.1, but I got this error message. JDK 18.0.2.1 can't be installed on this computer. I don'...
Bolt's user avatar
  • 38
0 votes
2 answers
58 views

When ever I start my Java Rest Application, it creates old replaced columns in my MySQL table

I built a Java 18, Spring boot, Rest API that retrieves data from a MySQL database. I recently decided to change a few of the database table column names to better represent the fields. But whenever ...
Joseph McTigue's user avatar
1 vote
2 answers
316 views

Cannot autowire open feign client

I have the following open feign client: package com.example.feignclientch11.clients; import com.example.feignclientch11.entities.Payment; import org.springframework.cloud.openfeign.FeignClient; ...
cristid9's user avatar
  • 1,188
1 vote
1 answer
195 views

Issue with getting Jar dependencies via Jdeps

I want to create a JLink image of a jar file of my Java project and I'm using Maven as build tool. I'm trying to get all dependencies needed to run my project to create a JLink image of it by using ...
Aryan's user avatar
  • 121
0 votes
0 answers
38 views

How to Remove a Cursor When over a JLabel with an image?

this appears when i hover over with an mouse in a JLabel; i didn´t find any solution and anyone that had the same problem behind the JLabel is a JPanel and a JFrame i´m currently using the java 18 and ...
Joao Pedro Flausino's user avatar
1 vote
0 answers
510 views

Invalid runtime for JavaSE-11: Runtime at is not compatible with the 'JavaSE-11' environment

I'm programming in React Native and until yesterdar my code works correctly on the physical device, but not in emulator. In a moment I needed to use emulator and I was trying to run app in emulator, ...
Gabi Mangili's user avatar
1 vote
1 answer
429 views

Java Configuration in VS Code - Linux Mint

I really need your help: I can't install and configure Java in VS Code, on Linux Mint. I've looked for videos, tutorials and the like, but without success. I've already edited /etc/bash.bashrc, /etc/...
Aylmer Bolzan's user avatar
0 votes
0 answers
218 views

Why does taking a heap histo using OnOutOfMemoryError hang?

When the JVM (OpenJDK 18) throws an OutOfMemoryError, I want to make sure it stops and we take a heap histogram using jmap. I achieve that with the flags -XX:-ExitOnOutOfMemoryError -XX:...
TTT's user avatar
  • 6,916
1 vote
1 answer
391 views

why does eclipse show an error message when using the javadoc tag @param when commenting?

I was typing some code in eclipse and as soon as I start to use the javadoc @param tag the IDE show me an error mark as seen in the picture. When I use the given solution from eclipse, the IDE ...
Heracless123's user avatar
5 votes
1 answer
875 views

JPackage app-image exe launches multiple exe's in JDK 17+

The following small Java program and jpackage command create an app-image which when launched on Windows 10 launches multiple exe's. This does not happen before JDK 17. The same code and command using ...
aauclair's user avatar
0 votes
0 answers
33 views

JavaFX 18 Maven IntelliJ: Graphics Device initialization failed for: d3d, sw Error initializing QuantumRenderer: no suitable pipeline found [duplicate]

I'd like to create a fat JAR (uber JAR), that runs on double click, and contains all dependencies (JavaFX and other). 'm using Java 18, JavaFX 18, Maven and IntelliJ for my project. The project builds ...
Thend's user avatar
  • 313
0 votes
1 answer
911 views

Creating executable JAR in IntelliJ (Java 18, JavaFX 18 Maven project), "WARNING: Unsupported JavaFX configuration..."

I have a Java 18, JavaFX 18 Maven project which has a lot of libraries, beside the javaFX libraries, that needs to be included in the artifact. I want to create an artifact, a jar, which contains all ...
Thend's user avatar
  • 313
4 votes
3 answers
2k views

Get response from external API in Spring Reactive WebFlux

Hi I'm new to reactive programming. I want to get a response from external API which has holiday calendar and count working days between given two days. Here is what I implement up to now. But I have ...
Nisha's user avatar
  • 389
0 votes
1 answer
558 views

Front slash(/) and special characters in rest url [duplicate]

Restful web services : GetMapping url has a variable which should be passed as a path variable but that variable contains front slash and special characters in it. Any suggestions on how to handle ...
user avatar
3 votes
1 answer
689 views

Java VarHandle to a C string with java.lang.foreign API

I would like to use foreign function interface from project panama to access C library from Java19. The C interface is quite simple: typedef struct { int len; char name[100]; } ent; ent* foo(); ...
kofemann's user avatar
  • 4,433

15 30 50 per page