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
On Saturday 02 August 2008 13:19:57 you wrote:
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:
Works for me $ /usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24/jre/bin/java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b24) IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode) $ rpm -q java-1_7_0-icedtea java-1_7_0-icedtea-1.5_b24-9.2
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Don't know. Please fill a bug into bugzilla with the error message.
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_op enSuSE_10.3 and Michal Vyskocil for sharing this workaround.
BTW: use rather a java-1_6_0-openjdk, it's more mature and stable than icedtea. Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-java+help@opensuse.org
This is my same version:
java-1_7_0-icedtea
on a 32bit machine.
I tried also openjdk (java-1_6_0-openjdk) but I got the same error.
I think I'll open a bug (maybe I've a dirty environment).
Ciao
Roberto
On 8/4/08, Michal Vyskocil
On Saturday 02 August 2008 13:19:57 you wrote:
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:
Works for me
$ /usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24/jre/bin/java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b24) IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode)
$ rpm -q java-1_7_0-icedtea java-1_7_0-icedtea-1.5_b24-9.2
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Don't know. Please fill a bug into bugzilla with the error message.
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_op enSuSE_10.3 and Michal Vyskocil for sharing this workaround.
BTW: use rather a java-1_6_0-openjdk, it's more mature and stable than icedtea.
Regards Michal Vyskocil
-- 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
Open the bug:
https://bugzilla.novell.com/show_bug.cgi?id=414462
For test I used the openjdk 1.6.
Ciao
Roberto
On Mon, Aug 4, 2008 at 11:24 AM, Michal Vyskocil
On Saturday 02 August 2008 13:19:57 you wrote:
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:
Works for me
$ /usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24/jre/bin/java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b24) IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode)
$ rpm -q java-1_7_0-icedtea java-1_7_0-icedtea-1.5_b24-9.2
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Don't know. Please fill a bug into bugzilla with the error message.
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_op enSuSE_10.3 and Michal Vyskocil for sharing this workaround.
BTW: use rather a java-1_6_0-openjdk, it's more mature and stable than icedtea.
Regards Michal Vyskocil
-- 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
Hi
Where could I find the java source code from whom you compiled the
RPMs in repositories? In the buildservice? Which project?
My suspect is that the default Xmx size is greater than my free
available ram + swap (380 mega in this moment).
Ciao
Roberto
On Mon, Aug 4, 2008 at 11:24 AM, Michal Vyskocil
On Saturday 02 August 2008 13:19:57 you wrote:
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:
Works for me
$ /usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24/jre/bin/java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b24) IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode)
$ rpm -q java-1_7_0-icedtea java-1_7_0-icedtea-1.5_b24-9.2
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Don't know. Please fill a bug into bugzilla with the error message.
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_op enSuSE_10.3 and Michal Vyskocil for sharing this workaround.
BTW: use rather a java-1_6_0-openjdk, it's more mature and stable than icedtea.
Regards Michal Vyskocil
-- 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
In the while, I downloaded from:
https://api.opensuse.org/build/openSUSE:Factory/standard/i586/java-1_6_0-ope...
the last factory java version.
If I'm not wrong, the Xmx setting is done into the file:
openjdk-6-src-b09-11_apr_2008-fedora/openjdk/jdk/make/docs/Makefile
Therefore the default size should be:
MAX_VM_MEMORY = 512
That default value makes the process crash on my PC, which has 512 mb
of RAM (java -Xmx512m -version crashes, too).
I think the SUN default value was 384 - see:
https://jdk-jrl-sources.dev.java.net/source/browse/jdk-jrl-sources/jdk6u3/tr...
In my PC, I can run successfully:
java -Xmx384m -version
If this discussion of default value was correct, we could close the
bug, however that would also mean that default openjdk / icedtea RPM
versions will not work out of the box (without patches) on PCs with
scarce RAM like mine.
Ciao
Roberto Mannai
On Fri, Aug 8, 2008 at 11:58 PM, Roberto Mannai
Hi Where could I find the java source code from whom you compiled the RPMs in repositories? In the buildservice? Which project?
My suspect is that the default Xmx size is greater than my free available ram + swap (380 mega in this moment).
Ciao Roberto
On Mon, Aug 4, 2008 at 11:24 AM, Michal Vyskocil
wrote: On Saturday 02 August 2008 13:19:57 you wrote:
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:
Works for me
$ /usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24/jre/bin/java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b24) IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode)
$ rpm -q java-1_7_0-icedtea java-1_7_0-icedtea-1.5_b24-9.2
java -Xmx1m -version
Any reason for it? Is it a workaround? In factory is it fixed?
Don't know. Please fill a bug into bugzilla with the error message.
Thanks to http://en.opensuse.org/Java/How_To_use_Java_with_Firefox_on_64-bit_op enSuSE_10.3 and Michal Vyskocil for sharing this workaround.
BTW: use rather a java-1_6_0-openjdk, it's more mature and stable than icedtea.
Regards Michal Vyskocil
-- 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
participants (2)
-
Michal Vyskocil
-
Roberto Mannai