The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [java]

Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM). Use this tag when you are dealing with a java program, installing java, or configuring a java installation.

205 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
406 views

Java programs steal focus in X11

I run IntelliJ IDEA & some other Java GUI apps on my linux box. Every one of them tends to steal focus when launching up, and doing it in stealthy way. E.g.: I run IDEA, it starts up in ...
4
votes
1answer
1k views

Java SDK on NixOS for IntelliJ

I have recently installed NixOS on my machine, for Java development I have added IntelliJ CE 14.1.5 and the Oracle JDK 8. However IntelliJ does not automatically recognize the path to the Java SDK ...
3
votes
1answer
84 views

Time zone: Host. What does that mean?

I know that there is several ways to setup system timezone on CentOS host. What I would like to know is the meaning of this Host timezone which seems to be set by default and is reported by ...
3
votes
0answers
161 views

How to avoid mouse cursor jumping while using xinput Coordinate Transformation Matrix when application releases mouse

I've got some high sensitivity mice that I need to lower the sensitivity on. The general solution to this seems to be to set the Coordinate Transformation Matrix to something acceptable. So I use the ...
3
votes
0answers
753 views

How to prevent cgroup: fork rejected

I run a Java application with OpenJDK 8 on Fedora 27, and since some time it logs this from time to time: kernel: cgroup: fork rejected by pids controller in /system.slice/my.service It then also ...
3
votes
1answer
1k views

Java plugin crashing in Firefox - Fedora 20

I have been wrestling with this for over a day now. I have a Fedora 20 physical system running Firefox 38.0.5. When I go to the java site to verify my version I get an error saying "The Java plugin ...
3
votes
0answers
296 views

Flipping Control/Command in GNOME breaks Alt key in JVM

I want to switch Control and Command modifier keys in GNOME / Debian Jessie, because I use a Macintosh laptop. I have managed to get these changed via the TweakTool -> Typing panel, like this: Ctrl ...
3
votes
1answer
333 views

RES memory more than initial and maximum memory for java

We have a java application running on Centos 6.4 what we notice is that the RES is around 370m which is more then the allocated max that is 256m. Does this signify that we the application is leaking?
3
votes
1answer
425 views

Implement Java/JavaFX on ARM

I am working on ARM Linux. I have found this link that says that JavaFX could work on ARM. I am confused about Embedded Java SE and JavaFx ARM. Do I need to setup a JVM for those or not? I have ...
3
votes
1answer
517 views

freebsd make install openjdk6

I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is: /usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such file ...
3
votes
0answers
483 views

VMO Changes After Adding New RAM To AIX?

We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken). This server is our Application server running J2EE applications on top ...
2
votes
1answer
25 views

Opening .jar files with `pkexec` and using Desktop Entries to run commands

I am writing a bash script that automates installation of TLauncher (Minecraft launcher) and basic dependency management on USBs running Lubuntu 18.04. Part of the bash script creates a desktop ...
2
votes
0answers
3k views

E: Unable to locate package oracle-java8-installer

I've been using the below Dockerfile to install java8. However, all of a sudden while creating the docker image it breaks with error E: Unable to locate package oracle-java8-installer E: Unable to ...
2
votes
0answers
79 views

AIX : NOFOLLOW_LINKS is not supported on this platform

I have an AIX 7.2 machine. I am trying to run a Java program on it. It gives me this error: NOFOLLOW_LINKS is not supported on this platform. It is because I am using this call in the program: Files....
2
votes
0answers
125 views

bash tab auto-complete for java keytool

Can anyone point me to a bash tab autocomplete for the java keytool command? Learning & writing this seems not simple, and I presume that someone has felt this pain before.
2
votes
0answers
384 views

The command “hdfs dfsadmin -report” fails because “failed to connect to server”

I am trying to configure a multi-node cluster of open source Hadoop. I have Hadoop 3.0 installed on the namenode and the data node. Both are running Linux (SUSE and Ubuntu). None are CentOS, RedHat ...
2
votes
0answers
359 views

Icedtea-web error while accessing KVM Console through CIMC

I want to access the KVM Console through CIMC but icedtea-web keep showing the below error. Currently I'm using Distribution: Fedora 26 icedtea-web.x86_64 1.7-6.fc26 openjdk version "1.8.0_151" ...
2
votes
0answers
18 views

