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

Java difference in String.replace between java 12 and 13

I noticed a difference in the behaviour of the String.replace(CharSequence, CharSequence) between java 12 and 13. java 12 and earlier: System.out.println("String"=="String".replace("g","g")); //false java 13 and…
1
vote
0 answers

Xuggler failed to encode/convert MPEG4 Video

because of the not much supported Codecs from the Java Media Lib, i try to convert AVI and MPEG4 Files to MP4 with Xuggler and open the new File afterwards. There is no problem to AVI Files but on MPEG4 Files i get following error: Exception in…
1
vote
1 answer

How to run java applications JDK13 on JRE?

I have made an a java app with JDK 13. I created a exe file with launch4j. But nobody can run it because everyone has the jre 1.8 version and it wont start... I has to include the java jdk 13 with installation and set the java_home with that ?
TechWiki
  • 157
  • 10
1
vote
1 answer

How should I do to get the script output from the GraalJS script engine encoded correctly?

We're processing JSON in our Scala program by executing dynamically generated JavaScript code. This worked fine in Java 8 when using the included Nashorn script engine. We have now switch to Java 13. Nashorn is no longer included, so we included…
Per Norman
  • 13
  • 3
1
vote
0 answers

Injecting mocks with @Mock does not work with Java 13

I'm currently trying to migrate a project to Java 13 (inclusive module-info.java which is important for the problem), JUnit 5, the latest Mockito version 3.3.3 and Maven. But apparently injecting mocks using @Mock does not work, when I run the tests…
UNIQUEorn
  • 420
  • 6
  • 17
1
vote
0 answers

How to use JCypher to send unrelated queries in one go and get the results properly

I'm using JCypher 4.2.0 with Neo4J Server 4.0.2 with the builtin Movie graph. I'm trying to unite couple simple, independent queries to one bigger for my needs. first query: MATCH (people:Person) RETURN people.name, second query: MATCH (m:Movie)…
Roy Ash
  • 1,078
  • 1
  • 11
  • 28
1
vote
1 answer

Java API for loading TensorFlow models created in python

I am using Java 13 (I'm not sure if that is relevant) and I'm making a blackjack game. I want to add a neural network model after training it in python to my Java application. However, on here it says "Note: There is no libtensorflow support for…
1
vote
1 answer

Gradle Multi-Modular, Sub-Project can't see dependencies

The project structure is below with MyProject as the root project and DataManager and FileManger as the sub-projects. The root project includes both sub-projects and DataManger include FileManager. The issue is DataManager's dependencies are not…
Reeves
  • 33
  • 2
  • 5
1
vote
0 answers

Gradle Build failed in Jhipster

I want to build my project in jhipster but now i got this error (I installed recently jdk 13 ). my IDE: VISUAL STUDIO ** does anyone have an idea? FAILURE: Build failed with an exception. Where: Build file…
Wassim
  • 63
  • 1
  • 9
1
vote
3 answers

Intellij Idea NoClassDefFoundError: com/intellij/util/messages/Topic

I installed the newest version of IntelliJ Idea (2019.3.1). I created a new Comand Line App project (default one). When I try to run it (by clicking a button), I get an error: Error:Module 'untitled' tests: java.lang.NoClassDefFoundError:…
Viacheslav Shalamov
  • 4,149
  • 6
  • 44
  • 66
1
vote
0 answers

Java 13+ SocketOption IP_TOS (setTrafficClass)

Apparently Socket implementations were re-written as part of https://openjdk.java.net/jeps/353 and now it uses java.base/sun.nio.ch.NioSocketImpl Been trying to set the traficClass or in other words the IP_TOS field of the ip header without success.…
pranahata
  • 530
  • 4
  • 18
1
vote
0 answers

Problem with media type=application/xml in Jersey WS

I am trying to create a RESTful WS application using Jersey 2.9, Java 13 and Eclipse as IDE. The resource: @Path("personnes") public class PersonneResource { @GET @Produces(MediaType.APPLICATION_XML) public Personne getPersonne() { …
1
vote
1 answer

"java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module" error with ChromeDriver Selenium

I am using eclipse 09-2019 with jdk13 and selenium 3.0.1 .jar file. My Code is: package package1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; public…
1
vote
2 answers

Netbeans 11.1 looks blurred and enlarged with JDK13

My Netbeans 11.1 looks ugly when starting with jdk-13. Below you can see the the difference between jdk-13 (left) and jdk-8 (right): I've already tried to change the keys -J-Dsun.java2d.dpiaware, -J-Djdk.gtk.version, and tried it with open- and…
1
vote
1 answer

java.desktop cannot be resolved to a module

I want to import java.desktop to use a BufferedImage: But Eclipse shows me an error and says that it cannot be resolved to a module Although I added the JRE to the modulepath: I am also using Maven for the project but importing an external…