Results 1 to 5 of 5

Thread: STS Installation Failed

  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Default STS Installation Failed

    Here is my system info:
    Windows 7, 64 bit
    Java 6 update 29 x86 (32 bit)
    Target path: C:\springsource
    JDK path: C:\Program Files (x86)\Java\jdk1.6.0_29

    I installed using the STS installer under Eclipse 3.7.1 recommended for Windows 64-bit, Java 32-bit:
    springsource-tool-suite-2.8.0.RELEASE-e3.7.1-win32-installer.exe

    After installation, when I tried to run STS, it outputs the error "Could not create the Java virtual machine".

    Thanks for any help

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hi!

    Installing STS to a Windows machine running a 32bit JDK should work as long as you install the Windows 32bit version of STS (which you did). I guess you selected the 32bit JDK when the installer asked for JDK, right? To what JDK is your JAVA_HOME pointing to? And what JDK is used when you just type "java -version" on the command line? Maybe it is somehow choosing the wrong JDK. Oh, and btw: What exactly do you mean with "using the STS installer UNDER ECLIPSE 3.7.1"?

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #3
    Join Date
    Oct 2011
    Posts
    2

    Default

    Hi Martin,

    My JAVA_HOME is pointing to C:\Program Files (x86)\Java\jdk1.6.0_29\bin and the command "java -version" outputs:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    ...

    "using the STS installer UNDER ECLIPSE 3.7.1" means that from the download page http://www.springsource.com/downloads/sts I downloaded the file listed under Eclipse 3.7.1 which was springsource-tool-suite-2.8.0.RELEASE-e3.7.1-win32-installer.exe, as instructed from the installation instructions http://download.springsource.com/rel...structions.pdf

    The error output I am getting from trying to run STS contains:
    -Dosgi.requiredJavaVersion=1.5
    -C:\springsource\...\plugins\...\eclipse_1406.dll
    -exitdata b34_7a8

    Is this helpful?

    Thanks,
    -H

  4. #4
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    I tried this myself, running a 64bit Windows 7 system, having JDK 1.6.0_30 installed (32bit version) and installed the 32bit Windows version of STS. I selected that JDK from within the installer and STS was able to startup just fine after that, using the 32bit JDK. Did you try a 64bit JDK and the 64bit Windows version of STS as well?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #5
    Join Date
    Dec 2011
    Posts
    7

    Default

    Quote Originally Posted by hdu View Post
    Hi Martin,

    My JAVA_HOME is pointing to C:\Program Files (x86)\Java\jdk1.6.0_29\bin and the command "java -version" outputs:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    ...

    "using the STS installer UNDER ECLIPSE 3.7.1" means that from the download page http://www.springsource.com/downloads/sts I downloaded the file listed under Eclipse 3.7.1 which was springsource-tool-suite-2.8.0.RELEASE-e3.7.1-win32-installer.exe, as instructed from the installation instructions http://download.springsource.com/rel...structions.pdf

    The error output I am getting from trying to run STS contains:
    -Dosgi.requiredJavaVersion=1.5
    -C:\springsource\...\plugins\...\eclipse_1406.dll
    -exitdata b34_7a8

    Is this helpful?

    Thanks,
    -H

    Thank you for the clarification

Posting Permissions

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