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.
0
votes
0answers
6 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
0answers
8 views
Where is Java Control Panel in Linux Mint? [on hold]
I would like to change java's security settings to let my internet browser run the java plugin, but I cannot open Java's ControlPanel. I checked synaptic:
jre is installed and jdk is installed
But ...
0
votes
0answers
10 views
can we create custom serde in hive using python [on hold]
Can we create custom serde in hive using python .I don't have a good knowledge on java . Is it possible?
0
votes
1answer
15 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
18 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
11 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
10 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
65 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
83 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
32 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 ...
1
vote
1answer
62 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
315 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
82 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
8 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
16 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
18 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
12 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
80 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
10 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
56 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
45 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
57 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:/...
0
votes
0answers
41 views
Why failed nginx in installing default-jre in Debian?
I do
root@masi:/home/masi# apt-get install default-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
default-jre is already the newest version.
0 ...
1
vote
2answers
182 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
32 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
77 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
35 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
34 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
28 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
38 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
206 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
37 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
120 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
59 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
78 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
57 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
74 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
177 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
64 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
32 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
66 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....
3
votes
2answers
239 views
Getting Java programs start without calling with Java
It would be handy to be able to start Java programs by just calling the class file from the terminal (and have it running it the terminal when double-clicked in GUI, but this is less important). I so ...
1
vote
1answer
213 views
How to set a path variable without root acess? [duplicate]
My college currently uses a very old (like 3 years old) openJDK 1.7 distribution. And being a student, obviously I don't have root privileges. I wanted to use a much later version downloaded a much ...
0
votes
1answer
236 views
Error opening eclipse in archlinux
So I am running archlinux.
On java -version my output is:
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (Arch Linux build 7.u101_2.6.6-1-x86_64)
OpenJDK 64-Bit Server VM (build ...
0
votes
2answers
52 views
How can I get a dependency of “default-jre” to work for .rpm packages?
After asking the question Can I indicate that a .deb package depends on Java, but not specify what implementation (e.g. OpenJDK, IcedTea, Oracle)?, I was helpfully informed that I could include a ...
0
votes
1answer
171 views
How to set multiple versions of Java on linux
I have Java 1.6 installed on my Linux box and all users and programs used it. Now, I need to install a program which uses version 1.7. I want to install this version such that everyone else continues ...
-1
votes
1answer
254 views
How to deploy war file in apache2 in ubuntu 14.04? [closed]
I want to run my application with the help of apache2. In tomcat we will put the war files in folder webapps. I am looking something similar in apache2.
0
votes
1answer
60 views
Can I indicate that a .deb package depends on Java, but not specify what implementation (e.g. OpenJDK, IcedTea, Oracle)?
I have a .deb package that contains an app, which requires Java to function. However, I don't care which implementation they have installed (e.g. OpenJDK, IcedTea, Oracle), and I don't want to force a ...
0
votes
1answer
205 views
Is the openjdk-r ppa trustworthy enough to install on server?
We are running ubuntu 14.04, which still does not have openjdk8 yet. And I doubt they are going to fix this very soon. We need jdk8 very badly. Is this openjdk-r ppa safe enough?