Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
0answers
6 views

Java - bypass “permission to establish connections” prompt

I run a java platform in ubuntu like so: $ javaws http://platform.dukascopy.com/live_3/jforex_3.jnlp where a script needs to communicate via web requests with a remote server. After each run I have ...
0
votes
1answer
13 views

Batch downloading and renaming pdf files from a Java Servlet [on hold]

I am looking for a script do download multiple (pdf) files in batch. The link is similar to this: https://operadora.com/areaCliente/segundaViaArquivo.do?inscricao=175579&data=20180822&motivo=...
-3
votes
0answers
12 views

How do I perform this i.e when I Click on item in recyclerview it should retrieve data from firebase and show the data in next activity? [closed]

this is my recyclerview class where i have electrician,plumber,welder etc as my recyclerview items.i want whenever user click on any of these items the respective data that is retrived from firebase ...
0
votes
0answers
18 views

Even though Java seems to be installed, trying to get the Java version results in “cannot execute binary file: Exec format error”

I'm trying to install Java on my Ubuntu machine. When I run sudo apt-get install default-jre I get: Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
12 views

Ant build in Intelliji won't run

I'm trying to run the Ant build but I'm not succeeding I can't even press the button of run it's completly greyed out
0
votes
0answers
44 views

Minecraft refuses to launch on ubuntu 16.04LTS

Recently, I installed Minecraft launcher 1.6.89-j on my Ubuntu 16.04LTS. However, whenever I click play, it goes through the downloads fine but when it tries to launch this error happens: java.lang....
1
vote
0answers
14 views

How do I combine multiple java (OpenJDK) buttons into a pile on the taskbar?

I found this answer for Oracle's Java runtime. But I am running ojdkbuild (OpenJDK) which doesn't seem to create the same registry entries. I have done a search for "isHostApp" & "java.exe" ...
0
votes
0answers
53 views

Not able to download Oracle's jdk-8u181 package using wget behind an HTTP proxy

(This is a copy of my question on Stack Overflow. I realized superuser may be the better place to ask this question.) I'm trying to use WebUpd8 team's oracle-java8-installer to install Java 8 on my ...
0
votes
2answers
89 views

Minecraft for Windows 10 can't connect to local server on LAN

Completed stock install of the java-based Minecraft server (version 1.13) on a Windows 10 machine #1. Forwarded ports, opened firewalls, and external "ping" sites confirm that they can see the server,...
0
votes
1answer
29 views

My bash script locks file when Java tries to read it

