Skip to main content

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
12 views

Why do i keep getting an java.lang.NoClassDefFoundError: 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
-4 votes
0 answers
15 views

Firmware interactions using C++ [closed]

I want to use C++ and a firmware library to make a program that is malware that can overwrite the CMOS with bad settings, shut down the computer, cause post fails and overwrite the flash drive to ...
AwesomeCoder123's user avatar
0 votes
1 answer
13 views

50% of my request to Squid used as a proxy and setup with BasicAuth receive a 407, the other half works as expected. Why?

I have a Java application that needs to ping third party websites. To make it safer, I use Squid as a proxy: +-----------+ +-------------+ +--------------------+ | Java App. |---->| Squid ...
Alexis Wilke's user avatar
  • 1,640
0 votes
0 answers
51 views

Windows 11 - Screen goes black for an instant when changing volume or brightness when Minecraft is in Fullscreen and it's using integrated GPU

When Minecraft is in Fullscreen and running in the integrated graphics and I change the volume or the brightness, the screen goes black for about half a second, after that, the screen looks normal (...
user392154's user avatar
0 votes
0 answers
13 views

In Red Hat Developer Studio (similar to Eclipse), can't create bookmark inside a .xhtml file

Inside Red Hat Developer Studio (similar to Eclipse), if I open a .xhtml file, I can't create a bookmark. But I can create bookmark for .java file. What I tried - I looked into Window -> ...
Rsc Rsc's user avatar
  • 11
0 votes
0 answers
78 views

Jenkins Installation Fails with Error 1603 Using Chocolatey on Windows

I'm encountering an issue while installing Jenkins via Chocolatey on Windows. Initially, I received an error about Java not being available, which I resolved by setting JAVA_HOME and updating the Path ...
Foad's user avatar
  • 662
2 votes
1 answer
396 views

Legacy Portable Firefox to run legacy portable Java only and ignore local install of Java

I have multiple systems that require legacy browsers and Java. I need Portable Firefox to run the Portable Java JRE version and not the Java JRE installed on the OS. One of these legacy systems is the ...
S.Mahmood's user avatar
0 votes
0 answers
30 views

why glassfish crashs randomely

I'm using oracle-glassfish3.1.2 on java 1.7 (I know these technology is a little dated) , when I start the server I use the verbose option: asadmin start-domain --verbose; I've also used asadmin to ...
fraaanz's user avatar
0 votes
0 answers
178 views

Error Handling in spring cloud gateway filter factory

I have a spring cloud gateway which has 2-3 filter factories which essentially mutates incoming requests to json. So when one of the backend microservices respond with a HTTP-400 or 404 the postman ...
hk18's user avatar
  • 21
1 vote
0 answers
1k views

Doesn't exists Java JRE 17?

I need the java JRE v17 but I cannot find it. Looking into https://www.java.com I can find only Java JRE v8 only. Looking in https://www.oracle.com/it/java I can find JDK 17 but not its JRE. What I'm ...
Tobia's user avatar
  • 2,301
-2 votes
2 answers
161 views

How to make windows .exe executables in Linux [No Duplicate- Extended Version] [closed]

Let me describe what I want to do. I want to make a software/application that I can run on both Linux and Windows. It could be any language for example: cpp,java,python.I need to know what is the ...
Sohan Arafat's user avatar
0 votes
1 answer
60 views

Minecraft Server doesn't let others connect when running the .jar using java (instead of javaw)

I'm running a small Minecraft server using ipv6. The relevant port has been forwarded in both the firewall and the router. My friends are able to connect to the server correctly, BUT ONLY if the file ...
Aze0n's user avatar
  • 11
0 votes
0 answers
45 views

Java : What calls could be executed behind the scene to open a UDP socket on port 7500?

Executing nestat shows the UDP protocol being accessed on port 7500 > netstat -naptu | grep 7500 udp 0 0 0.0.0.0:7500 0.0.0.0:* 13500/java udp ...
Unhandled Exception's user avatar
0 votes
0 answers
212 views

Using Jdk1.8 and installing openjdk 11

I had a working java 8 application in my windows asset until I installed jdk11 using Ubuntu package. Now when I give java -version cmd in Ubuntu I get the openjdk 11 version: $ java -version openjdk ...
user avatar
1 vote
1 answer
60 views

How to launch the G.Projector NASA app on macOS with openJDK?

I'm trying to launch G.Projector on macOS M2 but it complains about lack of Java 11. However, I have openJDK and Java installed. I dowloaded the “requires Mx "Apple silicon" Mac with ARM64 ...
Dominik Roszkowski's user avatar
0 votes
0 answers
227 views

How to update java version for teamcity

We have a ubuntu server with teamcity installed. Teamcity is warning us that the java version that's using is old. The message is This TeamCity server is using a deprecated version of Java (8). Please ...
Jepessen's user avatar
  • 609
1 vote
1 answer
287 views

Error installing oracle drivers using dbeaver in ubuntu

I have installed DBeaver in Ubuntu version 22.04.3 through the ubuntu software store and also via apt install. When I create a oracle connection I have this error: I have java installed in the system....
Shadowtrooper's user avatar
0 votes
1 answer
238 views

forcing TLS version 1.2 for a web service consumer running in JBOSS that calls external web service

My application(something.war) that is running on JBOSS makes a call to an external webservice. This web service provider is dropping TLS v1.0 and forcing me to use newer version. So, I want to know ...
zoomer's user avatar
  • 1
-2 votes
3 answers
165 views

Is using SUDO in the terminal of the Mac safe?

I've recently begun programming in Java using VS Code. Recently, I purchased a used 2019 MacBook Touch Bar, and I'm still getting used to using the terminal to troubleshoot issues. Regrettably, I used ...
Tindra's user avatar
  • 1
0 votes
0 answers
23 views

Kafka running simultaneously in a Windows host and a Linux guest

I was following Pluralsight course "Getting Started with Apache Kafka", coming to module 4 about producing messages with Kafka producers. Then, I wanted to reproduce an author's demo which ...
Nelson A. Morais's user avatar
0 votes
0 answers
68 views

Oracle E-Business Suite Change Default Browser

We are using an app on Oracle E-Business Suite. When I click the upload a file button on the Java form Chrome opening by default. I set default browser to Microsoft Edge on Windows settings, even ...
eRcumenT14141's user avatar
0 votes
0 answers
291 views

how to set default way of opening *.java file in win11

It seems that we can't set default way of opening *.java file in the latest Windows 11 In options of "opening files", I can't see "default" option. I have also tried to change ...
ying's user avatar
  • 1
1 vote
0 answers
858 views

Does Keycloak supports Java 21? [closed]

I would like to know if Keycloak supports Java 21 and from which version of Keycloak. If not, when it will be. I have tested Keycloak 21.1.1 on Java Amazon Corretto 21 and have not find any problem so ...
kulatamicuda's user avatar
0 votes
0 answers
81 views

Subversion Edge (CSVNConsole) Not Accessible After Upgrading JAVA JRE to Version 8U371

I upgraded JAVA JRE to v8u371 from v8u121 and confirmed both Subversion Edge and Subversion Server services are running. SVN commit completed successfully. However, the CSVNConsole (https: on port ...
Bang Tran's user avatar
0 votes
0 answers
224 views

Java no longer found by my games or in command line after updating steam deck

When I updated my steam deck Prism Minecraft launcher no longer found a java install. I used the command java --version and got back bash: java: command not found Seeing that java must have been ...
user avatar
1 vote
1 answer
1k views

You need at least a 1.8 java virtual machine

I am trying to install a tool for streaming market data but I am getting the error You need at least a 1.8 Java Virtual Machine to install dxFeed Market Data Viewer Installer. Please download it from ...
TMac's user avatar
  • 11
0 votes
0 answers
55 views

Limiting the MTU for one application without Administrator permissions on Windows

I do have an Java Console application that is sending packets via the internet connection. The application is running on a Windows 10 machine, with Oracle JDK 11/17. I need to adapt the MTU size that ...
PaulEdison's user avatar
-1 votes
1 answer
52 views

tsunami windows 10 curl java home environment variable error

I am setting up tsunami on Windows 10. I am following the tutorial (https://github.com/google/tsunami-security-scanner). When I run the bash command, I get the following error: ERROR: JAVA_HOME is not ...
noob832947's user avatar
0 votes
0 answers
40 views

How can I solve the error of "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space"? [duplicate]

I was wondering how to solve the following error: $ java -Xms64m -Xmx512m -splash: -jar "/home/t/programs/jpdfbookmarks-2.5.2/jpdfbookmarks.jar" ./in.pdf -apply bmks.jpdf -o out.pdf ...
Tim's user avatar
  • 17.3k
0 votes
0 answers
62 views

NSSM for Selenium Server (Paused)

My selenium grid server is working very well when im running it on cmd and then java -jar selenium-server-.jar standalone and I can also run my test side files from my monitoring. But when I close the ...
Zeybekoloji's user avatar
0 votes
0 answers
425 views

Double click on jar file dosen't work (turn .jar to .exe)

I am trying to turn my java program into an .exe. With the help of IntelliJ IDEA I created a .jar file and I'm able to run it from my os cmd with java -jar and it works great. When I double click the ....
Jhon's user avatar
  • 1
0 votes
0 answers
10 views

sdkman installation fails on raspberry pi [duplicate]

I am trying to use SDKMAN to install java 17 on raspberry pi and the installation seems to work at first, it makes an initial download, but then it intends to Installing script cli archive... and it ...
WKGuy's user avatar
  • 13
1 vote
2 answers
443 views

sdkman installation fails on raspberry pi

I am trying to use SDKMAN to install java 17 on raspberry pi and the installation seems to work at first, it makes an initial download, but then it intends to Installing script cli archive... and it ...
WKGuy's user avatar
  • 13
0 votes
1 answer
848 views

Completely Remove All Versions of Java Silently (Ivanti) not dependant on machine install files-need it gone asap

Tried Java newer uninstall utility, not working properly, basic script, now looking into uninstall reg key.... This is an enterprise removal need, looking for script WMI call etc... to package and ...
gcinelli's user avatar
0 votes
2 answers
4k views

No language option for creating a new Empty Activity in Android Studio

I was trying to create a new project in the newer Android Studio. When I select the Empty Activity, I no longer see a language option (Java vs Kotlin) there. However, it exists for other Activities (...
Tina J's user avatar
  • 539
1 vote
0 answers
548 views

Curl Vs Spring RestTemplate.exchange - huge performance diffrence

Under what circumstances a Restful call made with curl would be much faster than Spring's RestTemplate I have to use Spring's RestTemplate's exchange methods as I am sending a JWT token as an Http ...
user721025's user avatar
0 votes
0 answers
288 views

I can only start Jenkins Manually with Java command, how do I have it start on boot?

So I installed Jenkins on my Windows machine, I had it working fine and was setting up my first pipeline when I got an error message about need to set Dhudson.plugins.git.gitscm.allow_local_checkout=...
Adam Schneider's user avatar
1 vote
1 answer
812 views

Run Java JAR file in background

I have a .jar file that acts weird with hdpi screens. When I run it directly by double-clicking on it, the text is very small and blurry, as if it wasn't hdpi-aware. But if I open my terminal and run ...
404 Name Not Found's user avatar
0 votes
0 answers
38 views

R can't connect to Druid cluster only on rstudio-server

I'm running these lines to get R connected to a Apache Druid cluster: > library("RJDBC") > conn_string = "jdbc:avatica:remote:url=http://<broker_url>:8082/druid/v2/sql/...
Juliano B. Nequirito's user avatar
2 votes
1 answer
4k views

Installing keytool without JDK

I am trying to install keytool in a docker image based on centos but I get an error. Example to reproduce Dockerfile: FROM centos:7.9.2009 ...
Jim's user avatar
  • 201
0 votes
0 answers
25 views

Zanzibar Open Ivr doest not accept sip invite?

I'm sending a bottle at the sea with this question because this project is very old and no one use this now. So if noone can answear, I'll delete this post. I'm trying to integrated asterisk with ...
Florian's user avatar
0 votes
1 answer
276 views

How to kill a CMD in Windows knowing only the Title?

The first bat performs the restart of the second bat. I currently use taskkill but it kills all Java processes. I, on the other hand, should only restart START.BAT, which has "MyApplication1"...
Koba's user avatar
  • 1
0 votes
0 answers
69 views

Eclipse doesn't show Java reference suggestions

I am using Eclipse 2023-03. Used previous versions of it earlier. From the start, when I type a class, e.g. List myList; Eclipse gives suggestions such as java.util.List should be imported and allows ...
Hussain Akbar's user avatar
2 votes
1 answer
857 views

Java JDK installation per cmd on Windows machine

How can I install a JDK via cmd or with another file? I have to reset my Windows PC regularly for security reasons and I don't always want to go through the setup menu. A Batch or CMD file to install ...
user avatar
0 votes
0 answers
244 views

tar:java/xxx:Cannot create symlink to : java/xxx : Permission denied

OS: Chromeos 114.0.5735.205 (Official Build) (32-bit) Kernel:Linux penguin 5.15.108 Architecture:aarch64 trying to install jdk , I ran : tar zxvf jdk-20_linux-aarch64_bin.tar.gz --no-same-owner got ...
Rajat Vats's user avatar
-1 votes
1 answer
1k views

Keys act like other keys, spacebar is f11, backspace is 4 etc

Windows 10 My keys are acting like other keys, enter is numlock, backspace is 4, space is f11, down arrow is f12, probably others too but I haven't found those yet. I suspect it has something to do ...
Shayla567's user avatar
0 votes
0 answers
706 views

Java JDK 20 fails on install windows 10

When I try to install jdk 20, it fails. When I try to install with the MSI, it fails almost immediately with the message "installation failed. The wizard was interrupted before Java(TM) Se ...
TFS's user avatar
  • 1
0 votes
1 answer
3k views

How to completely uninstall all java versions from MacOS

I've been trying to uninstall all java versions from my mac by following: % cd /Library/Java/JavaVirtualMachines when I did ls into JavaVirtualMachines, I saw that there are no folders/ java versions ...
aureabreak 's user avatar
0 votes
1 answer
493 views

AntiX Linux how to install Java 8?

I am using the antiX 22 x64 version and I was able to install default Java (Java-11) and Java 17 with $ sudo apt install default-jre and $ sudo apt install openjdk-17-jre But when I try to install ...
Pascal's user avatar
  • 1
0 votes
1 answer
266 views

Http proxy server for unit test to connect to sftp through java

I am successfully able to connect to sftp over http proxy using paramiko library in python using ncat —proxy command Now I want to test it using java junit test. I am able to successfully create ...
abhishek bhardwaj's user avatar

1
2 3 4 5
48