Skip to main content

Questions tagged [java]

Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM). Use this tag when you are dealing with a java program, installing java, or configuring a java installation.

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

When I run make build I want to run mvn clean package, npm run build, then include a file from the NPM build output into the newly created JAR. This is successful when running the following commands ...
commadelimited's user avatar
1 vote
1 answer
68 views

I'm trying to develop J2ME game on Linux using this guide by microgram dev. The j2me emulator from Oracle Wireless Toolkit works totally fine after Linux reboot. I run some other apps like browser, ...
d9k's user avatar
  • 111
1 vote
1 answer
95 views

Since Java 10 as I recall, we can run Java source files directly from the command line: bash $ java Math.java The JVM compiles and executes the file automatically. However, in zsh, tab autocompletion ...
menteith's user avatar
  • 292
2 votes
1 answer
64 views

We were running a set of Java processes on an RHEL box. There was one or two particular services that used to go down due to OOM killer after every 2-3 weeks. We used to get alerts, and it was ...
Navneet Mishra's user avatar
2 votes
2 answers
3k views

Because Java 25 LTS is coming soon (September 2025) and I've not even yet installed Java JDK 21 LTS (September 2023), I've attempted to do so with a sudo apt install openjdk-21-jdk on my Debian 12. ...
Marc Le Bihan's user avatar
0 votes
1 answer
102 views

I’m experiencing an issue when trying to start a Java application on a RHEL server. I’m confident that the application itself is configured correctly, as it runs without any problems on other servers. ...
Hola's user avatar
  • 1
0 votes
0 answers
54 views

Is there a way to run/debug my Java program from Netbeans as root? Context: I'm working on RaspberryPi 4 and using PI4J library to access GPIO. Lib offers several I/O Providers and the only one that ...
mag_zbc's user avatar
  • 121
0 votes
1 answer
184 views

I am trying to install Java on a Linux server. Linux server details NAME="Oracle Linux Server" VERSION="7.9" System Architecture x86_64 What I have tried so far I have downloaded ...
Enock Prince's user avatar
0 votes
0 answers
34 views

I found DimSum years ago (I installed it on Windows), it helped me to translate English to Chinese, but unfortunately the project is abandoned, the site is still there, but many links are broken. My ...
michaelbr's user avatar
  • 121
0 votes
0 answers
101 views

I am trying to install Logic 2010 (download link), which uses Java, on the Linux virtual machine in ChromeOS. I followed steps 0 to 2 in a guide from Reddit, copied the Java folder into the Resources ...
Rebreb Gull's user avatar
4 votes
1 answer
218 views

New Linux user here, freshly transitioned from Windows 10 to Fedora 41. Lot's of experience with many OS's, including various *nix and Unix-like file systems. I have a standard practice of using ...
Cornelius Dol's user avatar
0 votes
0 answers
50 views

I am using the Java Print Service API (javax.print) to send print jobs to a specific printer queue on an AIX system. While my code works fine with Java 8, switching to Java 11 causes it to fail with ...
Subesh poudel's user avatar
1 vote
1 answer
96 views

I'm running a Temenos application on an AIX 7.3 system configured with the AIX spooler. The lpr command works fine when tested manually. However, when the application attempts to print using Java's ...
Subesh poudel's user avatar
0 votes
0 answers
97 views

I have the same problem on all servers running Java processes. I have lots of available memory. But my swap is full of Java-related pages. But the system never cleans its swap, Java pages stay there &...
Eduardo's user avatar
0 votes
1 answer
78 views

I would like to troubleshoot an issue that I think it happens only in my just made up environment. I have an almalinux 9 with apache tomcat 10 and openlogic jdk version 11. Installation seemed to work ...
Malkavian's user avatar
  • 131
0 votes
1 answer
406 views

Ubuntu 22.04 LTS perl -e exit: ...
razor's user avatar
  • 144
0 votes
2 answers
436 views

I have installed Gradle via Synaptic Package Manager. During the installation process, two auxiliary packages were installed, plus a large amount of different dependencies, and the process was quite ...
minto's user avatar
  • 595
