Java Development Kit

learn more… | top users | synonyms

7
votes
1answer
2k views

Tomcat Excessive Memory Consumption

I have a fresh server running Ubuntu 11.04 (Natty) (64-bit). I started off by installing openjdk and tomcat6. When the Tomcat server starts up, it immediately uses 480+ MB of memory. This seems way ...
6
votes
1answer
116 views

JDK configuration for ActivePivot

We are currently running the latest 4.3.2 release of ActivePivot, the in-memory real-time OLAP engine, on our servers. ActivePivot being a Java software, it is deployed in Tomcat 7 running the latest ...
5
votes
4answers
2k views

apt-get problem and hang. DPKG was interrupted error afterwards

When I attempt to install a package on my ubuntu(10.10) server on amazon ec2 with update-alternatives" for the JRE, apt-get doesn't respond anymore. I've been waiting now for 20 minutes on this hang ...
5
votes
4answers
5k views

How can I install a headless JDK on an Ubuntu Jaunty server?

I recently set up a build server that requires a JDK to run (for example, to compile the Java sources). The OpenJDK package in Ubuntu pulls in the OpenJDK JRE as a dependency which, in turn, depends ...
4
votes
3answers
5k views

Cannot install jdk 1.5 on Ubuntu 12.04

I have installed Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-23-generic x86_64). Some info about the machine: $ grep --color "model name" /proc/cpuinfo model name : Intel(R) Xeon(R) CPU E5430 @ ...
3
votes
1answer
2k views

Java hangin and crashing on centos 6

I'm having problems with running java programs on my VPS. symptoms: Starts and runs for a bit and then just hangs there without any cpu use. Usually has different amounts of memory allocated. Shows ...
3
votes
4answers
3k views

Unable to find javac after installing OpenJDK 1.6 and 1.7

I am currently at a loss as to why this is happening. I did some basic research by running: whereis javac -and- find / -name javac ...and I came up with nothing I searched the web for answers but ...
2
votes
2answers
518 views

How can I avoid press “Enter” during Java Sun (Oracle) 1.6 installation on Linux (CentOS)

It is quite easy to install java sun jdk 1.6.x using xxx.rpm.bin installer from java.com, but it forces you to press "Enter" for the license agreement during installation. This is a problem for me as ...
2
votes
2answers
3k views

unable to install sun jdk on ubuntu

I have Ubuntu 12.04 x64 and I'm trying to install sun jdk for opennms. sudo apt-get install sun-java6-jdk when i run above given command i get following msg: root@fido:~# sudo apt-get install ...
2
votes
3answers
3k views

JDK install - no matching plugin

I'm trying to install JDK on my remote Debian box. I've been following the directions at this page. Problem is, the make-jpkg fails. Here's the output I get (plus the version of java-package I'm ...
2
votes
2answers
13k views

How do you install a JDK6 on Solaris10 sparc 64bits?

The installation steps of a JDK6 for: Solaris 32 bits Solaris 64 bits are quite straightforward but: are in two separate documents do not deal with local zone (container) installation do not ...
2
votes
2answers
1k views

How to find the version of JSSE used in a specific JDK version?

I'm running jdk 1.6.0_24 in a custom linux OS based system. I've received questions from a client's auditor around the version of SSL is on GUI and what is driving it in the backend. I know that ...
2
votes
1answer
262 views

RSS feed/email list to be notified about java updates

I'm doing upgrades of JDK on our servers regularly. But because Oracle JDK installed via custom packages (not via package manager) I need way to be notified about updates. Are there way to be ...
2
votes
1answer
547 views

Chef Java Cookbook - JDK Upgrades

I am testing the Chef Java Cookbook to bring our JDK installations under Chef management and I am wondering how to upgrade the JDK, once installed, using the Chef Java cookbook. Background In order ...
2
votes
1answer
1k views

JBoss 5.1.0 on JDK 1.6 - do I need to tweak the configuration to get it to work?

I am in the process of installing JBoss 5.1.0 on machines running JDK 1.6.0u21. In the 5.1.0 release notes there is the following paragraph in the section titled "Compatibility Issues from 5.0.0.GA": ...
2
votes
2answers
487 views

RPM with RHEL: install 2 version of same package / different arch

I think the title is pretty self explanatory :) Is it possible, under RHEL (v 5) to install 2 instances of the same packages with 32 bit support for one and 64 bits support for the other one? ...
1
vote
3answers
2k views

