Questions tagged [java]

Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Redhawk/Eclipse unable to locate javadocs

The Setup I am using the Redhawk IDE 2.3.0 which is basically eclipse + some plugins, I am using JDK 1.8.0 322. It is installed on a CentOS 7.9 VirtualBox VM When I try to view Java sources or mouse ...
user avatar
  • 121
-1 votes
0 answers
17 views

My Minecraft Launcher is giving me and error when i attempt to launch it [closed]

I'm running into the same error. Every time I attempt to launch Minecraft: Java Edition on the Minecraft launcher, Regardless of me installing OpenGL in my Java folder bin file. error: I thought the ...
user avatar
  • 1
0 votes
0 answers
58 views

Microsoft Edge IE Mode compatible with Java Runtime Applet?

I'm really having a hard time getting a straight answer from Microsoft on whether this is possible. Situation: My organization has an internally-hosted Oracle application which currently runs on ...
user avatar
  • 561
0 votes
0 answers
19 views

What does "Jackson 2 is on the classpath" mean?

I'm learning a spring tutorial, which says Because Jackson 2 is on the classpath, Spring’s MappingJackson2HttpMessageConverter is automatically chosen to convert the Greeting instance to JSON. I ...
user avatar
  • 243
0 votes
0 answers
18 views

Error importing cert and key to Java keystore: keytool error: java.io.IOException: keystore password was incorrect

I'm installing an application which requires Java (two supported versions - I've chosen the latest) and a cert signed by our internal CA. When I try to import the key/cert into a Java keystore, I get ...
user avatar
0 votes
0 answers
9 views

Is it possible to set private static final field using Reflection in JDK 17 [migrated]

I am trying to upgrade my application Java version frmo v1.8 to v17. There are some unit tests which are using Reflection to set value of private, static, final fields. I tried using VarHandle but no ...
user avatar
1 vote
1 answer
27 views

Raritan KVM KX2 won't work because of java issue with firefox 48 on windows 10

I have been able to get past many obstacles already to even get to where am at. I was able to install firefox 48 32-bit on windows 10 pro OS. I also installed java and enabled java on firefox. Was ...
user avatar
  • 121
1 vote
0 answers
66 views

Exclude WSL 2 VM from Windows Defender

I'm trying to exclude my Ubuntu VM in WSL 2 running in an up to date Windows 11 Pro installation. The problem is that my local build is terribly slow when Windows Defender is active. Setup is as ...
user avatar
  • 11
2 votes
1 answer
54 views

Windows not returning any IPv6 address in DNS lookup

My DNS contains two records for ServerA: an A record with its IPv4 address: 10.25.46.130 an AAAA record with its IPv6 address: fda8:6c3:ce53:a890::55 I am not able to get my SimpleClient.java ...
user avatar
  • 21
0 votes
1 answer
88 views

OpenJDK 18 is installed, but BuildTools thinks its Java 11?

I'm trying to run Minecraft Spigot BuildTools.jar on Fedora 35, but it says I only have Java 11 installed. The runtime environment version is 18. What am I doing wrong here, or is this a bug? [banana@...
user avatar
  • 111
0 votes
1 answer
60 views

Run java application with OpenJDK

I am trying to run this application on my machine (Windows 11). I installed the latest version of OpenJDK from here. In my command line I can write > java -version openjdk version "17.0.2"...
user avatar
  • 131
0 votes
0 answers
31 views

How do I disable VS Code "Do you want to synchronize the Java classpath/configuration" once and for all?

With VS Code, every time I create a new java project and change the pom.xml of it this annoying popup shows up. I know I can simply click "Never" though, I really don't want to see it over ...
user avatar
  • 243
1 vote
1 answer
78 views

how do I make vscode terminal window clear previous spring boot output automatically?

I've managed to setup VS Code on my win10 with Extension Pack for Java and Code Runner I also enabled "clear previous output" each time I right click and "Run Java", VS code dump ...
user avatar
  • 243
0 votes
0 answers
20 views

Upgrade java 8 to java 18 in linux

I want to upgrade the java 8.0 to java 18 the latest one I tried below steps in linux wget -c --header 'Cookie: oraclelicense=accept-securebackup-cookie' https://download.oracle.com/java/18/latest/...
user avatar
0 votes
1 answer
75 views

Raritan Dominion DKX2-464 shows "No video from target server" on remote access

I have bought a used KVM Raritan Dominion KX2-464 device (with firmware 2.7.0.5.2183). Is is out of the support duration. I can connect PCs over CIM devices and can see the screen image, when I ...
user avatar
  • 101
0 votes
0 answers
28 views

How to know which Service/Process is using java in windows server 2008 R2?

I am using a server with windows server 2008 R2. I have to upgrade the Java version installed on this server and need to know the services running Java. Is there any way or command to list which ...
user avatar
  • 1
0 votes
0 answers
31 views

Automatically Restart Jenkins JLNP after disconnect (MacOS)