Java web application fails on one instance and passes on another with the same version

I am running a java web application on tomcat on a docker container on Ubuntu on two machines. Both have the same OS version Linux version 3.19.0-77-generic (buildd@lcy01-03) (gcc version 4.8.4 (...
2
votes
1answer
547 views

Bad performance with Java

I have a computer that was running Windows with a lot of big programas (like Adobe Fireworks, and many other stuff) and the computer performance was really good. I decided to format my computer (I ...
2
votes
0answers
53 views

GNU screen freeze session if SSH is not connected

I have a dedicated server (Inmotion) running a Java XMPP server through a screen session to keep it alive. Sometimes, after a long period, the execution of this Java XMPP server freeze and then when I ...
2
votes
0answers
829 views

task java:14736 blocked for more than 120 seconds

I have a Java EE application running in Red Hat 6 with Java 7 and Wildfly 9. The application has been running well sometimes, suddenly the response time makes the application unusable and I have to ...
2
votes
1answer
502 views

How to stop the process if it's responding or not responding after certain time

I am running a Java application on an remote server by making a connection with remote server through java secure channel. My application executes a shell script on an remote server and get's the ...
2
votes
0answers
351 views

Disable java update popup “Your Java Version is out of date” on Ubuntu

I want to disable Java update on Linux OS, I'm using Oracle Java and tried to disable update check from "Java Control Panel" but control panel doesn't have "Update" tab as windows Java control panel ...
2
votes
1answer
3k views

Setting classpath for Java

I was trying to use a tool a tool written in java called "fastqc" (for people who are interested in what is fastqc. when I tried typing the command :" fastqc" I got the error: Exception in thread "...
2
votes
0answers
752 views

Not Able to run simple Java Swing Program on Raspbian on Raspberry Pi 2 Headless connected using tight VNC

I am using a Raspberry Pi 2 model with Debian as the OS. I tried a simple java swing program that opens a JFrame on it, and it worked fine. Later, I wanted to use my Pi headlessly i.e. without ...
2
votes
0answers
1k views

TCP SYN,ACK Retransmissions

The following network trace was recorded on a Raspberry PI running Debian Linux. It seems the Raspberry is not seeing the data packet #36995 for some reason; it is just stupidly repeating his SYN,ACK ...
2
votes
1answer
4k views

Minimal installation of Oracle Java 8 on Debian - headless, with no GUI

In another question here (Minimal Java installation for Linux with no GUI) I found some information about headless installation of OpenJDK, but I would need this with Oracle Java 8. I need Oracle ...
2
votes
0answers
5k views

Could not find libjava.so

So I'm trying to install and run the jdk/jre on linux to run app project compilation/signing/etc. actions from the command-line. To install, I used the following command: yum install java-1.8.0-...
2
votes
0answers
272 views

Focus stealing under Xfce in Matlab (Java programs?)

I'm using Matlab R2015a under Debian Linux. I recently switched to Xfce 4.12 as my desktop environment, and since then I am experiencing weird focus behavior: When I try to interact with the ...
2
votes
0answers
137 views

JVM low-memory tuning

What command-line options would provide the lowest memory-footprint JVM, in OpenJDK, or possibly other JVMs (Linux/Debian)? I'm willing to disable JIT, live with slow or choppy garbage collection, ...
2
votes
0answers
1k views

Java process gets killed frequently by OOM - Killer on upgraded hardware

I am running solr on an Ubuntu server along with 4 other java processes. Current index size is 30 GB. My solr process gets killed frequently in few hours. It clearly mentions that its an OOM killer. I ...
2
votes
0answers
892 views

How can the RES memory reported for a Java process be higher than the VIRT memory?

I've been monitoring a Java process (Oracle Weblogic) using TOP and have observed that sometimes the following will happen: RES will increase from it's usual stable level of 2,097,152 KB up to almost ...
2
votes
1answer
1k views

Java upgrade problem on CentOS 6.5

I want to upgrade my jdk on a CentOS server, after some simple searches I found some solutions. From this link, you can see that the instructions are simple. install your chosen jdk from rpm package ...
2
votes
1answer
51 views

Terminating Java Application

I have a Java application on a suseEnvironment which I start with a SH file. I use the command: startFile.sh &. If I logged in via putty, the application is still running after I've closed ...
2
votes
0answers
4k views

Tomcat unable to create file in dir owned by same group

I have a server running Tomcat, and I need Tomcat to create a file in a particular folder. Tomcat (technically a Java app) runs as the user 'tomcat', as evidenced by top: #top 1251 tomcat 20 0 ...
2
votes
0answers
238 views

Fluxbox: is there a problem with java modal dialogs and fluxbox?

I have got a java application that opens a modal dialog. The modal dialog is shown behind the main window and there is no way I can bring the modal dialog to front. If I switch to Cinnamon everything ...
2
votes
3answers
4k views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu

When I am running spoon.sh file in Ubuntu I am getting the following error: [santosh@sbx data-integration]$ ./spoon.sh /home/decathlon/Pentaho-5.0.1/data-integration org.eclipse.swt.SWTError: No more ...
2
votes
1answer
350 views

Using pkg add with a NanoBSD image

I'm running into a problem on a NanoBSD installation where I cannot install OpenJDK7 via pkg add because it first saves to either /tmp or /var (not sure which) and on a NanoBSD installation, there is ...
2
votes
0answers
625 views

Java plugin not working with FireFox 24.3.0 on Red Hat Enterprise Linux 5.10

In the about:plugin tab, there is not Java plugin. I have created the symbolic link as suggested. The output of the 'ls -al' command is: lrwxrwxrwx 1 shehab shehab 58 Jun 4 11:21 libnpjp2.so -> ...
2
votes
1answer
146 views

Update Oracle JDK

I know, there are several ways of installing ORACLE jdk7 on Debian. One way is to use the ppa from the web8updteam but i've read that installing software from ppa is not recommended on Debian. (is ...
2
votes
1answer
335 views

Visually-transparent & Input-transparent Windows

I'm a Java programmer who's rather new to Linux. I'm on Suse / Gnome and I need to create a window which: Is visually translucent/transparent. This is the usual alpha blending that composes a ...
2
votes
0answers
231 views

Any way for Unix to ignore lpoptions and let Java do it's job?

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings chosen on the Java Print dialog. At this point the ...
2
votes
1answer
1k views

Are all open files displayed in lsof output?

In all the cases, I have found any file which is open for reading or writing is displayed in lsof output. But today, I am trying to found a logfile that is opened for writing by a java process in lsof ...
1
vote
0answers
22 views

Set path for non shell user

I have installed Adopt OpenJDK version of Java. I set it up so all users will have JAVA_HOME set and that the bin folder for Java is in the PATH. However the software I installed afterwards that ...
1
vote
0answers
48 views

sudo root cannot find executable on path

I am on CentOS 7.5 and installing OpenJDK 11 from Adopt OpenJDK. It doesn't have an installer package so I am manually putting it in /usr/share. I then create the file /etc/profile.d/java.sh to set up ...
1
vote
0answers
13 views

I am trying to setup Grails 4 in IntelliJ Ultimate in Ubuntu 19.04, but I don't know how. These are things I have completed/tried:

I use SDK manager to install Grails using this command: sdk install grails And I launched IntelliJ, selected Grails for the new project. Selected Java version 11.0.4 as Project SDK Selected /home/...
1
vote
0answers
252 views

Why is PDFTK saying it can't find files that are right there?

I'm trying to compile a bunch of PDFs into a single document. ls shows the files are in the directory that I'm in and they're readable (-rw-r--r--). But when I try to run pdftk 2017.pdf cat output ...
1
vote
1answer
61 views

Why does my bash terminal startup run the same set of commands twice?

I'm on a Mac and whenever I start up my terminal app the initial startup prints the following: Picked up _JAVA_OPTIONS: -XX:MaxPermSize=4G -Xmx4G Java HotSpot(TM) 64-Bit Server VM warning: ignoring ...
1
vote
0answers
20 views

How to make redirect go to alternate web page if Shift key is being held?

I am trying to make a secret alternate redirect on a web page that redirects to an alternate page when holding down the key, otherwise it redirects to the regular redirect page. Example/Clarification:...
1
vote
0answers
28 views

weblogic cluster between two different server

I have two server (for example 1.1.1.1 , 1.1.1.2). I want to have one administrator tools and two managed servers (one on 1.1.1.1 and another on 1.1.1.2) and cluster these two nodes. Is the base of ...