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
7 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 ...
-3
votes
0answers
8 views

i have installed 8.0.2.10-WS-IBMWASJAVA-AIX for websphere 8.5.5.9 and java -version doesn work [on hold]

I have installed 8.0.2.10-WS-IBMWASJAVA-AIX for websphere 8.5.5.9, After that, running java -version doesn't work. What is the reason and/or solution?
0
votes
0answers
24 views

Debian install Java 8 for Minecraft Server (McMyAdmin)

Before i start: I'm a Linux newbie and do not often work with the terminal! Im trying to install a Minecraft FTB Server with McMyAdmin on a Debian Server. So i've installed Java jre1.8.0 (via download ...
0
votes
1answer
45 views

Is it possible write linux kernel in Java Programming Language? [on hold]

When linux kernel written in C so is it possible to write in java programming language, microkernel and monolithic kernel ? Concern developing java os.
0
votes
2answers
41 views

how to switch to another user with password in shell script

I have logged into UNIX environment with user1, in this environment i have a shell script which containing some task need to be done at different path with different user say user2 because user1 do ...
0
votes
0answers
14 views

Trying to run Java 8 on ChromeOS but keep running into error message

I read from multiple websites that it's possible to download Java 8 on a Chromebook without having to use crouton. I do already have crouton but for matters of convenience, I wanted to be able to use ...
0
votes
0answers
12 views

Eclipse not opening: exit status 127

When I try opening eclipse (which I had installed using Synaptic), it doesn't but instead displays a dialogue box that says: JVM terminated. Exit code=127 /usr/bin/java -Xms40m -Xmx384m -Dorg.eclipse....
0
votes
0answers
4 views

tracing the ssh tunnel activity using java processbuilder api [migrated]

I have a java client to execute shell commands using a processbuilder api. Is there a way to get the ssh packet trace or the ssh activity using the processbuilder? The below code takes a shell ...
1
vote
0answers
24 views

Best way to start a service as a different user?

I'm running RHEL 6.8 for this task. My goal is to create a service that is supposed to kick off a process (it's a Java app) that runs as a different user. The problem that I'm encountering is that ...
0
votes
0answers
19 views

Appropriate directory for my own jar applications, and their configuration

I coded a Java application (actually an Apache Camel application) that I package as a jar file. It's an executable program (not a library). I am wondering where is the appropriate place for such jar ...
0
votes
0answers
32 views

<pidof> Command not showing all Java processes

I noticed that the command in my case, is not listing all Java processes. If I run pidof java I get one single pid as a response. On the other hand, if I run ps aux | grep [j]ava I get a three ...
0
votes
0answers
15 views

can't Start Build agent in Teamcity

