Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM).

learn more… | top users | synonyms

4
votes
0answers
186 views

How do I execute in background / return early?

For reference, I'm using phpseclib to control a remote SSH server using the 'root' account. I have to start/stop a java process which is ran in the background. Stopping works fine with killall java ...
3
votes
0answers
123 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
218 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
0answers
355 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
22 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
72 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
433 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
468 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
171 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
21 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
15 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
21 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
16 views

Is it Possible to globally set the java hs_err log Location?

I know when executing a jar using the command line option -XX:ErrorFile=[location] allows you to change where the hs_err log files are placed. I am wondering: is there is a place I can globally ...
1
vote
0answers
14 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 ...
1
vote
0answers
108 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
62 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 ...
1
vote
0answers
25 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
446 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 ...
1
vote
0answers
23 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
185 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
58 views

Assistance applying poorly packaged patches?

I manage a handful of servers running the various roles of a Ahsay online backup solution. A few times a year the software is updated and I need to apply patches on my servers. Annoyingly the ...
1
vote
0answers
218 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
215 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
267 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
187 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
314 views

Installing jdk 1.4.2 on fedora 14

I am trying to install wsdgate, In the installation they have recommended to use jdk 1.4.2, I already have jdk 1.7 but I am not able to install JDK 1.4.2 on fedora 14. I got error like this could not ...
1
vote
0answers
201 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
12 views

Centos 7 - where is jfx library for openjdk8?

I have centos 7.1. And I installed openjdk8 and openjdk-devel8. However, when I tried to compile in netbeans my jfx application I get package javafx.* does not exist. After some investigation I see ...
0
votes
0answers
19 views

What font settings would Java Applications Use without Fontconfig?

I have a java application that looks fine without fontconfig installed, however, I need fontconfig as a dependency for a package, and when I install it my java app's fonts change drastically. My goal ...
0
votes
0answers
20 views

Java JRE 6 installation

I installed Java 6 (jre-6u45-linux-x64.bin) on a Ubuntu 12.04 machine following the procedure from this link: http://ubuntuforums.org/showthread.php?t=1904467. When I later installed Java 7 and ...
0
votes
0answers
22 views

Start a ssh when I click on a JSP button

I have a JSP page, which has a button. I want to start a ssh to the linux server whenever someone clicks that button. Will I be able to see the terminal inside the browser? How can I do this?
0
votes
0answers
17 views

Why does gstreamer-ffmpeg change the fonts for java applications?

I recently installed gstreamer-ffmpeg-0.10.i686 on RHEL 7. As a result of this text in my java program has become slightly larger (maybe 2 or 3 font sizes), which is enough to mess with some of the UI ...
0
votes
0answers
38 views

File not read by Java until touched

We had a freak incident on Solaris. Our java program couldn't read a file until we touched the file. It was reading other files just fine, it just seemed to be completely blind to this one particular ...
0
votes
0answers
36 views

Syntastic, Vim & Android: get them play well together

I've got a problem configuring my development environment for android. I'm migrating away from Android Studio due to continious issues that I have no desire to solve anymore. I'm a long-time VIM ...
0
votes
0answers
22 views

when idle tomcat runs on 3.9% CPU

I would like to know if it is normal that tomcat7 runs on 3.9% CPU when idle? I saw all other processes are at 0%, only tomcat7 is always at least 3.9%. Thanks
0
votes
0answers
16 views

Java Focres X11 Window Server to Restart

I'm using OpenSUSE 13.2 with openjdk 1.8 and GNOME 3.14 desktop environemnt. Sometimes when I'm using a java GUI application (Swing) the XServer restarts. It just restarts. I don't know why, or what ...
0
votes
0answers
25 views

Where to store the SQL Server jdbc driver file for use by all users

I have downloaded the sqljdbc4.jar file which enables connecting to SQL Server via jdbc. I currently have this in a personal folder whilst I've been testing connectivity. I'm hoping to put this file ...
0
votes
0answers
45 views

What is the command for finding some counters in linux?

I am developing a Java swing application to find the Linux performance counter values. Till now I got command for System - vmstat Memory - cat/proc/meminfo Disk - iostat -dxm /dev/sda Now I want to ...
0
votes
0answers
57 views

Multicast is not received using Java on Linux

Setup is as follows: host windows machine, 2 VMs with a Host-Only Network adapter and a NAT adapter. Java program on one VM that sends a UDP packet to the following address ...
0
votes
0answers
108 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
0answers
391 views

deploying a war file to a remote centos 7 server

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
0
votes
0answers
13 views

How do I install MEKeyTool on my device running Debian 6?

I am having trouble installing MEKeyTool or finding documentation on how to install MEKeyTool. I am using a device running Debian 6. cvm -version produces the following output: Product version ...
0
votes
0answers
63 views

Spring roo not finding core java classes in Arch

Arch has changed some of how it sets up Java. I'm trying to get Spring Roo working, but it seems not to finding java provided classes on the class path. I'm running ./bin/roo.sh Resolved ROO_HOME: ...
0
votes
0answers
28 views

Why is my application being cut off?

I'm running a Java based application on Ubuntu 12.04 LTS, and for some reason it keeps getting cut off in the top left portion of the screen. I'm running this in VSphere, with VMWare Tools installed. ...
0
votes
0answers
37 views

Fluxbox, bbkeys and java

I have installed bbkeys so I could choose a window when ALT-TABed, but the java applications are not amoung the selectable. Is there anything special that needs to be done for a java app to be amoung ...
0
votes
0answers
222 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
0answers
78 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 ...
0
votes
0answers
155 views

Changing the Java Runtime in NetBean 8 on Ubuntu 14.04

(Not sure if this is the right site for this question - if not please migrate.) I am using Netbeans for C++ on Ubuntu 14.04. Ubuntu comes with the Open JDK Runtime, which is what Netbeans is ...
0
votes
0answers
232 views

Mail Delivery too slow with sendmail

We are using javamail to deliver mail for our applications. The mail function runs in a loop to deliver around 100 to 200 mails depending on the range we use. However, it taking more than an hour to ...
0
votes
0answers
73 views

Use FindBugs in Eclipse from terminal on Ubuntu

Is there any way I could use Findbugs from terminal to get all the bugs in my Java code and print it out to a text file? I want to write a script that goes through 100 java files ( this is already ...