Can't upgrade my Ubuntu server, it gets stuck on openjdk-6-jre-headless

I am using Ubuntu Server. When I do: apt-get upgrade it gets stuck on: Setting up openjdk-6-jre-headless (6b20-1.9.7-0ubuntu1) ... Why? And what can I do to stop it? I tried removing it with ...
1
vote
1answer
927 views

Setting PATH environment variable not working in Fedora 17

I'm pretty new to Apache Tomcat and somewhat new to Linux altogether. I am trying to install the JDK, which is a prereq for Apache Tomcat. I downloaded and untarred the JDK to /usr/java and now I'm ...
1
vote
2answers
4k views

Installing JDK 1.7 on CentOS

I'm trying to install JDK 1.7 on CentOS on my server. I've downloaded java_ee_sdk-6u3-jdk7-linux-x64.sh from Oracle website. Looks like it requires graphic interface, which I don't have on remote ...
1
vote
4answers
2k views

Tomcat VIRT memory usage

Yesterday I posted this question: Tomcat Excessive Memory Consumption The thread was getting too long and detailed for anyone to continue helping. So now I am asking a more specific question. When I ...
1
vote
4answers
357 views

Download JDK onto a remote server

I want to get the latest JDK onto a server in a remote location. Downloading the JDK from Sun's website requires jumping through all kinds of hoops until you actually get the file. I'm not sure ...
1
vote
1answer
189 views

Copy sparcv9 directory contents? JDK 7 install on Solaris 10

I have installed JDK 7 from archive on a Solaris 10 machine. /usr/jdk/instances/jdk1.7.0_25 Executing ./bin/sparcv9/java executes well. I've attempted to copy ./bin/sparcv9/* to ./bin. That is how ...
1
vote
1answer
3k views

Migrating JBoss 5.1.0 to JDK 7 - gives SOAP jaxb error

we are working on a big project and we're in process of migrating the JBoss installation to use JDK7, currently it's using JDK6 and all works fine, but we need to use JDK7, but we cannot use JBOSS 6 ...
1
vote
1answer
481 views

What version of JBoss Enterprise Edition supports JDK7?

I need to determine what version, if any, of JBoss Enterprise Edition supports JDK7. It is unclear from the RedHat documentation and forums if there is currently any support for JDK7. I do believe ...
1
vote
1answer
70 views

Upgrading Live Server's Environment

I've been tasked with adding several features to an existing site. I've taken a look at the current configuration: Tomcat 5.0 standalone with JDK 1.4, and a DB server on the same machine. Should I, ...
1
vote
0answers
222 views

Oracle's JDK RPM doesn't provide “java”

I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance. The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following: # rpm -q jdk ...
1
vote
1answer
488 views

JVM crash with segmentation fault

We have a cluster of tomcat servers, just upgraded to debian7/openjdk7/tomcat7 (all from stock debian). Now we had two JVM crash on different machines. Both servers having identical hardware and are ...
1
vote
1answer
242 views

Java process failure (hadoop, hbase)

Anytime I am running hadoop/hbase process from a command prompt I get an error: /usr/local/hadoop/bin/hadoop: line 320: /usr/lib/jvm/jdk1.7.0/bin/java: cannot execute binary file ...
1
vote
1answer
175 views

Tomcat OutOfMemory after switching JVM

I have a Tomcat6 server running on Debian squeeze there are 4 webapps running on it, and an in-JVM ActiveMQ server. It has been running for about a year with the same memorysettings, with openjdk-6. ...
1
vote
0answers
35 views

Does redhat have any jdk configuration tools?

Red Hat seems like a very inconvenient environment for java. On other distributions like debian and gentoo there have been system wide config tool for many years. On red hat there's seems to be ...
0
votes
7answers
2k views

How do I download a file via the Linux command line

I'm normally a windows user and I am currently using PuTTY to connect to a headless linux box that is running Fedora 8. I need to download the latest JDK and install it but I have to do it using the ...
0
votes
3answers
3k views

JDK not found on CentOS 6 x64

I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error : org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK ...
0
votes
2answers
1k views

find the path of jdk and set JAVAHOME

I've got java installed on my Ubuntu VirtualBox, and I am trying to run sunspot, but sunspot can't find java. typing 'java' from the command line return The program 'java' can be found in the ...
0
votes
3answers
1k views

Problems getting JPackage to see Sun JVM on CentOS5

