23,184 questions
Advice
0
votes
17
replies
147
views
Modern websites not working in Java 8 WebView
The Java 8 WebView is too old for nowadays' websites. I've done some research, but nothing works.
JCEF is for Swing. I tried everything to embed it in JavaFX, but nothing works (threading issues, DLL ...
3
votes
1
answer
98
views
How to change the user that registers CUPS as a job requester from the Java Print API?
I'm using the Java printing API [1] to print to a printer using CUPS.
We are using Java 8 for Java client and CUPS 2.2.6.
The Java process is on the same server as the CUPS daemon where all printers ...
3
votes
1
answer
179
views
Is it possible to run JavaFX applications in Java 8?
I have an application written to be used in Java 8 with JavaFX. I tried building it on a new machine today and was surprised to find that JavaFX is no longer bundled with Oracle JDK 8, as of Oracle ...
1
vote
0
answers
57
views
Java 1.8 Jwts token generation and validation migrate to Java 17
I need to migrate a project from Java 1.8 to Java 17 and I have troubles with a token generator.
Actually the generation is this (Java 1.8):
public String generateId(String id) {
return ...
1
vote
0
answers
41
views
Apache POI: Wrapped text rows do not auto-expand in generated Excel (code-only, no manual interaction)
I am generating an Excel file entirely through code using Apache POI (XSSF). The file is never manually opened or edited; it is generated and then directly used (for example, converted to PDF).
Some ...
7
votes
1
answer
310
views
Java Map.computeIfAbsent consuming high memory [duplicate]
I had written a method to update a HashMap, provided an int id value (ex: client id) as key, the method would check if the key is available in the map, if not it would create an entry and associate a ...
0
votes
0
answers
39
views
Wildfly jtds upgrade java gives connection reset using SSL
We have been using wildfly 20 with the old jtds driver for jdbc connection pooling. Any many of our customers have been as well.We just upgraded from jdk 8-265 to jdk 8-462. After the upgrade, nothing ...
0
votes
0
answers
72
views
Why won't my Netbeans 12.4 open on my Macbook M1 Air?
As the title states, my Netbeans refuses to open; it has the opening loading prompt but it closes as soon as the text says "Done loading modules".
I currently have the newest versions of ...
1
vote
1
answer
158
views
java error when trying to compile and execute java programs using intelliJ idea
I am experiencing build failure when trying to compile and execute Java programs using JDK 8 (1.8.0_432). I keep getting the following error from IntelliJ idea:
java: invalid flag: --add-modules
Not ...
0
votes
0
answers
60
views
Springboot 2.2.5 Java8 not exposing GraphQL
My application runs on Java 8 and Springboot 2.2.5.RELEASE and I am using below dependencies to expose a GraphQL service.
<dependency>
<groupId>com.graphql-java-kickstart</...
0
votes
1
answer
82
views
DYLD_LIBRARY_PATH is null [closed]
I'm trying to run a .jnlp file on my Mac, but I keep getting the error:
DYLD_LIBRARY_PATH is null
java.lang.UnsatisfiedLinkError: Can't load /Users/setupuser/Library/Application Support/Oracle/Java/...
0
votes
1
answer
78
views
Doc4j corrupts docx file after inserting paragraph
I am trying to add a simple text paragraph with text ""Hello from Java test!" in an existing simple docx file (contains only one dummy line of text already) using docx4j.
But when I am ...
2
votes
0
answers
117
views
Java web-socket ssl certificate error while cert is valid
Hello I've been facing a weird problem the past few days.
I send out a demo of my app to a few people. however for around 75% of the people the demo didn't work, while for the other 25% it works great....
0
votes
1
answer
66
views
InvalidDataAccessResourceUsageException: could not execute statement [ERROR: column "" is of type jsonb but expression is of type character varying
I am using SpringBoot 3.5, PostgreSQL and Hibernate/JPA as ORM.
While using JSONB column from DB I am having this error.
org.springframework.dao.InvalidDataAccessResourceUsageException: could not ...
2
votes
1
answer
177
views
CharsetDecoder used within InputStream in release Java 8 onwards doesn't seem to honor CodingErrorAction.Replace
Issue can be found in version Java8 onwards. A CharsetDecoder is explicitly configured with CodingErrorAction.REPLACE ; I would expect the replacement character \uFFFD to be applied when decoding ...