Hi all
For a test I've just installed:
java-1_7_0-icedtea
on my opensuse11 box.
"java -version" command crashes with an error. In order to work, I
must use the -Xmx option, also with 1m:
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_openSuSE_...
and Michal Vyskocil for sharing this workaround.
Ciao
Roberto
On Mon, May 5, 2008 at 11:32 AM, Michal Vyskocil
On Saturday 03 May 2008 23:16:31 Kirill Kirillov wrote:
Hi!
I want to install openjdk on openSUSE 10.3. What is the recommended way to achieve this?
Thanks in advance.
Kirill.
Hi,
the current available packages are in Factory only. You should use a zypper
# add a Factory zypper ar http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ Factory-OSS
# refresh it zypper ref
# install a new rpm from Factory, to avoid ``bad magic'' error zypper in -r Factory-OSS rpm
# install of openjdk zypper in java-1_6_0-openjdk
# disable a Factory repo, because we want to have a 10.3, not a Factory :) zypper mr -d FFactory-OSS
# run - withouth -Xmx256m the jvm fails on a # ``Could not reserve enough space for object heap'' # error on my 10.3 system running in VirtualBox java -Xmx256m -version java version "1.6.0" IcedTea Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode)
MV -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-java+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-java+help@opensuse.org