0 votes
1 answer
149 views

I have a fabric minecraft server running on Oracle Linux, which I updated today, but now Java exits with status code 1 and says that server.jar can't be found. Please help me, I really don't ...
khanmenthe's user avatar
0 votes
1 answer
125 views

Firstly, I would like to validate my idea for the PoC, specifically I would like to understand whether this can be possible or not and furthermore some pointers with regards to how it can be done ...
theimpatientcoder's user avatar
0 votes
1 answer
222 views

I have a screen called bung were inside i run a java process using ./start.sh (script to run the java process) but before type that command i start the screen running screen -r bung so i open the ...
Felipe Braga Comonier's user avatar
0 votes
1 answer
433 views

I would like to install the latest version of Renesas' e2studio on my up-to-date Fedora 39 machine but I keep getting the following error: $ ./e2studio_installer-2024-01_1_linux_host.run Mar. 31, ...
stdcerr's user avatar
  • 2,109
0 votes
0 answers
2k views

I am a newbie with using raspberry and I am using chilipie-kiosk to develop a kiosk on a raspberry pi. The idea is when the Raspberry Pi starts, the Chromium browser is launched with a page that we ...
Jorge Palacios Zaratiegui's user avatar
0 votes
0 answers
452 views

I am trying to install the latest version of PSIM which is a windows application. I downloaded the latest version of JAVA as well as JAVA 8 (in case it doesn't like the latest) and set the variable ...
ganymede's user avatar
  • 101
3 votes
2 answers
903 views

I am wondering what happens when a process receives SIGTERM and it has children spawned (e.g. JVM that has /bin/sh commands running). Is there some sort of automatism or does the parent simply exit ...
RokL's user avatar
  • 153
0 votes
1 answer
2k views

I have a json string formatted displayed in a web page. What I am trying to understand is what is the size in terms of bytes that this json string requires. If I copy and pipe to wc -c I get 1000 ...
Jim's user avatar
  • 1,499
0 votes
0 answers
84 views

In our overall organization, we run Jenkins 2.303.1 onprem. We run thousands of builds a day. The project I work on uses one Jenkins master and a set of about ten build nodes. We build a few hundred ...
David M. Karr's user avatar
3 votes
2 answers
9k views

I'm not able to install Java 21 on Raspberry Pi 5. I downloaded ARM versions from OpenJDK and Oracle, but neither works for me. When typing ./java, it prints: No such file or directory (I'm sure I'm ...
Bloodlex's user avatar
  • 131
2 votes
2 answers
6k views

When I try to update my system I get jdk-openjdk and jre-openjdk are in conflict error: This is log of the update attempt: :: Synchronizing package databases... core is up to date extra is up to ...
Jan Černý's user avatar
  • 1,763
0 votes
1 answer
5k views

This is my first time making a bash script into a service and I'm running into an error where the service fails because it can't open a text file that is used for java arguments (user_jvm_args.txt). I ...
EChumley1310's user avatar
0 votes
1 answer
104 views

we have a bash shell script which invoke java program. will it be happened that the java ends/complete but the process of still on the process list? below is the content of execute, which invoke a ...
user30430's user avatar
1 vote
2 answers
4k views

I'm installing Java and Tomcat on a headless server. The client doesn't have Java and just sees a webpage. Should I install openjdk-17, or openjdk-17-headless?
QF0's user avatar
  • 391
1 vote
0 answers
218 views

Fresh install of Arch Linux causes major memory leaks upon opening JAVA based applications, or Jet Brains applications to be exact. Memory starts off fine but within 5 minutes its up over 90%, opening ...
AAA's user avatar
  • 171
0 votes
1 answer
288 views

I am trying to install ANT after installing java. My java in Sun Java. pc19@pc19-H110:~$ java -version java version "20.0.2" 2023-07-18 Java(TM) SE Runtime Environment (build 20.0.2+9-78) ...
Sahil's user avatar
  • 705
0 votes
1 answer
67 views

In Debian Stable the latest openjdk version available is 17. $ which -a java /usr/bin/java /bin/java $ java --version openjdk 17.0.8 2023-07-18 OpenJDK Runtime Environment (build 17.0.8+7-Debian-...
yyhh344's user avatar
2 votes
0 answers
480 views

I'm starting a Java process using nohup and & (running it in the background). This process gets terminated frequently. There is no pattern on when it is getting terminated. From the application (...
Raghu's user avatar
  • 121
1 vote
1 answer
1k views

I need to install Java 8 on my raspberry pi. I used SDKMan to do so, following this tutorial. All works well only if I use java from my admin account (the one I used to install it). Trying to run java ...
Kuba0040's user avatar
0 votes
1 answer
198 views

I have a Raspberry Pi running a Java application (with Swing/GUI) in a kiosk-like setup. I want to terminate (or preferably prevent from starting) all unnecessary processes that are not essential for ...
amateur99's user avatar
14 votes
4 answers
39k views

Under Debian 11, we typically use OpenJDK from adoptopenjdk.net. This organization will no longer provide new releases: https://adoptopenjdk.jfrog.io/ui/native/deb/dists/ Is there a way to install ...
realtebo's user avatar
  • 1,035
0 votes
1 answer
426 views

I have some code that looks like this: ################### - Let's call this section 1 if [ -n "$STUFF_JAVA" ]; then __LAUNCHER="$STUFF_JAVA" else __LAUNCHER="...
Chicken Sandwich No Pickles's user avatar
-1 votes
1 answer
410 views

i have an issue on setup the java on my kali linux using vm on macboob Pro im new on the system i have the issue that when i follow the command (a㉿kali)-[/usr/lib/jvm/jre1.8.0_371] └─$ sudo update-...
ali ali's user avatar
1 vote
0 answers
495 views

I am trying to package a Java application that is built with Maven. I created the debian/ folder with mh_make and I have been reading/watching the tutorials: https://wiki.debian.org/Java/Packaging/...
Slav's user avatar
  • 111
0 votes
1 answer
55 views

When trying the Apache Ignite cluster snapshot procedure (snapshot create, restore), the restore operation is not successful. Before the restore procedure, we have destroyed the cache which we want to ...
cookie_marsh's user avatar
0 votes
1 answer
267 views

For every program/utility on Unix, I would type the name of the program followed by --version to check its version, like so program --version If I understand correctly, the double dash -- is used to ...
user avatar
1 vote
1 answer
184 views

I'm trying to cross compile jdk for android. I run: ./configure --with-toolchain-path=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64 --with-sysroot=$ANDROID_NDK_HOME/platforms/android-21/...
kpwn Apps's user avatar
  • 121
1 vote
0 answers
345 views

I am using Java and Maven Project on Ubuntu but I am getting following error upon building Java code on NetBeans IDE: package org.apache.http.client does not exist import org.apache.http.client....
P_Z's user avatar
  • 111
1 vote
1 answer
2k views

for example when I run sdkmanager this error displays: Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api....
Xichao's user avatar
  • 11
1 vote
2 answers
4k views

When I'm trying to run a Java GUI application from the command line, I get: Exception in thread "main" java.awt.HeadlessException: "No X11 DISPLAY variable was set, or no headful ...
CocoaPowder's user avatar
0 votes
1 answer
5k views

So I have this modded minecraft server which has a launch script that is very simple and I wanted to control the server using systemd. Here is the launch script: #!/bin/sh # Server Launch Script # # ...
mux's user avatar
  • 1
0 votes
0 answers
300 views

I have one use case where I am killing a java process with pkill java, and after that, I want to remove certain directories. I have used rm -rf /pathtofolder but it gives: rm: cannot remove '/...
Samurai's user avatar
  • 95
0 votes
1 answer
163 views

If anyone can answer me pls I just need an anwer. I know thus isn't maybe right place for this question I created chatting app with sockets in Java 8 and i use TLS 1.2 My question is: Is there any way ...
GM dz0ji's user avatar

1
2 3 4 5
18