Questions tagged [java-19]

Use this tag for questions specific to Java 19, which is version 19 of the Java platform, released on September 9, 2022. In most cases you should also specify the java tag.

67 questions
0
votes
1 answer

Docker Image for maven with OpenJDK 19 is missing

I am looking at https://openjdk.org/projects/jdk/19/ which seems to indicate that OpenJDK is now Generally Availible as of September 20th 2022. However, when I look at the current maven images (https://hub.docker.com/_/maven) , I find openJDK 17…
HeronAlgoSearch
  • 1,581
  • 2
  • 18
  • 35
0
votes
1 answer

Using Java.io.file, subdirectories can be found using one way but not another

In my school assignment, we are tasked with using threads to speed up a file searching algorithm. The original program they gave us was this: package filefinder; import java.io.File; import java.io.IOException; public class FileFinder { …
user12456500
  • 11
  • 1
  • 2
0
votes
0 answers

Exception in Application start method JavaFX

I've tried all the advice on Stack Overflow, but it didn't help to solve this problem. Whenever I try to run the main.java file, it throws an exception. The code is shown below. Has anyone faced this issue before? main.java>> import…
Aziret
  • 1
0
votes
0 answers

How to mock/spy class java.util.concurrent.ThreadLocalRandom

I am getting below error when I am using Java 19. I tried using --add-opens=java.base/java.util.concurrent=ALL-UNNAMED, but that also does not help to resolve below issue. How can I mock ThreadLocalRandom when using Java 19? I am not getting any…
sKarwasra
  • 45
  • 2
0
votes
0 answers

Why can't I compile jsp?

I have such an assembly Eclipse EE + Java 19 + Tomcat 10. When starting a simple JSP, this error comes out: -ERROR505 java.lang.IllegalStateException: No Java compiler available for configuration options compilerClassName: [null] and…
0
votes
0 answers

Unable to send email from behind a firewall/proxy

I have an application running on a server located in a secure network. The application needs to access a few online resources, which required firewall and proxy settings to be setup. Currently everything (HTTPS & SFTP) is working, except for the…
Eric
  • 1,321
  • 2
  • 15
  • 30
0
votes
0 answers

Failed to get the response in Swagger 3 (open api) while using Java 19 and Spring Boot 3.0.x

I'm migrating from Spring Boot 2 to Spring Boot 3 with Java 19 and also using swagger 3 that's open api. I have added the "open api webmvc ui" dependency in POM file and also changed Javax to Jakarta. I have configured in open api configure file.…
0
votes
0 answers

unsupported class file major version 63

I am trying to run my flutter project in VScode. But this error is * shown. Any ideas on how to resolve this issue? Java version is 19.0.1 gradle version is 7.1.2 Flutter 3.3.9 Tools • Dart 2.18.5 • DevTools 2.15.0 FAILURE: Build failed with an…
0
votes
0 answers

How can I generate Javadoc for the Java 19 environment?

I've been struggling with this question. Of all the resources on the web, none give a concrete example of how to do this. My mind is exhausted after reading the official Javadoc documentation about this where partial examples are given.. just…
TheGeeko61
  • 157
  • 2
  • 8
0
votes
0 answers

Open API: Header authentication is not going in the curl request

I am using Java: 19 Springboot: 3 springdoc-openapi-starter-webmvc-ui: 2.0.4 OpenApi30Config.java package com.example.foo.bar.config; import io.swagger.v3.oas.annotations.OpenAPIDefinition; import…
Prafulla Kumar Sahu
  • 9,321
  • 11
  • 68
  • 105
0
votes
1 answer

Java - Deployment of an exe bundled with JRE using Launch4J

this afternoon I've finally completed my project in Java. So I decided to make it available for windows using launch4j to build the exe file. Seemed something simple, but actually for me is not. My situation right now is the following: I've…
0
votes
1 answer

Android Studio is not launching after installation

I had android studio arctic fox installed earlier but suddenly one day it did stopped launching. It is visible in task manager but the ide is not starting. I did explore all the questions related to it and tried all these methods: Installed latest…
S. B.
  • 186
  • 1
  • 12
0
votes
0 answers

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63 IntelliJ Idea Error

Just started to learn Kotlin on IntelliJ Idea, immediately hit with this bug Could not open init generic class cache for initialization script 'C:\Users\MrHi\AppData\Local\Temp\wrapper_init22.gradle'…
0
votes
1 answer

How to build a quarkus docker image with JDK 19 and Virtual Thread support

I try to use Virtual Threads in a Quarkus application but cannot find a way to build a Quarkus Docker image with JDK19. Local development works fine and application runs without problems. However, the official Red-Hat Docker images only support…
sysid
  • 55
  • 1
  • 4
0
votes
1 answer

EclipseLink and Derby with Java 19

This project used to work in Java 8 and NetBeans 8, but after upgrading my project to use Java 19 with NetBeans 16 I now see this error: Exception in thread "AWT-EventQueue-0" Local Exception Stack: Exception [EclipseLink-30005] (Eclipse…
simgineer
  • 1,754
  • 2
  • 22
  • 49