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
40 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,261
-1 votes
2 answers
31 views

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

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
27 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
21 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
75 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
45 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
88 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
  • 619
2 votes
1 answer
163 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
107 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
106 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
18 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
34 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
154 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 ...
user avatar
1 vote
0 answers
469 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
32 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
152 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
697 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
50 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
39 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
40 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
309 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
326 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
358 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
1 vote
2 answers
3k 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
  • 579
1 vote
0 answers
461 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
231 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
671 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
29 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
1 vote
1 answer
2k 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
  • 185
0 votes
0 answers
23 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
139 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
37 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
385 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
227 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
837 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
537 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
2k 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
382 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
200 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
0 votes
0 answers
129 views

Junit for SFTP over HTTP Proxy

I have written a python script that connect to SFTP server over HTTP proxy using Paramiko library using nc command. Now I want to write a Junit Test for the same in java language. Is any any library ...
abhishek bhardwaj's user avatar
0 votes
1 answer
962 views

Unable to start Tomcat 10 with https connector

I have just installed tomcat 10 and tried to integrate a jks file that i have been using in a tomcat 9 installation with no issue, but i was unable to start the tomcat 10 with it. Can anyone please ...
SAAD K's user avatar
  • 1
-1 votes
3 answers
5k views

Java error with the HP ProCurve 2510-24 J9019B network switch web interface

I have a HP network switch i just bought, and tried to access the web interface, and got told this: This product requires the Java language, which is either disabled or not available on this browser. ...
jamesYValley's user avatar
2 votes
1 answer
271 views

Printing Directly to my Deskjet 2752e Printer network using TCP Connection

I'm encountering difficulties when attempting to print simple text using PCL in Java with my Deskjet 2752e printer. The printer supports HP PCL 3 GUI, HP PCLm (HP Apps/UPD), and URF (AirPrint)1. ...
Jose Lopez's user avatar
0 votes
1 answer
546 views

Getting error while downloading Java

I am trying to install Java in my AWS EC2 instance by using this below command: sudo yum install java-1.8.0-openjdk-devel But I'm facing the below error: No match for argument: java-1.8.0-openjdk....
user1803282's user avatar
0 votes
1 answer
256 views

Recommended Deployment for JavaFX Jars (Netbeans)?

I have an issue in Netbeans 17 where I really can't deploy .jar files outside the Netbeans environment. I have a vanilla Netbeans maven project that I'm interesting in deploying to other systems. Is ...
Sarah Szabo's user avatar
0 votes
0 answers
54 views

I have an issue with printing paths from environment variables in windows 11

So I tried to install javabridge for a project that I have with Weka. By doing this I discovered that I can not print the paths from environment variables when I tried to create a CLASSPATH and ...
Παύλος Μηντσόπουλος's user avatar
0 votes
0 answers
643 views

Windows 10 Scaling Issue with Java 11 Application

We have recently upgraded an application which has been using Java 8 but was upgraded to Java 11 during the process. Now we are faced with the following problem: Users are working on a HiDPI Laptop (...
MichaelS's user avatar
1 vote
1 answer
134 views

Windows Process-Wide Security for Java via registry keys

My goal is to configure COM/DCOM security for my Java OPC DA client (not server). The main problem is that every time the client tries to get updates from a OPC DA server in asynchronous mode, it ...
devaskim's user avatar
  • 111

1
2 3 4 5
48