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

All Questions

Tagged with
0 votes
0 answers
14 views

How can I determine if a Java/Kotiln/JVM (AWT / Compose multiplatform) application is running within a window manager on linux?

I am creating a desktop application using Compose multiplatform. More specifically, using the JetBrainsRuntime via the glue provided by jewel. I am looking for a way to determine if my application is ...
tealsnow's user avatar
  • 133
0 votes
0 answers
8 views

Java API only partially available with Frida aarch64

I tried to attach with Frida to Java process run on aarch64 Linux (not Android) I got that error: using frida-server-16.4.3-linux-arm64 [Remote::PID::1234 ]-> Java.enumerateLoadedClasses(); Error: ...
user26530667's user avatar
-4 votes
0 answers
32 views

Docker Client api [closed]

javax.ws.rs.core.Response$Status$Family javax.ws.rs.core.Response$Status$Family.familyOf(int) I am geting above exception while reading log of docker container using below config @Bean public ...
Pintu Kumar's user avatar
0 votes
0 answers
44 views

Spring boot java Application(java version 17) is not running on tomcat 9 in Linux server

Previously, my Java backend was running with Java version 1.8. I have Tomcat 9 and Java version 11 installed on my Linux server. The backend was running perfectly with Java version 1.8 on the Tomcat 9 ...
david_23's user avatar
-1 votes
0 answers
39 views

Using custom shutdown command string in Tomcat without modifying server.xml file

I have a kubernetes tomcat deployment and with property readOnlyRootFilesystem: true which prohibits me from modifying server.xml file. But I need to use a random shutdown port every time the tomcat ...
Shubhankar Kumar's user avatar
-1 votes
0 answers
32 views

Java RMI issue: localhost is being resolved to random IP

I'm running a Java RMI application in which both client and server run on the same host, so that clients connects to server at localhost. After I updated my system to JRE17 (Debian bookworm armhf), I ...
ichthuss's user avatar
-1 votes
1 answer
51 views

When i run my app in a docker container file pathes get messed up

public File convert(MultipartFile multipartFile) { byte[] bytes; try { bytes = multipartFile.getBytes(); try (FileOutputStream fos = new FileOutputStream("...
Onurjan's user avatar
-2 votes
1 answer
75 views

What does ${USER:root} mean and how to get its value with Java?

We have a Java Spring Boot based program which reads the following line from a property file: spring.cloud.config.username=${USER:root} When it runs on Linux server, it's able to retrieve the current ...
user3573403's user avatar
  • 1,792
-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
-2 votes
1 answer
42 views

Java Process Linux Command Output Redirection

Following command runs and redirects output to file when I run it on RedHat Linux command line: mycommand &> mycommand.log I want to run this command using Java but when I do that it displays ...
codebee's user avatar
  • 834
0 votes
0 answers
51 views

Why does linux deny permission to establish a Java Jsch session when the war file is deployed in a Tomcat server?

I have been trying to establish a Jsch session in a Java Spring Controller, so I can execute a shell script. The session is established and commands are run during local testing and manually testing ...
Sarath M's user avatar
0 votes
0 answers
45 views

ChromeDriver and ChromeDriverService Do Not Work

The test server worked well, but when you try to deploy it to another server, it stops working at chromeDriverService = ChromeDriverService.createDefaultService(); even if you remove the ...
Ahn Nayeong's user avatar
-3 votes
0 answers
124 views

Java Date.toString() method produces two different results on different linux servers

We are getting org.postgresql.util.PSQLException: ERROR: invalid input syntax for type timestamp: "Wed Jun 26 23:27:35 TRT 2024" as an exception when our application tries to insert the ...
enanas's user avatar
  • 35
0 votes
0 answers
30 views

SIGSEGV, problematic frame V libjvm.so, Program terminated with signal SIGABRT

So I have been trying to host a minecraft forge server from a dedicated PC running on Debian 12 and using java 17.0.11 Java Runtime Error: # A fatal error has been detected by the Java Runtime ...
Christian Raymon's user avatar
-3 votes
0 answers
35 views

Unable to run a GUI program with Ubuntu [duplicate]

When compiling one GUI program, I get the following error: Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation ...
lonebeetle's user avatar

15 30 50 per page
1
2 3 4 5
610