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

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.

2
votes
0answers
30 views

Custom Java app, does not show startup splash screen on some devices?

I have a Java app, called Infra12. It is not for sale so wont be in common use. It is designed to interrogate industrial equipment, but the supplier of the software has gone into administration, and ...
0
votes
2answers
36 views

Store $(java -version) into a bash variable

Why when I do this: $ var=$(java -version) on my bash terminal, var is always empty? Same thing with $ java -version >> version.txt nothing is sent to the version.txt file.
0
votes
0answers
11 views

Nexus proxy server

I have installed and configured Sonatype Nexus server as caching Proxy for Java(maven central) and Python(PyPi). It is working fine. Also i have some "internal" hosted repositories for Java and Python ...
-3
votes
0answers
47 views

Why does my software work on some Windows 8/10 machines but not others? [on hold]

I am having issues running an app on some Windows 8/10 machines but not others The software is installed from the same exe application file to all machines It is installed onto various Windows 8/10 ...
1
vote
1answer
22 views

On Windows, why java -version return Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'?

I've removed all ancient java 8 install on my computer. I've downloaded latest openjdk 11 from https://jdk.java.net/11/ and extracted the content to C:\Program Files\Java\ I've setup system ...
0
votes
0answers
12 views

Is it safe to access files from shared drive by multiple software tools? [closed]

My project is on Oracle database. We provide fix in the form of PL/SQL script to deploy in the production and get the issue resolved. Hence for same issues we have standard fixes. If we want to ...
0
votes
1answer
25 views

Circuit Construction Kit DC v3.19 won't start

I am trying to start Circuit Construction Kit DC v3.19 because a bit later than that they made an HTML5 version that starts in a browser, and I want the non-HTML version, the one that doesn't use a ...
0
votes
2answers
61 views

java versions and how to not get confused with them

I am aware that there is the JRE and the JVM. I have also programmed in Java, so not a total beginner. However lately I am getting very confused and would appreciate a current response to my question. ...
0
votes
0answers
28 views

How to reduce Java Eclipse's CPU Consumption? [closed]

I have been using Eclipse Java 2018-09 for a while now and it is consuming too much of CPU and I throttling the RAM at 100%. I have tried removing all the unnecessary extensions that I had initially ...
1
vote
0answers
46 views

Java app cannot connect to target server, but Browser can

I have this weird connection error where my Java app is working from some PCs, but not from others. What does not work is sucessfully establishing a HTTP connection to a certain server. Java is ...
1
vote
0answers
27 views

GIM69207S SMP/E download fails with java.net.UnknownHostException:

I'm in the process of downloading software to install on my z/OS system. I've not used SMP/E Receive to download previously. The DOWNLOAD step ends with a return code 12: ...
0
votes
1answer
31 views

Linux duplicate and extra processes in ps output

I am using the Linux ps command to monitor the RSS size of the processes from inside a Docker container. If the total RSS goes above a threshold, then I fail the tests and start looking for memory ...
0
votes
0answers
29 views

“Error: unable to access jar file” pops up every minute in Java

This annoying message keeps popping up, every minute, and it's driving my crazing, I tried rebooting, and reinstalling java. Java Virtual Machine Launcher Error: unable to access jar file C:\ Users\ ...
0
votes
1answer
18 views

JAVA_HOME is not set correctly after adding and appending to PATH

Ubuntu 14.04 LTS Bash version 4.3.11(1)-release I've added $JAVA_HOME to ~/.profile (and .bash_profile) like this: # # This is the default standard .profile provided to sh users. # They are expected ...
-1
votes
0answers
10 views

How can I use the string from other method? [migrated]

