Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
26 views

DataNucleus Enhancer: 'The Command Line is Too Long' Error on Windows

I am working on a project using DataNucleus and encountering an issue when running the command mvn datanucleus:enhance on Windows. The command works fine on Linux and Mac, but on Windows, I get the ...
quarks's user avatar
  • 34.7k
1 vote
1 answer
75 views

Java Graphics2D.drawImage() Renders Blurry Image only on Windows 125% Scaling and Only on Java Versions after Java 8

I know that Java 9 fixed issues with screen scaling and resolution that were present with Swing in Java 8. However, I have a situation where the exact same code renders clearly if being run on Java 8 ...
jmohrmann's user avatar
-1 votes
0 answers
34 views

Sometime cannot create connection to serial COM port

I developed a Java application using a DLL library for serial COM communication. (FYI: DLL file is used for a card encoder device - ref). My application works fine in the development environment and ...
simpsons3's user avatar
  • 959
-2 votes
2 answers
98 views

Attempting to run a Minecraft server and I keep getting Error: unable to access jarfile

I'm trying to run a minecraft server and when I type the command: java -Xmx1024M -xms1024M -jar minecraft_server.1.21.jar and I get - Error: unable to access jarfile minecraft_server.1.21.jar... I ...
ProbablyGametes's user avatar
-1 votes
0 answers
16 views

Cannot add task ':groovydoc' as a task with that name already exists

I am working in an upgrade of a grails project from version 2.0.0 to 3.0.0 and jdk 8 on windows, I am getting the following error message: Build cache is an incubating feature. Parallel execution is ...
Huntzberger's user avatar
-1 votes
0 answers
41 views

Running Cypress tests as a Gradle task yields non-ASCII characters

This topic has been discussed at length. I've read several posts on Github and SO, however I am unable to find a reliable solution. My question is specific to the Windows 11 environment, Java 17 and ...
Jim Kennedy's user avatar
-2 votes
0 answers
30 views

want to get top 'N' cpu consuming process in the system using java default library

is there any builtIn library available in java to get the top 'n' cpu consuming process name and the percentage it's consuming.i want this program to work in any os such as windows,linux. i tired with ...
Arun Prasanth's user avatar
0 votes
0 answers
24 views

Flutter: universal_ble package. Can't set notification on the bluetooth device

I have 2 apps: desktop on Flutter and mobile Java on Android. What I'm tryin to do is to connect to the Android app's GattServer and set its characteristic to notify me when its value change through ...
Lee Koldun's user avatar
0 votes
1 answer
41 views

Batik creating blank svg on mac

I created a program to create a calendar as an svg image and it works just fine when I run it on windows, however when run on a mac it just creates an empty svg file. Can someone please help me figure ...
Noah Gaston's user avatar
-1 votes
0 answers
72 views

Converting a Path to a String on Windows using / as separator

Given this Path object in Java: Path path = Path.of("foo", "bar"); I would like to convert it into a String, always using the UNIX path separator, even on Windows. When I convert ...
Danilo Piazzalunga's user avatar
0 votes
1 answer
61 views

JavaFX application "Failed to launch JVM" if using jpackage

I am creating an application using JavaFx, after doing some testing (that went totally fine), I wanted to use jpackage in order to create an installer for my program, for that I used this command: ...
1212's user avatar
  • 1
-3 votes
0 answers
55 views

Why do i keep getting an error when running sbt?

I want to run a bot on windows. I'm trying to run sbt in cmd. I installed sbt and java 22 x64 MSI Installer. I ran sbt but i keep getting an error. I think maybe this has to do with java so i ...
Lily White's user avatar
-1 votes
0 answers
36 views

jasperreports.engine.util.JRFontNotFoundException: Font "HelveticaNeue-Regular.ttf" is not available to the JVM. See the Javadoc for more details.]

Working on springboot application and window os trying to many solution on stackoverflow but not working met.sf.jasperreports.engine.util.JRFontNotFoundException: Font "Helvetica Neue-Regular.ttf&...
Ch Uzair Ahmad's user avatar
-1 votes
0 answers
71 views

gradle not able to detect protoc compiler in windows platform

I have a gradle project. There are some sub projects under the root project. I have proto files defined in some of the subprojects. I am trying to build the project using gradle. Even though protoc is ...
Babu Reddy H's user avatar

15 30 50 per page
1
2 3 4 5
482