Java Development Kit

learn more… | top users | synonyms

-2
votes
0answers
18 views

Java “Could not create the Java Virtual Machine” [on hold]

root@server [/opt/red5]# java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal ...
0
votes
1answer
28 views

Tomcat 8 fails to start Catalina on MacBook Pro localhost:8080 [on hold]

Installed Tomcat 8 (Users/$HOME/tomcat with a symlink from /Library/Tomcat) on MBP 10.9 running JDK 1.8. Tomcat starts but returns 404 on loading localhost:8080 when it should be the Catalina UI. ...
0
votes
3answers
56 views

How to update OpenJDK on RHEL

I need to update OpenJDK for one of the company servers (RHEL 6). It is currently running OpenJDK 1.7.0_09 but I need to upgrade to OpenJDK 1.7.0_45 I read some tutorials but they seem to use yum ...
0
votes
1answer
91 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 ...
1
vote
0answers
180 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 ...
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 ...
2
votes
0answers
219 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 ...
1
vote
1answer
375 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 ...
0
votes
1answer
532 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
305 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 ...
0
votes
1answer
130 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
74 views

How to set multiple paths with update-alternatives

For example, the following command install java to /usr/bin/java update-alternatives --install /usr/bin/java java /opt/java7/bin/java 1 && update-alternatives --set java /opt/java7/bin/java ...
2
votes
1answer
490 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 ...
0
votes
1answer
342 views

Application Server Slowing down in responding at regular interval

We have developed a product in JAVA using SQL Server 2008 R2 as database, Hibernate 3.0 as database framework and GWT 2.4 as front end. We are using JBoss as our application server. We deploy ...
1
vote
1answer
161 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 ...
0
votes
1answer
215 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 ...
1
vote
1answer
844 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 ...
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 ...
-2
votes
2answers
2k views

OpenJDK installed but libjli.so not found centos 6 [closed]

I've installed openjdk-1.7.0-devel in my centos box, however, everytime I run java --version, I get: java: error while loading shared libraries: libjli.so: cannot open shared object file: No such ...
2
votes
2answers
437 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? ...
0
votes
2answers
2k 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
4k 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 ...
1
vote
1answer
2k 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
227 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 ...
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 ...
1
vote
1answer
171 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. ...
4
votes
3answers
4k 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 @ ...
6
votes
1answer
111 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 ...
1
vote
1answer
413 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
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 ...
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 ...
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 ...
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
1answer
261 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 ...
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 ...
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
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] :: ...
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, ...
0
votes
1answer
560 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 ...
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 ...
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 ...
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 ...
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": ...
0
votes
1answer
733 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
1
vote
3answers
1k 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 ...
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
2answers
120 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? ...
2
votes
2answers
501 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 ...
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.