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.

learn more… | top users | synonyms

3
votes
0answers
201 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
0answers
408 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
0answers
98 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
0answers
103 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 ...
2
votes
0answers
75 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
313 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 ...
2
votes
0answers
1k 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
535 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
0answers
524 views

can't open netbeans IDE in Fedora 17

my linux version is: Fedora 17 I installed Netbeans IDE 7.1.2 and it was working fine, but now, when I try to open it, nothing happens after double clicking on it. I think updating the kernel may be ...
2
votes
0answers
200 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 ...
1
vote
0answers
22 views

Minecraft acting differently when started from terminal compared to started by cron job at start-up

So I use a CentOS Linux 7.2.1511 server, where I host a couple of things, amongst them a Minecraft server. Since from time to time server is rebooted I scheduled a cron job to run minecraft server on ...
1
vote
0answers
78 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 ...
1
vote
0answers
60 views

How to run a jar together with faketime

I need run a certain jar file with a mock time for testing purposes. When I execute the jar in the usual way $ java -jar myjar.jar it runs perfectly. But when I try to run it together with ...
1
vote
0answers
759 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-...
1
vote
0answers
184 views

Install Java 8 on ARM Nas (Debian Wheezy)

I need Java 8 on my NAS (Arm7, 32bits, Debian Wheezy) for fim software. uname -a Linux ReadyNAS 3.0.101.RN_ARM.3 #1 Mon Dec 15 23:39:16 PST 2014 armv7l GNU/Linux I tried the packages way : sh -...
1
vote
0answers
156 views

Java Process hangs with .exec and ssh