I'm looking to get Tomcat6 on CentOS 5 in an entirely RPM-based way. JPackage seems to be a great option for this, so I've added the repo and now I'm trying to get it to work. The instructions say to ...
0
votes
1answer
237 views

Puppet Packages in one go but without a repository

I am trying to get puppet going for a couple of VMs, my intention is to install jdk6 and tomcat 6 using puppet but i cannot use yum as the machines are not connected to the internet, if it was a ...
0
votes
2answers
1k views

Error in invoking javac - Debian Squeeze

I am trying to solve this issue: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required We have a third-party Java app that uses a Jetty server but looks like either the ...
0
votes
2answers
3k views

How do I install javac (JSDK) on Scientific Linux, 64Bit

I am trying to finds a way to install the Java SDK (javac) on Scientific Linux 64bit with yum or anyway.. Can someone please tell me the best what to do this so I can use maven for my builds etc
0
votes
1answer
149 views

Cannot make Java Package on an OpenVZ container

I'm trying to install Sun's Java SDK 7 by following the Debian Wiki instructions using java-package. But it won't work on an OpenVZ proxmox container. I'm running Debian Wheezy 7.0-2 64bit on all my ...
0
votes
1answer
5k views

Java “Could not reserve enough space for object heap” but lots of RAM free

I have a problem running Java applications on a server. root@dobby [/opt]# jdk1.7.0_09/jre/bin/java -version Error occurred during initialization of VM Could not reserve enough space for object heap ...
0
votes
2answers
122 views

Linux - Software I'm installing needs to know path to JDK installation

I'm trying to install this Python library (works with Java) and the read me file says to tell it the path to my JDK installation. Any ideas how I would find this? What is it asking for, a directory? ...
0
votes
1answer
24 views

“Raw” Packages of Oracle JDK for Linux

Is there any public source of zipped JDKs for Linux (64bit) that can be downloaded and used more easily than the original installers or the PPA? Currently we create them ourselves manually, but that ...
0
votes
1answer
677 views

Installing JDK on Amazon linux box gives error: open of <html> failed: No such file or directory

I just got a new amazon linux box and I'm trying to install jdk on it. These are the commands i followed but I am getting an error: $ java -version java version "1.6.0_24" OpenJDK Runtime Environment ...
0
votes
1answer
1k views

Provisioning Oracle's JDK into VirtualBox using Puppet and Vagrant

I am trying to install Oracle's jdk with Vagrant/Puppet. Here is the relevant portion of my Vagrant file: config.vm.provision :puppet, :module_path => "puppet/modules" do |puppet| ...
0
votes
1answer
283 views

puppet - missing openjdk-6-jdk

I am trying to run a script with puppet. I have absolutely no idea about how puppet works When I run the following command: facter_user=nbui facter_group=staff puppet apply ...
0
votes
4answers
3k views

Tomcat 7: “Cannot locate Java Home”

Arch Linux. Servlet apparently had compatibility problems with openjdk so I uninstalled it and installed the plain jdk/jre from AUR. # /etc/rc.d/tomcat7 restart :: Stopping tomcat7 daemon [FAIL] :: ...
0
votes
1answer
618 views

Fresh install java -version displays nothing

I'm attempting to rebuild a legacy application environment. The specs are Windows Server 2003 SP2 Java SDK 1.3.1_15 Macromedia JRun4 I've installed the Java SDK however whilst attempting to ...
0
votes
3answers
5k views

How can I install Sun Java JDK 6 on Debian?

If I try to install Sun Java JDK 6 on Debian, it doesn't install it. I don't want to install OpenJDK, because it doesn't work always exactly same as Sun JDK. I use following command: apt-get install ...
0
votes
1answer
170 views

Where do I find the Java command line tool “Gdb”?

Where do I find the Java command line tool "Gdb" ? It's not included in my Sun JDK 1.6 distribution. I need a way to take a java core dump from a live java instance.
0
votes
1answer
129 views

Install Apache Derby on CentOS 6.4

I'm not a Java developer, my knowledge is very limited to this topic. I want to deploy a .war webservice on my Tomcat server, which fails most likely because of its Derby dependency (just a guess from ...
0
votes
1answer
335 views

Error installing Oracle-Java6

I'm attempting to install Oracle-Java6 on my VPS, running ubuntu-10.04 for the purpose of running Openmeetings. I installed the ppa webupd8team/java, updated and ran sudo apt-get install ...