Tag Info

New answers tagged

2

In our case it helped to constrain the heap size that the VM tries to reserve on startup. For example on the command line: export _JAVA_OPTIONS='-Xms64M -Xmx128m' or for Tomcat in [TOMCAT_HOME]/bin/setenv.sh #!/bin/sh JAVA_OPTS="-Xms64M -Xmx256M" (Note the extra leading underscore on the command line.) The explanation of our provider is: ...


2

I feel lucky in stumbling across this solution, but wanted to post it up in case anyone else runs across this issue in installing legacy software. Assuming the install anywhere script is called Install.bin # cp Install.bin Install.bak # cat Install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Install.bin # rm Install.bak This ...


1

You know how to set the variable in a shell, but for the record you can write: export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' and all programs you start from this shell session after that will have the variable set. If you want it to be set for every shell you start afterwards, add that line to ~/.profile as well. In that case it will apply to ...


1

Your swap area is highly undersized. A large part of the RAM reported to be free is in fact currently unusable because it serves as a backing store to other programs memory reservations. Just add some swap, it can be a simple file, and you'll be able to launch your JVM.


1

You can have available RAM but still run out of swap. I believe this could be what you are experiencing. Investigate with swap -s. As a second idea the problem may be due to the fact that there isn't enough contiguous memory available although it would seem fairly odd if the OS cannot find 10 GB contiguous free memory when there seems to >100 GB free.


0

Try with the following instead: java -Xms512m -Xmx512m -d64 HelloWorldApp or java -Xms1024m -Xmx1024m -d64 HelloWorldApp May also be because it is too high.


2

Take a backup first. Run: # cd <directory where new RPM is located> # yum install java-1.6.0-openjdk-1.6.0.0-5.1.13.3.el6_5.rpm If things don't go well and the previous version's RPM is available to the system, you can roll back with: # yum history undo last If it's not on the system, you can downgrade by re-installing the previous version ...


0

I had similar problem and it was caused by a plugin that I installed in Intellij. It is weird but that seemed to be the case. I manually uninstalled each Intellij plugin and discovered that "Key Promoter" was causing this. Try to uninstall that plugin and see if that helps.


7

which 2 commands? /usr/bin/java is a soft (symbolic) link to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java There is no difference as they are the same file. If you type something like ls -l /usr/bin/java You might get a result such as: lrwxrwxrwx. 1 root root 22 Aug 5 17:01 /usr/bin/java -> /etc/alternatives/java Which would mean ...


3

readlink -f will: canonicalize a path by following every symlink in every component of the given name recursively; all but the last component must exist which will search: for an executable or script in the directories listed in the environment variable PATH using the same algorithm as bash(1) which doesn't care whether what it finds is a ...


1

IMHO, you forgot to install a 32-bit Firefox! You cannot run a 32-bit java plugin inside a 64-bit Firefox.


1

After re-installation of OS before applying any specific configuration I was able to start oc4j service. After narrowing it down to which configuration was exactly causing this not to start was came out to be Ethernet bonding. I had a kickstart script which was also doing bonding. The ifcfg-ethx also contains lot of details such UUID and things that would ...



Top 50 recent answers are included