I have a Jenkins agent JNLP that runs on MacOS (OSX) and connects to our Jenkins Controller. The machine that the JNLP runs on needs to connect to the Jenkins Controller via VPN. Occasionally this VPN ...
user avatar
  • 103
0 votes
1 answer
322 views

Java compatibility issue with Talend

I installed Talend Open Studio for Data Integration 8.0.1. Initially, I had java version 8 of JRE installed and I was getting the error message that 'version 1.8.0_321 of the JVM is not suitable for ...
user avatar
0 votes
0 answers
22 views

Marvel Heroes Creator NimbusLookAndFeel exception

Not sure if this is the right place to ask, but I'm trying to run the marvel character creator 2.1.2 JAR file, but I keep getting this error: ClassNotFoundException: com.sun.java.swing.plaf.nimbus....
user avatar
0 votes
0 answers
16 views

How can I use a double click on a tiny image in Numbers/Excel to enlarge the photo and then reduce to fit in cell again?

photos are copied into Numbers/Excel created and then resized to fit in cell. I want to be able to double click this "thumb nail" to enlarge the photo and then be able to either have it ...
user avatar
  • 1
0 votes
0 answers
283 views

How to configure jdtls for nvim?

I'm trying to configure jdtls on a Lua based nvim environment following the video of the following series. I could install the jdtls LSP server and it seems to work fine. When opening a Java file, it ...
user avatar
  • 163
0 votes
2 answers
81 views

Can a script be made to run again if it crashes?

I might have the concept/language all wrong here so feel free to point me in the right direction if my thinking is wrong. I use a home media streaming app that is not really supported any longer, ...
user avatar
  • 356
0 votes
1 answer
48 views

How can I correctly run a java batch application (a .jar application) in background on a Linux machine?

I am not a system engineer (I am a software edeveloper). I have to run a Java application (a runnable .jar file) on a Linux machine (Centos 7). I am connecting to a shell via SSH. This application is ...
user avatar
  • 6,539
0 votes
0 answers
13 views

Is there a way to access a web page only via menu clicking ( not via URL typing) in Java web application?

We can go to a web page by directly typing a URL in the URL bar. But is there a way to access a web page only via menu clicking while disallowing access it by a URL typing in the URL bar in a Java Web ...
user avatar
0 votes
0 answers
20 views

How can I open a .jar file with custom open arguments?

Recently I updated my Java version, and it was still using the outdated path to open the .jar files. I fixed this by changing the default file types, but it is not doing the -jar "%1" %* how ...
user avatar
  • 136
0 votes
0 answers
30 views

How to get rid of Java Virtual Machine Launcher error?

Today I've installed Java 8, beacuse I decided to make Java applications. I downloaded Eclipse 2021 and set all configurations. Everything works fine except of poping up dialogbox with problem "...
user avatar
0 votes
0 answers
67 views

Why do sshfs and fuse create thousands of file descriptors (unbounded growth) for a Java process?

I'm trying to understand why I see thousands and thousands of new file descriptors such as the following in /proc/PID/fd directory of a java process: $ sudo ls -lt /proc/585/fd | head total 0 lr-x-----...
user avatar
1 vote
2 answers
875 views

How to give VSCode Flatpak package access to system SDK for Java?

I have installed VSCode flatpak package. flatpak install flathub com.visualstudio.code Now there is a file flatpak-warning.txt It reads https://www.flathub.org --------------------------------------...
user avatar
0 votes
0 answers
55 views

RPi 4 Minecraft game-server lags after upgrading to Spigot 1.18.1

I have been using a RPi 4 Rev 1.4 (4GB RAM) as a Minecraft game-server for a relatively long time now. It had Java 11 installed (Amzn-Coretto 11) and ran Spigot-1.16.4 with about 50 plugins installed. ...
user avatar
0 votes
0 answers
25 views

How to update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)

Update Server configuration file "server.xml" in the IBM WebSphere Application Server (int app svr V 8.5) I am able to setup/run Java Spring Boot Web Application (the war file) on the IBMi ...
user avatar
0 votes
0 answers
66 views

Argument/Parameter to start java game (.jar file) as maximized window

Im playing game called Spiral Knights I launch .jar file with this batch command and portable java CD "App" "E:\Programy\Portable Apps Platform\PortableApps\CommonFiles\Java64\bin\java....
user avatar
1 vote
0 answers
274 views

Jenkins: Unable to access jarfile remoting.jar

I am have a Jenkins setup, where Controller (linux) is connected to slave (windows) via ssh using username/password authentication. I am whenever I try to launch the agent I get Error: Unable to ...
user avatar
  • 11
0 votes
1 answer
106 views

Usage of remote WakeOnLan in a IPv6 only environment?

Setting: FritzBox 7530 v7.29 forwarding ports 7, 9, 80 and 433 IPv4 and IPv6 to HomeServer CentOS Stream 8 HomeServer directly connected to FritzBox via Ethernet cable own public IPv6 address, shared ...
user avatar
0 votes
1 answer
528 views