EDIT: I believe the issue is that the ssh connection is creating background connections that are still open (cf. http://superuser.com/a/617670). I would run ssh with the -f flag, but I need to be sure ...
1
vote
0answers
29 views

Java screen session starting

I am trying to launch a sh file wich starts a screen Session, but nothing happens. When I try to launch it manually it works fine. su minecraft -c "screen -S $1 -d -m sh start2.sh $2" and in the ...
1
vote
0answers
33 views

the case of the missing /usr/bin/jexec

I was upgrading a package when I came across the following - $ sudo aptitude install openjdk-9-jre=9~b87-1 openjdk-9-jre-headless=9~b87-1 -y The following packages will be upgraded: openjdk-9-jre ...
1
vote
0answers
169 views

Java related error met when installing COMSOL

I would like to install a software called COMSOL on Redhat (Red Hat Enterprise Linux Server release 6.4 (Santiago)) cluster. COMSOL is designed as a Windows software, and its installation requires X ...
1
vote
0answers
32 views

Is it possible to create aliases that affect services starting?

Currently I have a custom service that executes java in multiple places. I want to be able to add an option to any executions of java this service will spawn (I'm specifying the error log location, ...
1
vote
0answers
29 views

Help with java on Fedora

I have installed java on my fedora, because when I execute java -version I get: openjdk version "1.8.0_25" OpenJDK Runtime Environment (build 1.8.0_25-b18) OpenJDK 64-Bit Server VM (build 25.25-b02, ...
1
vote
0answers
46 views

after reboot server, service start without special chars

I write simple Java server. This service (java server) connect with mySQL database. I am connecting with this service by socket connection. Everything work well when i start my service by line ...
1
vote
0answers
389 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 ...
1
vote
0answers
336 views

java version not found in redhat

My OS is redhat linux. It's having the default java 1.4.2, but I need java 1.7.45, for that I am trying as follows: /usr/sbin/alternatives --install /usr/bin/java java /u01/java7/bin/java 5 /usr/sbin/...
1
vote
0answers
51 views

How to make aptitude recognize Oracle Java as a valid java dependancy

I have Oracle Java 7 on my Debian. I want to install tomcat server using aptitude, but it keeps trying to install icedtea, and unnecessary java related packages, is it possible for aptitude to know ...
1
vote
0answers
147 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 ...
1
vote
0answers
25 views

Solaris JRE Mozilla

In an thin client setup where Solaris 10 is being used on client and server side. Java based web apps are opened in Mozilla web browser 1.7. JRE version 1.4.2.6 is installed for Mozilla. On a few ...
1
vote
0answers
344 views

Measuring context switches of a LWP gives incorrect results. Why?

I have a Java thread pinned at my cpu core. It is busy spinning and I see through top that it is running fine: %Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : ...
1
vote
0answers
318 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
1
vote
0answers
298 views

JVM memory limit on Linux (Debian)

When running my java program, I get following error: Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM limit I am wondering how I can increase the limits on my ...
1
vote
0answers
378 views

X high CPU when using Java applications

Only recently, my Freemind program has become extremely sluggish and unresponsive (big lag) when moving my mind map around. I use Arch Linux with xfce4. Freemind is made with Java. If I move the mind ...
1
vote
0answers
206 views

Ant error after installing NetBeans 7.3 in Lubuntu

I have NetBeans 7.01 from Debian repository - all works. But I have a problem with NetBeans 7.3 from the official site (installed on the same machine) - I can't compile anything: ERROR - Ant is ...
1
vote
0answers
258 views

Rogue Java process brings my computer to a halt

In reference to my earlier post: Is there a log of past threads that are now closed? I gave the process a kill -STOP signal and started examining the details. I can't seem to figure out why it is ...
0
votes
0answers
35 views

Very slow RMI+SSL requests after added SSL certificate

I added a SSL certificate to a RMI based application, and it's working normally on test server, so after deploy it at production servers, all requests are waiting for SSL handshake, even local ...
0
votes
0answers
70 views

Launching JNLP file from Linux

There is a .jnlp file which can be launched from Windows. I now want to open it from Linux. The command is javaws file.jnlp. However, I get a segmentation fault and the verbose message is not ...
0
votes
0answers
58 views

how to run android dex from command line in ubuntu 14.04

I write a program which has ant build file with this command: <exec executable="dx" dir="${workdir}"> <arg value="-JXmx${env.JavaHeap}"/> <arg value="--dex"/> <arg ...
0
votes
0answers
69 views

Unresponsive Java Application with ssh X forwarding

I have an X session forward via ssh. I run a Java jar application (Apache JMeter) on the remote server. It functioned really well with acceptable lag until today. Recently has become really ...
0
votes
0answers
130 views

Linux Mint 17.3: Minecraft Forge install error

I have JRE8. I have the latest version of minecraft and have run the client. I've made sure the forge.jar file can execute as a program. However when I go into command line to install Forge I get the ...
0
votes
0answers
147 views

Symlink not working for /opt folder

I am in the midst of installing Java on red hat machine. So I downloaded jre-1_5_0_10-linux-i586.rpm and copied it into /opt/local. Then I ran sh ./jre-1_5_0_10-linux-i586-rpm.bin and finally I ...
0
votes
0answers
110 views

Unable to load shared libraries in java

I have copied existing java to differentlocation and applied setcap on it. #setcap cap_net_bind_service=-epi /usr/lib/jvm/jre-1.7.0-openjdk.x86_64_test/bin/java Now, i got the below error and one ...
0
votes
0answers
93 views

the problem when install Cytoscape on Opensuse 42.1

I want to install Cytoscape on my computer. I download the installation file from Cytoscape official site and I install it like this sudo sh Cytoscape_3_3_0_unix.sh but I get the wrong message ...
0
votes
0answers
30 views

Build fails as the Java not recognized (Amazon EC2)

My java path is set in .bashrc and we had to run source ~./bashrc when we run the build or the build fails saying java is not recognized . Any solution for this with out running the source bashrc ...
0
votes
0answers
56 views

Dealing with broken pipes in ssh X11 forwarding with an intensive numerical simulation

I have a hydrodynamic code I inherited that has a java gui. It is quite user friendly but it is a nightmare to run through ssh because when I do X11 forwarding, if the connection experiences problems ...
0
votes
0answers
250 views

JAVA_HOME set to /usr/lib/jvm/jdk1.8.0_60, yet when running java it does not work?

I needed to set JAVA_HOME and DATABASE_HOME to install Adempiere, so I did it by editing .bashrc as shown here, and then restarting virtual machine. [Linux version is Ubuntu 14.04.3]. When I run ...
0
votes
0answers
13 views

OpenDaylight and Java flavour

This is my first time installing OpenDaylight, and I never dealt with Java before. I'd like to understand what flavour of Java is required for the correct operation of OpenDaylight -- OpenJDK or ...
0
votes
0answers
105 views

Check OpenSSL version in Android with java runtime or shell command

I have a problem with checking OpenSSL version in Android device. I've tried to: grep OpenSSL from system/lib/libssl.so with java runtime.exec. but it doesn't work? Anyone can help me, how to make a ...
0
votes
0answers
272 views

Why java and java based apps work fine when JAVA_HOME and PATH variables are not set?

I installed jdk8-openjdk in Arch Linux using official repositories. Actually it works fine even before JAVA_HOME and PATH environment variables are not set. javac print the usual output. also java -...
0
votes
0answers
158 views

Cannot install NetBeans 8 in Ubuntu 14

I am trying to install NetBeans 8 in Ubuntu 14. When I execute the .sh file using ( I have already set the file as executable ) ./netbeans-8.0.2-linux.sh I get this ( Out of memory error ) I ...
0
votes
0answers
30 views

Interrupted OpenCV building

I was following a tutorial on building opencv for java, but accidentally I interrupted it. Now everytime i want to run the same command to build it, it throws this error: CMake Error at /usr/share/...
0
votes
0answers
75 views

Linux capabilities for java to resolve symbolic links

I run a java program by a non-root user. The program has to resolve a symlink to the real file name, but the link is owned by a different non-root user. I used setcap to set capabilities to open root-...