package lab07_PrinceRalambomanarivo; import java.awt.Color; import javax.swing.*; import java.util.Random; public class ESPGame { private String chosenColor; public Color chooseColor(int input) ...
0
votes
1answer
17 views

Can I install keytool without the whole bunch of Java JDK?

I don't want to install the robust Java JDK with gigabytes of installation data with an all time java updater which is eating my memory and annoying as hell, I just need the keytool. Is there any ...
0
votes
0answers
42 views

Installing java8 with Homebrew

I type brew cask install java8 and it fails to download. ==> Downloading https://download.oracle.com/otn-pub/java/jdk/8u192-b12/750e1c8617c5452694857ad95c3ee #######################################...
1
vote
1answer
55 views

CWWKE0018E: An exception occurred while launching the runtime environment: java.lang.NoClassDefFoundError: com.ibm.crypto.hdwrCCA.provider.IBMJCECCA

I am starting a Zowe 0.9.1 instance on z/OS 2.3; z/OSMF is already up and running. During the initialization of the Explorer Server (ZOWESVR) the following message is being issued in the stdout: ...
0
votes
0answers
17 views

Eclipse JEE: Can I safely exclude .cfs and .index files when backing up?

I was disappointed that my Eclipse JEE projects were so huge because it made them a little hard to sync with my friend's system. Then I finally had a look and see org.eclipse.m2e.core Nexus plugin ...
2
votes
1answer
85 views

Windows 10 - can not change default program of file [duplicate]

I'm using Windows 10 and I wanted .pie files to be opened with a jar file I created, so I used assoc and ftype as follows: assoc .pie PieLang ftype PieLang=java -jar pielang.jar "%1" assoc .pie does ...
0
votes
1answer
30 views

Unrecognized option: -d64 occurs with IBM Informix installation

Following error is occurring when I'm trying to install IBM informix ids.12.10.FC12TL.macosx64.dmg in my MacBook (Runs HighSierra) Error while trying to install IBM Informix Last login: Sat Oct 27 ...
0
votes
2answers
29 views

I want to add my java path but i don't understand , among all of these path, in which i should add my java path?

I want to add my java path but i don't understand , among all of these path, I which should add my java path?
0
votes
1answer
24 views

Run multiple jar files sequentially (not simultaneously) using shell script and docker

I have 2 jar files say abc.jar and xyz.jar , I want to run them sequentially one after another. when my start.sh is like this /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar abc.jar & /usr/lib/...
0
votes
0answers
25 views

Unable to open java.com and oracle.com, java updater aborts with an error

For some reason both Java and Oracle pages won't open in Firefox and Chrome, and Java updater aborts with an error halfway through the update download. Both pages open fine in Chrome on my phone, yet ...
2
votes
2answers
39 views

Where should I put my eclipse workspace on linux?

I'm installing Eclipse on a new computer and I am stuck on deciding where to put the workspace. Java is not my primary language and I haven't paid attention to this setting on previous installs; so ...
0
votes
0answers
20 views

Cannot close Cisco ASDM-IDM on Mac OS X El Capitan

I run Cisco ASDM-IDM (v1.7.00) on my Mac Mini, which run Mac OS X El Capitan 10.11.6. I cannot close the program and Force Quit does not work. The program is even still open after I reboot the Mac. ...
0
votes
0answers
21 views

Escaping spaces in server_args of xinetd.conf

I am trying to expose a small java program to the network for demo purposes. I use the xinetd configuration and create a service, and can get everything to work. Except when there is a space in the ...
0
votes
1answer
118 views

Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set

When I try to create my project's Javadoc in IntelliJ IDEA using Maven, the following error appears: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (...
0
votes
0answers
22 views

Java web start application fails with “nNable to find Certificate in Default Keystore”

I'm attempting to access the IPMI management interface on a older server. It's from around 2010, and there are no updates for the IPMI available. If you're not aware, IPMI is a remote management ...
0
votes
1answer
137 views

How to forcefully install older version of jdk?

I'm unable to force an older installation (1 version ago) that is required by another app on Ubuntu 16.04. Is there a way to force the install? me@vm:/usr/lib/jvm$ sudo apt-get install openjdk-7-jdk ...
0
votes
0answers
47 views

How to create an .exe installer for a Java application?

I am in doubt of which tools select for the job. I have a Java application composed of a few JAR files (a main .JAR plus libraries) and miscellaneous other files and I'd like to bundle it into a ...
0
votes
0answers
32 views

Access files from Tomcat user

I have a nologin tomcat user with a home directory /opt/tomcat/ I want to be able to access files from my sudo user. I have tried using environment variables to point to the file and just tried to ...
0
votes
0answers
26 views

Eclipse - Import project grayed out

I am completely new to Java and Eclipse. I am unable to import a project into Eclipse as it is grayed out. Spent some time searching on google but got nothing useful. Would like some help. Below is ...
0
votes
0answers
25 views

creating drop down menu

I am working on a project, so I have design a menu like I have shown in the picture. I have searched a lot about it, but never found a suitable name or what this frame is called. Please tell me the ...
-2
votes
1answer
66 views

javac is still not recognized, I tried everything [duplicate]

I am new to programming. I want to set java environment, but it is not working even I set the path. This is the directory, I put the first one on path C:\Program Files\Java\jre1.8.0_181\bin: here ...
0
votes
1answer
30 views

Java list all used imports of project per file

How can I list all used imports per file of a whole java project? Part of the requirements is to ignore unused imports but have all the used items imported via wildcard listed seperately.
0
votes
0answers
16 views

Using ENV vars in IntelliJ IDEA

I'm using IntelliJ IDEA in Windows 10. I'm trying to set up an application-specific login credential set without hard-coding it into a YAML file. This project will eventually be pushed to github and ...
0
votes
0answers
29 views

HyperSQL “user lacks privilege or object not found” error when Java access its table

I created a HSQLDB file using LibreOffice Base 4.4.7.2. In the Tool>Option>Advanced, the JRE class path is set to my JDK 1.7.0_80 & it is selected. The database contains a table named TABLE1. In ...
0
votes
3answers
924 views

Keeping Firefox 52.9.0 ESR (32bit)

I am trying to download the Firefox 52.9.0 ESR (32bit) as it can run java as a plugin in the browser. I've been doing this by taking the zip file from the archive, extracting it to my desired folder, ...
1
vote
1answer
20 views

Intellij Idea takes forever to show folders in “file/folder selector” dialog

The naming similarities to this unanswered SE Question from 2016 are intentional. We have the exact same problem. I am using IntelliJ Idea for Java work, but in a way that I frequently need to us the ...
0
votes
0answers
18 views

Heroku Procfile Configuration for Spring Boot being overridden by default values

I have a spring boot application and I keep getting R14 memory warnings on heroku. I believe the problem lies with the infrequent garbage collection and heap size as manually triggering the garbage ...
2
votes
1answer
94 views

Using wireshark to only capture the traffic between my computer and a specific host

I'm a .NET developer who's used to using fiddler. I'm trying just see the traffic from a web service running on my local machine and a specific web service. When I hit this web service from an ASP....
0
votes
0answers
65 views

%JAVA_HOME%\bin in windows path is not working

I have Java (JDK10) installed. A system variable JAVA_HOME is set to C:\Program Files\Java\jdk-10.0.2 The path system variable includes the value %JAVA_HOME%\bin I was able to run javac yesterday ...
0
votes
1answer
50 views

Linux application monitoring tool [closed]

I have a Java application(fat jar) that runs on the Linux Ubuntu instance and fails from time to time. The application has embedded web server and exposes health check URL. I need to implement some ...
1
vote
1answer
183 views

Fedora 28's “JDK” is missing the compiler, javac; How do I properly install it?

I installed a fresh download of Fedora Server 28 and it didn't come with Java. Fine. I ran yum list, and found some packages to install and installed all the most suitable looking JDK packages. ...
0
votes
1answer
65 views

Java installation failed

I am trying to install Java jdk 10 in my computer but it won't install. It is giving me an error saying: But, I can't find the Java installation that is running in the back end. I have tried to ...
0
votes
1answer
51 views

Why `apt-get purge` keeps trying to install things for me?

I try to purge the Oracle Java 8 JDK on Raspbian Stretch: sudo apt-get purge oracle-java8-jdk But it keeps trying to install replacements for me. For example, it keeps telling me "the following NEW ...
0
votes
0answers
18 views

java web start jre version check on client site

Based on https://www.java.com/js/deployJava.txt, I have tried both createWebStartLaunchButton(jnlp, minimumVersion) and createWebStartLaunchButtonEx(jnlp, minimumVersion). However, neither of them ...
0
votes
0answers
10 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
16 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