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
2answers
14 views

Running Java Applet

I have not been able to run a java applet from this link. I tried reinstalling java multiple times and running it in internet explorer but it doesn't seem to work. I was just wondering if there is ...
-1
votes
0answers
8 views

Split a CSV line with an specific pattern with JAVA [migrated]

I am reading a CSV file with Java. I am storing each value between commas into a String Array. This is what prints when I read a CSV line: Tania, Joe, Pat, , , , , , , When I store this line into a ...
0
votes
1answer
11 views

Java Control Panel and Java desktop apps non-interactive

If I execute /usr/java/default/bin/javaws target.jnlp I get the window for the Java application, but it's non-interactive. I can move the window around on the desktop, but I can't interact with any ...
0
votes
0answers
13 views

Does vmware take advantage of the AVX instruction set in new Xeons?

I am playing devils advocate for a bid that one division is making, replacing older bare metal hardware with newer servers hosting vmware. As part of my 'poking' holes, I've noticed that the base ...
0
votes
1answer
19 views

Is a Public key from a certificate always valid?

Okay so i have a .cer file which has a certificate key like -----BEGIN CERTIFICATE----- .....A1NuUYdviJSQOLhkL8WgtEpocv1u2mv9DQcMJWoA -----END CERTIFICATE----- I am using this public key to verify a ...
2
votes
1answer
17 views

How to prevent X server from closing?

I'm running a headless graphical application (kiosk) on a Raspberry Pi. So far so good: Raspbian autologins with the pi user and triggers .bash_profile, which in turns calls startx as long as I'm not ...
0
votes
0answers
10 views

Cannot assign requested address Minecraft server

I can't start my minecraft server. I host it on Google Cloud. Tried 2 diffrent VM and static IP addreses. VM is in europe-west4-c zone. Tried these arguments java -Xmx1024M -Xms1024M -Djava.net....
0
votes
0answers
20 views

Java Dedicated GPU on Fullscreen not working after the update on the 25th of April

I have a Dell E5440 with a dedicated Nvidia GPU. I used to play Minecraft on an external monitor with no problem till Java got an update a few days ago. Since the last Java update, when I switch the ...
0
votes
1answer
193 views

Trying to install MultiDoge wallet, and get the message “Java not installed”

I am trying to create a MultiDoge wallet. It's supposed to be so easy!!!! I downloaded MultiDoge, no problem. Tried to install it (multidoge-0.1.7-windows-setup.exe), but I was informed that Java is ...
0
votes
0answers
13 views

how to configure java ENV variable in Azure App Services java11 tomcat 9 stack

I have a java-11 tomcat-9 stack app service. I want to setup xmx (max heap memory) to that. How can I set that? Sidepoints I went to ssh and tried printenv | grep JAVA but I could not find anything. ...
0
votes
0answers
27 views

Java installed but not detected in Win10

I recently installed Java 8 on my Windows 10 computer. I recently tried to run a java app and didn´t worked and now I am trying to run an installer for a java app and an error message pop ups: "...
0
votes
0answers
7 views

is java.lang.reflect.Method invoke thread safe [migrated]

I use org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(object) to get PropertyDescriptor[] and use them readMethod to get value. getPropertyDescriptors will get Methods from cache. So ...
0
votes
0answers
8 views

Stacking position of two applications [duplicate]

I have this issue: I have a java application that goes fullscreen and another application (of which I have no control) that must stay in the same place of the screen and always be shown. My ...
0
votes
1answer
28 views

ffmpeg video cropping Invalid too big

Its same issue with this but in video ffmpeg cropping: 'Invalid too big or non positive size for width' trying to crop the video to an aspect ratio of 9:16, the video size retrieve is Width ...
0
votes
2answers
42 views

which was the first platform independent programming language [closed]

I wanna know ... which was the first platform independent programming language? I think it is Java but I cannot confirm. I have tried searching on the internet but have not found any solution. Thank ...
1
vote
1answer
47 views

Which JDK and JRE to install a new Windows 10 PC?

I'm installing a new Windows10 PC where Java is not installed. And I'm a bit lost at what to install. For the JDK On this PC, I'm developing some applications. Most of them in Java8. So I'll go for a ...
1
vote
1answer
162 views

How to solve “Unable to locate a Java Runtime that supports” error?

