[jbosstools-issues] [JBoss JIRA] (JBDS-2513) Error: Could not create the Java Virtual Machine

Viktor Csomor (JIRA) issues at jboss.org
Fri Aug 21 06:24:27 EDT 2015


    [ https://issues.jboss.org/browse/JBDS-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100562#comment-13100562 ] 

Viktor Csomor commented on JBDS-2513:
-------------------------------------

Of course:
I'm expecting the JBDS using the default java version if {{-vm}} argument not set...
{noformat}
C:\>echo %JAVA_HOME%
c:\Program Files\Java\jdk1.7.0_67

C:\>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
{noformat}
But, if I set the vm argument to {{c:\Program Files\Java\jdk1.7.0_67\bin\javaw}} the problem will occur, only one difference the exit code is the famous 13 not the 1 as shown on the image above.

Here is the version of the 32bit JDK:
{noformat}
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode, sharing)
{noformat}

The JBDS wont start if -vm paramter set in jbdevstudio.ini (tried with four JDK-s).

{panel:title=jbdevstudio.ini}
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20150204-1316
-product
com.jboss.devstudio.core.product
-showsplash
platform\:/base/plugins/com.jboss.devstudio.core
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms512m
-Xmx2048m
-Dosgi.instance.area.default=@user.home/workspace
{panel}

> Error: Could not create the Java Virtual Machine
> ------------------------------------------------
>
>                 Key: JBDS-2513
>                 URL: https://issues.jboss.org/browse/JBDS-2513
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: installer
>         Environment: Windows 7 64-bit, Java 7 32-bit JVM 
>            Reporter: Burr Sutter
>            Assignee: Denis Golovin
>            Priority: Minor
>             Fix For: 7.0.0.Beta2
>
>         Attachments: 2012-11-30_1425.png, 2012-11-30_1425_001.png, Installer_JVM_Settings.png
>
>
> Running the installer with a JRE can create an improper installation.  See screenshots



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list