While starting agent.sh in Teamcity, i am facing below issue. can anyone help to resolve this??? Build agent is already running with PID 16862 While using the force stop command [./agent.sh stop ...
0
votes
1answer
92 views

Install JDK 8 on Debian

I am trying to install JDK 8 on Debian. I found a lot of similar topics but none of them solved my problem. In most topics the solution was this commands sudo apt-get install software-properties-...
1
vote
0answers
25 views

Java installation on OpenSuse

I have been trying to install a newer version of JRE (version 8 update 111) on my openSUSE 13.1 (x86_64) platform. I extracted the contents of the tar file in the /opt/java/64 folder and then executed ...
0
votes
0answers
24 views

starting a process in a detached screen session at bootup

I'm trying to run a script that starts a Minecraft server in a detached screen session at boot. I've tried both rc.local and init.d, and it hasn't worked. I've also tried putting the whole screen ...
0
votes
0answers
14 views

STM32 Workbench hangs on import if project

I'm running Arch x86_64 and the STM32 Workbench flavor if Eclipse. I'm running with SWT_GTK=0 set, and the program opens fine, and most of it is responsive. However,when I import a project, it hangs.....
1
vote
1answer
70 views

Problems with Java and Meow

I installed the program Meow on Ubuntu 14.4, Gnome Shell 3.10.4 (it's a GNOME menu editor). The system updated to Java 8. When I run the program from the command line I get this: meow Exception in ...
3
votes
1answer
181 views

configure java daemon with systemd

I'm using this definition for a systemd job: [Unit] Description=Some job [Service] ExecStart=/usr/local/sbin/somejob User=dlt Type=forking [Install] WantedBy=multi-user.target The script ...
0
votes
0answers
17 views

Setting sublime text as default for all Java files

Incidentally, I have RStudio & R installed on my laptop. So I don't know why but when I double-click on .java files, they open by default in RStudio. Every time I have to right-click and choose ...
0
votes
0answers
33 views

How do I use daemonize to always keep my tomcat process running?

I was researching how to keep a background process running and I came across daemonize. This answer says that I can use daemonize to ensure a process is always running: "Ensure a process is always ...
2
votes
1answer
113 views

Java equivalent of strace

When I have an issue with a C application, one of the first tools I reach for is strace, I can easily see e.g. if it is blocking on a read from a socket, or for some file I/O or whatever else. But ...
2
votes
1answer
575 views

Problem with libx11.so.6: undefined symbol: xcb_wait_for_reply64

I have a problem with a one-day-old arch system. I accidentally moved /usr/lib/libX11.so.6 out of /usr/lib and then put it back. But now, I cannot launch Android Studio because of this: /usr/lib/jvm/...
0
votes
1answer
111 views

How to install the latest R when this Java problem in Debian?

My proposal su apt-get purge r-base r-base-dev exit wget https://cran.r-project.org/src/base/R-3/R-3.3.1.tar.gz tar -zxvf R-3.3.1.tar.gz su apt-get install libcurl4-openssl-dev # otherwise, ...
0
votes
0answers
9 views

Java netbeans hiding a jdesktoppane within a JTabbedpane

I am using a jtabbedpane and within it 3 jdesktoppane. Designing this project in netbeans. Now I want to be able to hide one of the tabs that is a Jdesktoppane . Now I thought just simply using ...
0
votes
0answers
22 views

how to use jsoup to parse several tables in a web page

I have tried to use Jsoup to parse the single table by using the identity of the elements (i.e. table id = "table1"), but now I want to extend my work, which means I could parse some complex web page. ...
1
vote
1answer
20 views

Where is “an appropriate place” for jar files on Debian, e.g. for a MariaDB JDBC connector?

I'm trying to install a JDBC Connector for MariaDB in the form of a JAR archive. The instructions say to put the jar file in "an appropriate place". Where should I put the jar file on Debian?
0
votes
0answers
19 views

log4j:WARN No appenders could be found for logger (org.apache.commons.jcs.engine.control.CompositeCacheManager)

I have been trying to using josm - └─[$] aptitude show josm Package: josm Version: 0.0.svn10966+dfsg-2 State: installed Automatically installed: no Priority: extra ...
3
votes
0answers
110 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 ...
0
votes
0answers
11 views

Matlab (java app) window is missing in the tab list

Is there a workaround to the following wellknown bug (Ubuntu, gnome+compiz, xfce, Arch, since at least 5 years spooking around)? After some interactions the windows of Matlab disappear in such a way, ...
1
vote
2answers
67 views

What user does a Linux script/app run as?

CentOS here, but I don't think that matters because this should be a core Linux question (methinks). While trying to install & run Apache Kafka (a Java executable) on a CentOS box, I thought of a ...
3
votes
2answers
47 views

On Debian, how do I make a script that will rerun a Java program after it has stopped or crashed?

I'm running a Java server program that needs to be started with a shell script. The script needs to start the Java program again if it happens to crash or be stopped manually. I found this script ...
2
votes
1answer
80 views

How to update-java-alternatives successfully to Oracle's one in Debian?

The command update-java-alternatives -s jre-8-oracle-x64 is completely valid (found in documentation also here) but I get errors. The package is also seen in the list of Java packages root@masi:/...
1
vote
2answers
232 views

How to start SPSS-statistics 23 in Debian?

I installed the university licence in Debian 8.5 but did not configure any paths and forgot what is the default location. I cannot see in anything in $PATH about the program by searching SPSS. ...
-1
votes
1answer
52 views

How to create own application installer for Linux? [closed]

I would like to develop a sefl-made application graphical installer in Java. But I not found is quite a good tutorial for this. I saw izPack installer creator, but for this documentation is quite ...
1
vote
1answer
99 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 ...
0
votes
0answers
39 views

How to run tomcat on Wind River Linux

I am facing problem while running tomcat server on 'windriver linux' when I start tomcat server as ./startup.sh And I go to 'serverip:8080' i don't get tomcat webpage everytime, sometime it takes ...
2
votes
1answer
45 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 ...
1
vote
2answers
30 views

How to stop my program to be as daemon when running?

I am running a java script which is running as daemon. I am seeing the process running as when type jps. I don't want to run that program as daemon. As I am thinking it to be run it automatically by ...
2
votes
1answer
43 views

Install Oracle Java from a mirror in terminal

I can't access Oracle servers for some reason. Is there any way to install Java from a mirror? I'm using Fedora 24 and I need to install Oracle Java on it.
3
votes
1answer
265 views

Fedora24, trying to install java (JDK)

I've installed openjdk Installed Packages java-1.8.0-openjdk.x86_64 1:1.8.0.101-1.b14.fc24 @updates java-1.8.0-openjdk-headless.x86_64 1:1.8.0.101-1.b14.fc24 @updates javapackages-...
0
votes
1answer
40 views

kill a java process after it was running for one hour

I need a script that will murder java processes that have been on for more than one hour, Can someone please help? Thank you! So I am trying this timeout -k 10s nohup cpulimit -l 40 -- java -jar ...
1
vote
0answers
130 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 ...
1
vote
1answer
74 views

CPU limit on individual runable jar files

I have a .sh script with many jar files in it. Each jar file has unique launch arguments. I must limit all the jar files to not use more than %5 CPU each. nohup java -a dsasda -p adss nohup java -a ...
-3
votes
1answer
101 views

How to switch Unix super user using java code? [closed]

i am trying to switch unix super user through java code. but getting authentication failure error, please help to switch user using java.
1
vote
1answer
69 views

Debian Linux - run script/app on boot

I have a .jar file which I run like this: java -jar server.jar 4242 So I have a script java-server.sh to launch it: #!/bin/sh java -jar server.jar 4242 & server.jar should start working on ...
0
votes
1answer
83 views

centos 7: all command not found, except cd

I use to run a Minecraft server on Centos 7 with oracle jdk 8. Sometimes the system crashes and most of the commands are not found, except for example cd and the commands that you can see in this ...
1
vote
0answers
193 views

Install Oracle Java 8

I'm trying to install Java 8 on a GitLab Runner like this: apt-get --quiet update --yes apt-get --quiet upgrade --yes apt-get --quiet install --yes software-properties-common python-software-...
1
vote
1answer
109 views

Setting classpath in 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 "...
1
vote
0answers
34 views

Calling Java programs without the .class suffix

This is a sequel to my other question, Getting Java programs start without calling with Java. I can already start Java programs from the terminal by just setting them executable and calling the X....
2
votes
2answers
68 views

Two web servers running in one linux machine?

Problem: I have two web applications which were created by using JAVA and PYTHON respectively. The JAVA application runs using Tomcat server on the port number 8000. The PYTHON application uses web....