Results 1 to 4 of 4

Thread: can't start java virtual machine on opensuse 11.2

  1. #1
    batozai NNTP User

    Default can't start java virtual machine on opensuse 11.2

    i've downloaded java jdk-6u17-linux-i586.bin
    i installed it manually with konsole...
    all process run fine....
    at the end of instalation i tried to check the java version with this command

    #java -version

    and i get this error message :

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.


    can somebody pls help me...
    i wanted to install netbeans..but i can't because the jvm doesn't start...

    thanks in advanced.....

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: can't start java virtual machine on opensuse 11.2

    Quote Originally Posted by batozai View Post
    i've downloaded java jdk-6u17-linux-i586.bin
    i installed it manually with konsole...
    all process run fine....
    at the end of instalation i tried to check the java version with this command

    #java -version

    and i get this error message :

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.


    can somebody pls help me...
    i wanted to install netbeans..but i can't because the jvm doesn't start...

    thanks in advanced.....
    I moved this thread to Applications. It was in the wrong forum location before. Hopefully here it will fair better.

  3. #3
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: can't start java virtual machine on opensuse 11.2

    Looks like you messed up something seriously.
    The bin file from Sun's site installs in a directory and it doesn't set up anything else for you. So, if you want to use it, you need to adjust your PATH settings and JAVA_HOME/JDK_HOME.

    Instead, you may install JDK using the Yast/zypper as follows:
    Code:
    su
    zypper install java-1_6_0-sun-devel
    update-alternative --config javac
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  4. #4
    palladium NNTP User

    Default Re: can't start java virtual machine on opensuse 11.2

    syampillai wrote:
    > if you want to use it, you need to adjust
    > your PATH settings and JAVA_HOME/JDK_HOME.
    >
    > Instead, you may install JDK using the Yast/zypper


    my 2 cents: do NOT adjust paths or anything else with that java.bin
    install..

    if you can figure out how to DELETE all that from your universe, you
    should..

    if you can't just *leave* it for now...and instal correctly
    (by using YaST or Zypper the correct Sun Java for your distribution
    from the normal openSUSE repo) and most likely all will be well (two
    or more Javas may exist happily in Linux--you can delete the unwanted
    one when you learn how)..

    to learn the correct way to install stuff into this distro, see
    http://en.opensuse.org/Concepts
    http://en.opensuse.org/Yast

    and, broader info resources in one of my previous post:
    http://tinyurl.com/ybklh48

    --
    palladium

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •