Questions tagged [java-13]

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

This is the Reference Implementation of version 13 of the Java SE Platform, as specified by JSR 388 in the Java Community Process.

105 questions
1
vote
1 answer

No "Additional Compiler Options" in Build > Compiling pane of Netbeans 11.2

I am using Netbeans 11.2 on Ubuntu 18.04 as snap package. Try to enable --enable-preview in a Maven project as described in the documentation: I do not see "Additional Compiler Options" in my UI, see below The referenced issue is merged, so what…
rmuller
  • 12,062
  • 4
  • 64
  • 92
1
vote
2 answers

Cannot add jdk11 and jdk13 in SDK in IntelliJ - java

I cannot add jdk11 and jdk13 in intelliJ as SDK. I am able to add jdk-18.0_22 only. Why is that so?
Danyal Sandeelo
  • 12,196
  • 10
  • 47
  • 78
1
vote
4 answers

Automating Span with Selenium and Java 13

I am automating a website using selenium in Java. Vote For this button I need to automate a Click in Selenium. I am doing by following but not…
Ruban4Axis
  • 821
  • 6
  • 27
1
vote
1 answer

Microsoft OpenId login using javafx webview

I am currently developing a small application which allows users to login using one of their social platforms. I have already implemented OpenId login using Facebook and Google which work great. The problem started when I tried implementing it using…
0
votes
0 answers

Context initialization failed: java.lang.NoSuchMethodError: 'boolean org.apache.xml.serializer.Encodings.isRecognizedEncoding(java.lang.String)

Our application is using Spring 5.3.0, Jdk 13, and Wildfly 21. Basically, I am upgrading the spring version from 4 to 5.3.0.I have resolved some issues.On application start, I am getting this exception below. ERROR [org. spring…
0
votes
0 answers

JavaFX mp3 on Raspberry OS

I'm trying to create simple audio player for mp3 files which i'm going to use on my Raspberry Pi 4. Because of default OpenJDK which installed on Raspberry Pi not included JavaFX framework, i've installed Java 13 from Bellsoft/Liberica (it can be…
0
votes
0 answers

Is there a replacement for deprecated options -Xverify:none and -noverify that were deprecated in JDK 13?

The project I'm working on creates .class files that are not exactly the same as what produces JDK compiler. In particular, there's a part of the project that allows to programmatically create a .class file, and for testing, I take as input a…
Sybuser
  • 735
  • 10
  • 27
0
votes
1 answer

Unable to connect to tomcat 9 for remote debugging via eclipse

My spring web app is deployed on a different machine with below env: window machine apache-tomcat-9.0.67 jdk-13.0.2 I tried to remote connect it via eclipse by adding below command in startup.bat or catalina.bat set…
user2755407
  • 348
  • 1
  • 3
  • 15
0
votes
0 answers

Java: How can I make my BufferedReader input display for a timeout-nested interruptable daemon thread?

Environment: Windows 10.0.19044.0 - Java 13.0.1+9 I'm trying to create a small game which deals with players bartering and attending auctions for various items. This particular code section handles auctions amongst players when a new item is up for…
0
votes
0 answers

Java.time not found - JDK 13

compilation snap-1 compilation snap-2 I'm trying to upgrade my project from java 1.8 to version 13.0.2. There were some unsupported functions which I removed. Unfortunately toInstant() is one of them. My project uses it in a java module like…
0
votes
1 answer

Can i do multiple switch case in 1 method in java?

I'm trying to create a program for a competition using java where every participant gets 3 tries and the final result is the addition of all of those tries. In every try the participants may hit target 1-10 where target 1=100 points and target 10=10…
Vincent
  • 9
  • 2
0
votes
1 answer

java.io.NotSerializableException even tho the class implements Serializable

I am working on building a music.player and have my music-library stored in a HashMap. The User shall be able to add and delete songs. I want to save this HashMap for when the program is beeing restartet. However did I encounter this…
0
votes
0 answers

Intellij json fragment problem with text block

Pressing enter key in the intellij-2021.1 Json Fragment on text block causes to close json fragment and jump into code editor, but when working with Json Fragment on regular text there is not this issue. Can someone help me why this happen?
Mohammad Yasin
  • 130
  • 1
  • 8
0
votes
2 answers

At java code, how i can check jdk version to compile below java code?

// monitor.freeMemory = bean.getFreeMemorySize();//jdk 15 // monitor.maxMemory = bean.getTotalMemorySize(); // monitor.systemLoadAverage = bean.getCpuLoad(); monitor.freeMemory = bean.getFreePhysicalMemorySize();//jdk 13 monitor.freeMemory =…
Wang Liang
  • 4,244
  • 6
  • 22
  • 45
0
votes
1 answer

Module javafx.base not found in java 13

I have configured javafx 11 with openjdk 13. I have added the PATH_TO_FX statically to the location of javafx. And in project structure I have configured openjdk 13 but still it is giving the error Module javafx.base not found in java 11