I am trying to run a java-based program called Caver analyst on MacOS BigSur 11.2.3 When I click on the Unix executable file, a terminal window pops up with the following message: /Users/amir/Desktop/...
0
votes
0answers
15 views

How to run jar file with custom process id

I am hosting multiple Minecraft servers, and I manage their network usage with NetLimiter. I noticed that each server is just another process under java, with the name of its process id. Whenever I ...
0
votes
0answers
17 views

How can I terminate a process without having to restart my IDE?

I am doing some java on Eclipse IDE but I sometimes manage to forget to terminate a the program before running the new version which ends up in the process duplicating so that the "Terminate"...
0
votes
0answers
20 views

Does a Java library act like a Windows DLL?

This is a pretty simple question I've been having for a while. A Java library contains classes that a Java program can use to improve how the program works, such as LWJGL. I was wondering if a DLL is ...
1
vote
0answers
59 views

Jenkins Cucumber reports plugin error

I have working Jenkins 2.277 on Ubuntu 20.04. Then I have Cucumber reports plugin 5.5 installed. Configuration looks like on the picture. As I run the test I am getting an error in the console log: ...
0
votes
0answers
10 views

Guacamole - mouse not showing but “working”

I handle RDP connection with Guacamole, my issue is that the mouse is working fine within a "normal" browser (Edge or firefox), but when I launch it within JFX browser component the mouse ...
0
votes
0answers
18 views

Redirect COM1 to /dev/ttyAMA0 in Java application

I want to use a Java application (*.jar file) on my Linux machine. I don't have the source code or anything like that. The application was developed on a Windows machine and needs a serial port. The ...
0
votes
1answer
43 views

GNU parallel is not processing all the files

I am using GNU parallel to process BAM files for marking duplicates using java-based picard tool. The reason of using parallel utility is that the picard tool is not multi-thread and the dataset is ...
0
votes
1answer
28 views

Why is JAVA process requiring a windows domain user in stead of a local user?

I have powershell script that executes a JAR-file (in $3DjarPath) using: Invoke-Expression '& $JavaPath -Xmx512m -XX:MaxMetaspaceSize=512m -splash: -jar $3DjarPath backuprepo -repo $repo -o "$...
0
votes
0answers
46 views

Tomcat does not find servlet based on urlPatterns definition

When a browser form requests a servlet, TomCat shows the message HTTP Status 404, with the following explanation: "Type Status Report Message The requested resource [/Conversao/convert] is not ...
0
votes
1answer
88 views

Change default path for VS Code workspace files [workspaceStorage]?

I am desperately trying to debug a Java Tomcat application, run in a local network of an enterprise, using VS Code, and am using a Tomcat extension to do the job: The Tomcat extension saves a ...
0
votes
1answer
90 views

How to install Java 8 on Kali Nethunter

Guys I need to install jdk 8 for my programs to work better, many programs do not support the version higher than Java 8 so I want to install Java 8 to run better, I tried to install via apt-get, but ...
0
votes
0answers
25 views

Running a Java plugin on macOS similar to Internet Explorer 11 on Windows

I would like to run Java from a website on a browser on macOS 10.13. I am able to run Java on that website on Internet Explorer 11, version 11.1944.14393.0, software update version 11.0.49. I am ...
0
votes
0answers
29 views

How to recreate an image from a HTTP POST request sent to a input stream in Java?