I have a bash script in Linux (CentOS) that redirects output to a file. It takes a few minutes to run: ./myBashScript.sh >> file.csv I have a java application that tries to read the file (only ...
0
votes
1answer
24 views

Applets do not work in Internet Explorer 11 [2018-07]

System: OS: fresh installed Windows 7 64 bit (with all updates installed). Browser: Internet Explorer 11 32 bit Java: 8 SE, 32 bit, build 181 (latest for now) CPU: Intel C2D IE Java plugin is ...
2
votes
0answers
19 views

Update Java version, Solaris 10

I'm trying to update Java version on Solaris 10. I have downloaded a tarball jre-8u73-solaris-x64.tar.gz. Using these commands: which java /usr/bin/java gzip -dc jre-8u73-solaris-x64.tar.gz | tar xf ...
0
votes
0answers
79 views

Electron not loading on localhost interface while 'switching' network adapters

I'm trying to load a software package built around the Electron framework (Java) on a local PC. On startup, the computer uses a specific tool to start a virtual hotspot in Windows (using netsh start ...
0
votes
0answers
28 views

Java applications scaling issue on Windows 10

I have a strange issue on my Windows 10 laptop with scaling for Java applications, it might be other applications too but I've noticed it mainly with Java Jar files. When I set my scaling to 100% the ...
0
votes
1answer
28 views

Keep the mouse active after disconnecting from remote desktop

I'm running a Java program that uses the auto mouse clicker to function. It works fine when the remote desktop client is opened on my screen but as soon as I minimize it or close the remote ...
-1
votes
0answers
20 views

What is the easiest and shortest way to know java installation folder in bash? [duplicate]

The only way i know right now is- echo $(/usr/libexec/java_home) I tried editing .bash_profile to add export JAVA_HOME=/usr/libexec/java_home but still it didnt do the trick, so any other ...
0
votes
1answer
23 views

Get “Java Update Needed” message back

I have a user who clicked the wrong thing on this Java message: He checked the checkbox and now I don't now how to get this message back. I tried deleting the IE and Java cache and I restored the ...
0
votes
0answers
51 views

Windows 7 Jar not running with double click

I have the following problem: I wrote a program in Java for a community and they're trying to run it. They installed Java and tried double clicking it but nothing happened. Under my remote ...
0
votes
1answer
79 views

Need to merge two ffmpeg commands

I didn't understand how to concat these two commands: Object split = ("-i "+filePath+" -framerate 30000/1001 -i "+Final.theme+" -filter_complex [1:v]fade=out:st=30:d=1:alpha=1[ov];[0:v][ov]overlay=10:...
0
votes
0answers
10 views

how to recognize proxy usage?

I have a site written in java. I am java programmer and I can check any request to my site. I have many users and some of them are banned by IP because violation of some the rules. The problem is that ...
0
votes
0answers
10 views

How to upload Java archive (.WAR) to Windows Server on Plesk?

I am able to create a .WAR archive of my Java project from Eclipse. This is what I tried: Plesk Home Page -> Domains -> example.com -> Java Applications -> Install Java Application But ...
0
votes
0answers
6 views

jdk isn't showing on ubuntu [duplicate]

I have openjdk installed on my Ubuntu 18.04 and I want to add oracle jdk-1.8. The standard location is /usr/lib/jvm. I copied the file there and ran ilan@ilan-Lenovo-G585:/usr/lib/jvm$ sudo tar zxvf ...
0
votes
0answers
14 views

Run artifact (.jar) in Eclipse after Maven build success

I'm working on a Maven project, and after resolving many configuration problems, finally I am able to build the project successfully in Eclipse. After selecting maven install and seeing build success, ...
0
votes
0answers
85 views

Fiji 3D viewer requires OpenGL 1.2

When Opening the 3D viewer of Fiji, I am getting the following error: 3D [dev] 1.6.0-scijava-2-pre11-daily-experimental daily org.scijava.java3d.IllegalRenderingStateException: Java 3D ERROR : ...
1
vote
2answers
302 views

Why can't I open SQL Developer when I have Java 10 installed?

In my Mac terminal: $ javac -version javac 10.0.1 I open SQL Developer and get this dialog: SQL Developer requires a minimum of Java 8. Java 8 can be downloaded from: http://www.oracle.com/...
0
votes
0answers
58 views

Weird Minecraft Auth server bug

I have a Minecraft server running on my Linux system that is running Ubuntu 18.04 running Java 11 and i'm having an issue. My problem is when I have my server.properties online-mode set to true, the ...
1
vote
0answers
36 views

Java memory allocation error inside a Docker container when host machine is running Alpine Linux

I want to run Jenkins in a Container where my host machine is running Alpine Linux. I have an Ansible playbook that starts the Jenkins container. However, the container exits as soon as it starts. I ...
0
votes
0answers
93 views

JDK 10 installation

When I am running freshly downloaded jdk-10.0.1_windows-x64_bin.exe, no frame for JDK setup appears, but after some waiting, I have to confirm I really want to install, again some waiting... And ...
1
vote
1answer
16 views

Dependices doesn't fit (java 8) installing JOSM on Linux

I wanted to install JOSM on old Mint (https://josm.openstreetmap.de/wiki/Download#Ubuntu). So I added file josm.list to sources.list.d containing one line: deb https://josm.openstreetmap.de/apt ...
2
votes
0answers
70 views

Java application response is slow if Linux cache consumes entire system free memory

I am running two Java-based application on my server with 32GB of RAM,16 core CPU. Apart from this I just have MySQL community server 5.6.16. The Java applications are assigned 10 GB of overall memory....
0
votes
0answers
41 views

Removing JDK/NetBeans from Debian

I am new to Linux and Java. Previously i had jdk1.8.0_171 installed, along with netbeans 8.2. During one of the Kali updates, JDK 8 was completely replaced by JDK 10. As a result of that, netbeans ...
0
votes
1answer
155 views

Uninstalling JRE but .msi is missing

I'm trying to uninstall an old Java Runtime Environment (Java 8 Update 101 / 8.0.1010.13) from a Windows 10 client machine. It seems, that the original installer is missing, so it prompts me to enter ...
0
votes
0answers
26 views

Knowage: issues when passing midnight

I've a knowage (6.1.1) installation on an ubuntu machine (18.4.1). It runs on mysql 5.7. Every morning, as I try to log-in the browser gives out this error: An error has occurred. Retry later. ...
1
vote
0answers
48 views

Weird error message while running app in Netbeans - Java returned: -1073740940 [closed]

While running in Netbeans after some use of the application 4/5 minutes, the program freezes and then closes with this error. C:\Users\ri-qu\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:...
0
votes
1answer
212 views

What is the latest Java JRE1.8 that you can install out-of-box on WinXP?

In the past Java JRE 1.8 could not be installed on WinXp. The error message was: the procedure entry point RegDeleteKeyExA could not be located in the dynamic link library ADVAPI32.dll I read ...
3
votes
1answer
89 views

pkftk.jar executable with bash script pdftk current directory

In ubuntu-16.04 the command line program pdftk was dropped. I use pdftk every day, so I am working on using this PDFTK fork https://gitlab.com/marcvinyals/pdftk from the instructions found at https://...
1
vote
1answer
65 views

drive mapped with system level powershell not accessible from File Explorer

I'm trying to map a drive to another server using a "system" account in powershell. I am successful but then the server is only accessible if logged in as system, but not as administrator or regular ...
0
votes
0answers
117 views

Java not downgrading correctly on MacOSX

So I recently upgraded to Java 10, and it seems like it caused an app I've been using to stop working. (Technically, I don't know this for sure, but it's a java app, and I haven't changed anything ...
0
votes
1answer
63 views

Why am I required to install Oracle JRE while installing TFS?

I'm installing a new TFS instance and, as suggested by the docs, I installed the SQL Server (on the same machine, which is brand new and freshly blown). During the installation process, I got the ...
0
votes
0answers
362 views

Apache Kafka appends wrong JAVA path

I have installed the OpenJDK Headless JAVA package on a Ubuntu 16.04 which works fine. My JAVA_HOME variable is set to: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java But when I'm starting Apache ...
0
votes
0answers
13 views

Modify group policy settings through Java

This probably is a silly question and the answer might be a NO. But asking for clarification sake - Is there anyway the group policy settings applied to a local machine be modified via a third party ...
0
votes
0answers
13 views

Server-Client works with School Network, not with Home-Network

I programmed a server client in java which work, but only with the network of my school. So when i have tried to test it with my home network it didn't work. I have already checked the firewall ...
5
votes
2answers
262 views

JDK8 installer exits with 0xC0000005 on Windows 10

It happened when I tried to upgrade my JDK from 8u162 to 8u172. I found all the 8u162, 8u171 and 8u172 installers exits with code 0xC0000005, but this happens only with JDK 8. JDK 10.0.1 could be ...
0
votes
1answer
393 views

Error : 'javac' is not recognized as an internal or external command,

java program is not running on my windows 10 pc. C:\Users\Antony>set path=C:\Program Files (x86)\Java\jre1.8.0_171\bin C:\Users\Antony>cd Desktop C:\Users\Antony\Desktop>javac helloworld....
0
votes
0answers
32 views

How to fix Freemind node text occlusion by borders

I using freemind 1.0.1 mindmapping software on Fedora 24 RFremix with freemind 1.0.1 openjdk version 1.8.0_141 fontconfig version 2.11.94 When viewing minmap it look ok. But in inplace editing ...
0
votes
0answers
55 views

Permanent accept of java certificate is not woring on windows 10

Usually when starting a signed Java Application - no matter if starting inside a browser as applet or via JNLP/JavaWebStart – there is a warning prompt notifying if to run the application. On ...
0
votes
2answers
96 views

Java script not starting when navigating to a page containing an applet

I am trying to run this website, which is supposed to run an applet (?) with Java script. It should look like this; however, the page is blank, except for the heading: I have downloaded and unzipped ...
0
votes
1answer
117 views

How can I format selected java code in sublime text .txt file?

Is there any extension or technique for formatting java code in sublime text? For example, I have this code: static void test() { Pair<Integer, Integer>[] intPairArr = new Pair&...
1
vote
0answers
40 views

macOS 10.13.4 Finder displays kMDItemKind for some .java files as “Source Code”, but as “Java Source” for others

On macOS 10.13.4, for some .java files, Finder displays "Java Source" for kMDItemKind (i.e. the "Kind" column in "List" view), but for some other .java files, it displays "Source Code", even within ...
0
votes
2answers
800 views

cannot execute binary file in Mac Terminal

I am trying to run IBM java on Mac terminal but which is giving error, >./java -version -bash: ./java: cannot execute binary file Here is the terminal detail uname -a Darwin Devendras-MacBook-Pro....