Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
Questions tagged [java]
1817 questions
9
votes
1 answer
Cannot find open shared object file libjli.so -- no such file or directory
On 64-bit RHEL5 running Java 1.6.0 update 16, root can successfully run a Java program but a user can't because libjli.so supposedly can't be found. SELinux is turned off and the environment is the same before the program is run. I've tried putting…
![](../../users/profiles/1737.webp)
joeforker
- 2,349
- 4
- 25
- 34
9
votes
2 answers
How do you get the latest update for Java 6?
An application my company is considering buying requires Java 6. I am concerned that this is quite out of date and am recommending against the application as a result. But it seems that Oracle do still release updates for v6.
They state that they…
![](../../users/profiles/74394.webp)
Pryo
- 615
- 1
- 5
- 11
9
votes
5 answers
How do I find the cause for a huge difference in performance between two identical Ubuntu servers?
I am running two Dell R410 servers in the same rack of a data center (behind a load balancer). Both have the same hardware configuration, run Ubuntu 10.4, have the same packages installed and run the same Java web servers (no other load) and I'm…
![](../../users/profiles/10494.webp)
the.duckman
- 93
- 1
- 7
9
votes
3 answers
Jenkins CI - Cannot allocate memory
I tested jenkins-ci successfully on a ubuntu 10.4 (with vmware fusion) on my local computer. Now I want to install and use it on my virtual server at hosteurope. The basic installation was no problem, but now I have problems with my build…
![](../../users/profiles/114206.webp)
Programmieraffe
- 91
- 1
- 1
- 2
9
votes
3 answers
Apache Tomcat Windows service ignoring JAVA_HOME environment variable
I'm trying to get Apache Tomcat set up on a Windows Server 2003 machine. If I use the command line version (catalina.bat start) it all works fine, but if I try and use it as a Windows Service it seems to pick up the wrong value for JAVA_HOME - it…
![](../../users/profiles/19053.webp)
andygeers
- 373
- 1
- 4
- 10
9
votes
5 answers
Tomcat 6.0 service does not start: java/lang/NoClassDefFoundError
I installed Tomcat on my Windows server but I can't get it to start. I start the service and I see the progress bar, but it fails.
I installed the Java Runtime Environment Version 6 and created JRE_HOME Environment variable. (C:\Program…
![](../../users/profiles/17098.webp)
James Lawruk
- 617
- 2
- 9
- 18
9
votes
4 answers
JVM Memory Consumption
I am trying to run tomcat on a low memory system (150-256Mb). Even though I start the JVM with -Xmx64m (which should be the default anyway), the process immediately takes up 200Mb+.
I wonder why the JVM needs so much memory itself, or if there is a…
![](../../users/profiles/2672.webp)
Draemon
- 517
- 1
- 5
- 15
9
votes
5 answers
How to reliably take Java Heap Dumps?
My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script instead of using the HeapDumpOnOutOfMemoryError flag.…
![](../../users/profiles/22865.webp)
karlcyr
- 153
- 1
- 2
- 8
8
votes
3 answers
Why isn't there a openjdk-8-jdk package on debian anymore?
On a docker container running the latest debian image I'm unable to install the openjdk-8-jdk package. Why not suddenly?
$ apt-get install openjdk-8-jdk
E: Unable to locate package openjdk-8-jdk
Why not, there it is:…
![](../../users/profiles/531392.webp)
shigi
- 139
- 1
- 1
- 5
8
votes
3 answers
Please help interpret OOM-Killer
We were testing our java application and it was killed by the OOM Killer, logs below.
A couple of points: this is a java web application. It runs with a 190G heap. The server is a 240G total memory EC2 instance. We were trying the new,…
![](../../users/profiles/472770.webp)
Taylor
- 211
- 2
- 6
8
votes
3 answers
Java error Unsigned application requesting unrestricted access to system
I want to reboot a server, so I opened its Integreted Dell Remote Access Controller in Chrome, and clicked on "start virtual console", which caused Chrome to download a file with a strange name. The file opened in Java Web Launcher, which (after a…
![](../../users/profiles/429941.webp)
Geek2Sages
- 81
- 1
- 1
- 3
8
votes
1 answer
Good practices regarding discontinued software in production (OpenDS)?
How bad is it to use OpenDS, which is not actively maintained, and had the last patch in 2010, and require JDK6(which is also obsolete) in a production environment?(Although at the backend and not directly exposed to the end-users).
If it's already…
![](../../users/profiles/191854.webp)
Henrik Kjus Alstad
- 263
- 2
- 9
8
votes
1 answer
Testing NTLM/Kerberos against a public URL
I am creating a Java open source package that makes it easy to connect with HttpClient 3.1 to resources that are protected by NTLm v1/v2 and Kerberos.
I need to test this tool against real world servers. Are there any publicly available endpoints…
![](../../users/profiles/220023.webp)
dov.amir
- 190
- 1
- 5
8
votes
1 answer
How can I block Java updates, network-wide?
Java is constantly prompting users to upgrade and, when they do, it tries to install all sorts of other things which we must uninstall. Lately it installs a backup program called Carbonite.
We’ve banned Java unless the user has a specific reason why…
![](../../users/profiles/15092.webp)
Nate
- 2,316
- 4
- 21
- 24
8
votes
1 answer
nginx is running but not serving?
I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at http://192.168.1.5:8080/my-webapp-0.1.0-standalone/.
I configured…
![](../../users/profiles/202594.webp)
Zeynel
- 181
- 1
- 1
- 6