A simple Java web server (manual HTTP protocol implementation, we're dealing with sockets here) serves an HTML form, the client uploads an image (PNG) through the web browser. This creates a POST ...
0
votes
2answers
71 views

Problems launching java programs in Windows Command Line after Java Update 281

After updating Java 8 (update 281) yesterday (2021-02-15) I could no longer use the Single-File Launch in the Windows Command Line. Prior to this I had no problems using this feature but now I get the ...
0
votes
0answers
20 views

Debian 10 - no sound for Java application

I'm trying to get sound for a JavaFX application. I'm on Debian 10, my JRE is 1.8.0 and I'm using PulseAudio. What I've done so far is: I've tried to tweak lib/sound.properties as suggested on by ...
0
votes
0answers
57 views

I haven't been able to open a jar file in 3 years

This began in late 2017 seemingly out of nowhere on a brand new PC; every single jar file fails to load for an unknown reason. The paths are correct, my computer recognizes Java and I have reinstalled ...
0
votes
0answers
40 views

Connect to Untrusted VPN Server using Cisco AnyConnect via command line in Linux Ubuntu

I am getting the following when trying to connect to Anyconnect via terminal. AnyConnect is configured to block untrusted servers by default. Most users choose to keep this setting. If this setting ...
2
votes
0answers
21 views

Java Help Understanding RSA Encrypt/Decrypt file and SD card

I have zero experience with Java or Android apps (have coding experience in C) and tried reverse engineering a [now defunct/unsupported] app which would take a serial number* and encrypt it using RSA ...
0
votes
0answers
27 views

how to specify the hostname to the Java “keytool -printcert” command for HTTPS servers with SNI

Does keytool has any option to specify the hostname in order to print the SSL certificate chain? In my case, my apache server is configured to show different SSL certificates according to the hostname....
0
votes
0answers
23 views

Unable to create class in eclipse

[enter image description here] [1]: https://i.stack.imgur.com/2qCiP.png Java project creation is not possible because there is no java folder as shown in the picture. Please help me. I downloaded the ...
1
vote
0answers
25 views

How to prevent a Java-process from writing to filesystem?

We discovered, that a vendor-provided Java-program, meant to serve files over HTTP(S) -- in response to GET-requests -- will also happily accept POST-requests, creating new files and overwriting ...
0
votes
0answers
69 views

java.net.UnknownHostException after turning the firewall on [Debian 10]

Intro I have a microservice running inside a docker container and deployed on a VM with the Debian 10 OS. The server's IP address is 141.45.146.55. The microservice exposes the following API: GET ...
1
vote
1answer
402 views

Need help with java portable

I want to code java on my work computer. I tried installing eclipsce portable and JDK portable from sourceforge.net. I tried running eclipsce and it simply did not detect the java. my question is, is ...
0
votes
1answer
31 views

How to run drkspider.sh on windows 10

I have downloaded DRKSpiderJava v0.83 but I cannot run the file "drkspider.sh" on Windows 10. I tried with cmd, CYG, bash but don't know why cannot open it. Maybe I am doing something wrong?
0
votes
0answers
128 views

pentaho-server 9.0 - User/Role List could not be obtained

I have been updating my Pentaho 7.1 installation to Pentaho 9.0 in November 2020. My pentaho 9.0 was working since, with quartz, jackrabbit and hibernate databases running in PostgresSQL. I have had ...
1
vote
0answers
19 views

Cannot compile jetbrains intelij idea community edition on alpine linux

Amazon JDK has an Alpine Linux version, and I downloaded JetBrains's IntelliJ community source code. The ant build stuck at Failed to complete gradle setupJdks setupKotlinPlugin and the ...
2
votes
1answer
89 views

How do I use Bash to tell Java to run a .jar program in a specific Linux directory?

I am trying to write a Bash script to (amongst other things) run a particular Java programme stored in a .jar file. The script is in a directory we will call foo. It includes this line java -jar ~/...
1
vote
1answer
70 views

Ubuntu Linux: How can I remove the double icon in the task bar of Cairo dock when calling a Java based program (jar)?

I want to assign an icon to SoftSqueeze (a software radio based on the Logitech Squeezebox, written in Java) in Ubuntu 20.04 with gnome 3. I created a .desktop file in ~/.loca/share/applications: [...
4
votes
3answers
56 views

On Fedora, why do I have to install a devel package to get javac?

From what I've heard 'JDK' stands for Java Development Kit, and on Debian based systems you install default-jdk to get a running javac. However on Fedora (at least the recent ones) installing java-...
1
vote
1answer
43 views

.jar file doesn't open by double clicking, but works through cli

java -jar file.jar works fine, but if I double click on it nothing happens. I've tried everything I could find but nothing seems to fix this. I've checked regedit, file associations, uninstalled ...
1
vote
0answers
21 views

IE “Add-on for the website failed to run” error?

Backstory: I've got some antique HVAC equipment that still depends on an old-school Java applet on a special internal webserver (in the HVAC controller itself). So, I have a special VM (Windows ...
0
votes
1answer
89 views

How can I build the java software that I gave at below

As a language learner I want to use it so bad but sadly I have no any clue for building. The Software I forgot to mention it, I am using linux currently.
0
votes
1answer
18 views

Java (jre) doesn't work anymore, even eclipse won't startup

I have tried to change my java version.I wanted version 14.0.1. There is a version 1.8.0.145, it's still there in a dir in program files. But now, when type java -version in cmd, it's looking for '...

1
2 3 4 5
46