How to overcome "jni error has occurred" after Minecraft and Java update in Windows 10?

I updated from Minecraft 1.16.2 to the latest version of Minecraft at this time which is 1.18.1, opened the Minecraft Launcher client, selected "Latest release 1.18.1" from the drop down, ...
user avatar
  • 11
2 votes
1 answer
86 views

Windows Defender seems to be flagging Java applications

I'm trying to evaluate some software tools (ERD diagrams) and have downloaded dbSchema and ModelXtractor. Attempting to install either tool results in a Windows Defender popup: dbSchema provides ...
user avatar
  • 1,070
1 vote
1 answer
68 views

is it possible to limit memory for my afk profile under 512MB in minecraft?

I want to use an AFK profile in Minecraft, but I can't seem to limit its ram usage. i tried using these JVM arguments: -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-...
user avatar
  • 11
0 votes
4 answers
99 views

Is my system vulnerable to Log4Shell vulnerability?

I'm an end user with Windows 11. I don't have JDK or JRE installed. Is my machine vulnerable to log4j exploits? If so, how is the exploit possible?
user avatar
0 votes
1 answer
35 views

Create table in mysql table via JSP [closed]

I am creating a code in which a mysql table will be create which table's name will be provided by the user. The user will type individual data and the code will concatenate all the data and will ...
user avatar
  • 84
1 vote
1 answer
43 views

How can I brew upgrade git if I can't get past this javac prompt?

I'm running into some odd issues with git today, so I thought I'd reinstall (or upgrade) it. Install and upgrade run into the same issue. When I run java --version it says I have OpenJDK installed. OK,...
user avatar
  • 4,551
0 votes
1 answer
245 views

Tomcat 9 not executing setenv.sh on start up

I've created setenv.sh to my CATALINA_BASE folder which is at /usr/share/tomcat9/ but the setenv.sh is in /usr/share/tomcat9/bin setenv.sh content: echo "HELLO ITS WORKING" export ...
user avatar
0 votes
1 answer
77 views

"This application requires a java runtime 1.8" when using wine

OS: Arch Linux x86_64 Kernel: 5.14.16-arch1-1 Java: java-8-openjdk DE: Xfce 4.16 When trying to launch .exe file with Wine on my Arch Linux I get this error: This application requires a java runtime ...
user avatar
0 votes
0 answers
60 views

Error trying to deploy a Java application on a poor resource server: java.lang.OutOfMemoryError: unable to create native thread

I am not a system engineer (I am a software developer) and I am finding the following problem trying to deploy a Java application on a CentOS 7 production server. Basically running my java application ...
user avatar
  • 6,539
0 votes
2 answers
233 views

Minecraft 1.17.1 OptiFine how to solve OpenGL error?

Problem: When I join Minecraft, OpenGL errors 1280 and 1282 appear and update graphic driver and reinstall Minecraft 1.17.1, OptiFine but I can't solve this problem ;( version: 1.17.1 OptiFine: ...
user avatar
  • 1
0 votes
0 answers
63 views

Building a GraalVM native image from Apache ant

I am using a lot Apache Ant as a command line application to perform XSL transformations (https://ant.apache.org/manual/Tasks/style.html). The performance of this solution is not very impressive which ...
user avatar
0 votes
1 answer
83 views

How to make Android Studio open (by default) by the batch file?

I'm running 64-bit Windows 10 21H1. When I try to open Android Studio from the Start menu, my cursor has a circle around it (as if something is loading) then nothing opens. If I navigate to the ...
user avatar
0 votes
1 answer
43 views

Java Website not allowing me to download the installer

I recently have been attempting to install java from the oracle website and though I have refreshed, reopened, restarted my computer as well as the browser, I have found no success in installing java ...
user avatar
0 votes
0 answers
15 views

Netbeans 8.2 will not install

I got a new lab in one of my classes that was in a new language which was C. After going through a troublesome downloading process for minGW, so that my Netbeans could compile C code. My Netbeans ...
user avatar
0 votes
0 answers
16 views

Adding 2 or more Actions on L2switch for OpenDaylight Sodium-SR4

I am working with L2switch (https://github.com/opendaylight/l2switch). In flow writer (https://github.com/opendaylight/l2switch/blob/master/l2switch-main/src/main/java/org/opendaylight/l2switch/flow/...
user avatar
1 vote
1 answer
345 views

Disable "TLS Certificate revocation checks on" in Java for all users

Apologies if this has been asked and I am a bit of newbie to Java. We are currently running JRE 8 Update 211 32 bit (I know this is not the latest version) running in Windows 10. I am currently ...
user avatar
0 votes
1 answer
64 views

Is it possible to start elastic search using java without installing it in local machine?

I did a java application to do simple elastic search operations... I need to start elastic search before running it. I don't want my client to do the same. is there any ways to start elastic search ...
user avatar

1
2 3 4 5
46