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

1
vote
0answers
16 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
11 views

Socket timeout from an upstream DNS server nxfilter

We are using ubuntu 14.04 server and installed nxfilter latest version. After the run ./startup.sh script file, getting below error after the 2-3 minute and If i stop and start the again script then ...
0
votes
0answers
9 views

Tomcat variables in jcrontab.properties [migrated]

I have a Tomcat7 and java webbapp with jcrontab. Can I use $CATALINA_BASE variable in jcrontab.properties? For example: ...
0
votes
0answers
26 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
14 views

Keep all jars in a folder running on jvm's as services [migrated]

On a remote server I'm having a folder which contains serveral jars. Each of it will represent an application, which will open up a port, on which a web-application is served. It might look like ...
0
votes
1answer
28 views

Linux Mint Petra (16) Java Update from JRE 7 to JRE 8 breaks Graphics System?

(Note: I'm a firm believer in "if it works, you don't need to fix it." Which is why this laptop is still running Linux Mint 16 - so far it does everything I have needed, and wonderfully so.) I had ...
11
votes
1answer
536 views

Is there any way to tell if a shell script was killed with signal 9

I have a bash script (called from a java program) that keeps getting killed. I always catch the signal 15 with trap but then some other signal comes along that I suspect is signal 9 but am in ...
0
votes
1answer
27 views

How should I run a .java or a .class file using nohup? [closed]

For the first time I'm just playing around with nohup on top of an Ubuntu server. I read few docs about nohup and got to know about the running commands with options such as nohup ./server.sh &. ...
3
votes
1answer
39 views

How to increase server load?

I am attempting to stress a server as much as I can before it goes into production. I’m using Jmeter and have been able to add a little more stress by modifying scripts. I’ve also modified JVM ...
0
votes
2answers
54 views

How to verify if Java is installed on rhel

I stood up rhel VM. I was curious if JDK is installed or not so that I ran a command from a shell (bash). whereis java It returned: java: /usr/bin/java So I navigated to the path in order to ...
0
votes
0answers
18 views

set -xmx and -xms fail how to fix?

i have one problem with Minecraft and I can't set more ram like 1 GB per server. Error: root@vm:/opt/minecraft# java -Xms234M -Xmx10G -Xincgc -jar server.jar Picked up _JAVA_OPTIONS: -Xms500M ...
1
vote
1answer
36 views

Running Java GUI on Raspi without a connected display

I have a Java GUI app that runs fine on my windows PC and on a Raspi running Raspian when the Raspi has a monitor connected. I want to run the java app on the Raspi without a monitor attached. I'm ...
1
vote
0answers
49 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
1answer
33 views

How can I run my jar file in the background [closed]

I have developed a quick HttpHandler java application (jar file) and I now need it to run. Basically my jar act as a web server and I need it to be running while my linux machine is on. How can I ...
0
votes
1answer
31 views

Development setup on linux

On a linux system should we install and use our development tools and setup like java ee and hadoop as a root user or as user.
0
votes
0answers
12 views

How to monitor Java JRE 8 on Zabbix via JMX technology?

How to monitor Java JRE 8 that is running on Tomcat 8 via JMX technology? Server is running Ubuntu 14.04 LTS and the monitoring platform is Zabbix 2.2.
0
votes
1answer
21 views

redhat + how to find the oracle JRE version 1.7 from redhat site

I am searching the JRE 1.7.x version from red-hat site by yum command bot not find anything yum list | grep java | grep "1.7" | grep -i jre no such patch or maybe redhat not hold JRE 1,7 ...
0
votes
2answers
95 views

Is it possible to install both Gstreamer 0.10 and Gstreamer 1.0 at the same time?

I have a computer that runs Debian Stretch which has Gstreamer 1.0 installed. I am trying to run a Processing sketch that uses the Processing video library which in turn relies on Gstreamer 0.10. This ...
2
votes
1answer
33 views

Passing multiple arguments in middle of command with xargs

Is there a way to pass multiple arguments in the middle of a command using xargs? For example, I have a file javaoptions.txt which contains a default set of Java options. I would like to be able to ...
1
vote
1answer
60 views

Font bug in Java apps on Arch Linux

What happens with fonts in my JAVA apps? SOAP UI screen as example (see toolbox)... I have no idea where is the problem. SYS: up-to-date ARCH LINUX. $ archlinux-java status Available Java ...
0
votes
2answers
33 views

how to properly log the output of a console program that frequently updates “parts” of the screen, resulting in a messy log file?

I have some Java executable (jar) that is run my some shell script from a cron job once every night. That executable does not print log statements "as usual" just by printing them out in a sequential ...
1
vote
1answer
66 views

javac showing different version on fedora 23

I have the following commands from my fedora 23 terminal installed in Oracle VM [root@localhost local]# java -version openjdk version "1.8.0_60" OpenJDK Runtime Environment (build 1.8.0_60-b27) ...
1
vote
0answers
40 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
70 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 ...
0
votes
0answers
33 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
57 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
2answers
48 views

How to emulate Oracle Java with OpenJDK?

I have a java app, which does not wont to work: Please install Java JRE 1.7.0_45 or a more recent version I think it checks java version and vendor. Does openJDK have special option to emulate ...
0
votes
0answers
86 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
1answer
36 views

Install Java 1.4.2 on recent Amazon Linux [duplicate]

I need Java 1.4.2 on a up-to-date Amazon Linux 2015.09 server. I've tried to install j2sdk-1_4_2_19-linux-ia64-rpm.bin. When I execute this file, I get an error message: line 442: ...
0
votes
2answers
79 views

Running JAVA in Cygwin through bash script

I've been encountering a problem with cygwin where I cannot run a jar file with an error that the file cannot be found. If it were easier i would "translate" the java source in bash, but ...
1
vote
1answer
34 views

Shared libraries can't be found inside a screen session

I'm running a jetty-based Maven web application on Red Hat Linux. When I run it using the normal command, mvn jetty:run, it runs fine. However, when I try to run this command under a screen session ...
0
votes
0answers
100 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 ...
1
vote
1answer
73 views

How to debug an Out of memory crash

Recently one of my CentOS6 server crashed because of an Out of memory Error: It seems to be related to the postgres database used by java web-applications (deployed on tomcat). But I cannot find ...
0
votes
1answer
176 views

Cannot run config.sh on server that is running Jira

I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is ...
1
vote
1answer
82 views

Jre installation have no /usr/bin/java file?

I need to install a specific older version of JRE on a RedHat 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 ...
1
vote
1answer
66 views

CentOs 7 CronTab set JAVA_HOME

With the root user I configured the JAVA_HOME variable for crontab like this: [root@localhost ~]# vim /etc/crontab _______ SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_71/bin ...
0
votes
0answers
10 views

problem with opneing omni.ja file

How to open a .ja file. Do I need any app for it? e.g : /usr/lib/thunderbird/omni.ja . its a thunderbird archive file and archive manager shows an "archive type not supported" error.
1
vote
2answers
43 views

I am not able to connect tomcat in my centos browser but it starting in terminal

When I typed ./startup.sh i am getting: Using CATALINA_BASE: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_HOME: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_TMPDIR: ...
1
vote
1answer
1k views

After updating Ubuntu to 16.04 due to driver issues, NetBeans and Eclipse have stopped working

I just updated from Ubuntu 14.04 to 16.04 and it was a bumpy ride with damaged drivers along the way, probably because of the fact that 14.04 was missing two important drivers that 16.04 did have. ...
0
votes
1answer
28 views

All configuration files are embedded in jars?

What does it mean that All configuration files are embedded in jars. for the Apache Jakarta James e-mail server? Does that mean that config files must be placed back into the JAR file? Or, can ...
1
vote
1answer
91 views

Is it possible to monitor JVM usage of Elasticsearch via Munin?

I'd like to use Munin to monitor the status of the JVM used by Elasticsearch, which is run via Java (output of ps follows): elastic+ 1083 1 3 09:29 ? 00:13:23 /usr/bin/java -Xms8g -Xmx8g ...
0
votes
1answer
25 views

Linux equivalent of WinRun4J

Does anyone know of a linux equivalent of WinRun4J? Google isn't turning up anything. Specifically (from the WinRun4J aspect), I need the ability to pass additional/extended options to the JVM via an ...
0
votes
1answer
168 views

Error starting Eclipse on Centos 6 (JVM terminated. Exit code=13)

After extract eclipse-jee-mars-1-linux-gtk.tar.gz and running eclipse I am getting following error. I have installed Oracle JDK. What would be the error and solution ? Java version [root@hithertech ...
0
votes
0answers
64 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
2answers
69 views

Can't run java 8u71 on Wheezy Iceweasel

What happened to “WebUpd8” team? Banks homepage asking me for java update but couldn't install update via aptitude. On jessie machine already managed to install and run it via java-package interface, ...
0
votes
0answers
73 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
2answers
115 views

JDK 1.4.2 - where can I download the source?

I want to install Java JRE 1.4.2 or JDK 1.4.2 on a recent Amazon Linux server. The best option so far seems to install from source. However - where can I download this? I believe 1.4 is still from the ...
0
votes
1answer
677 views

NetBeans IDE - Warning

I'm using Linux Mint 17.3. I installed NetBeans on it and whenever I open the Netbeans App, I receive this warning message: The package containing the class javax.swing.JComponentBeanInfo was ...
0
votes
0answers
5 views

Package installs old version of Java [duplicate]

I have installed Java 8 on my debian (manually, not with apt) and have removed openjdk-7* and icedtea* (with apt-get). I try to install maven (with apt-get) but that package requires Java ...
3
votes
2answers
94 views

Handling duplicate programs names bash

I'm wondering if $PATH cascades entries. You'll all need to take a leap of faith with me here, but here it goes. Let's say we have a Java executable at /usr/bin/java but this version is very old and ...