Could not create the Java Virtual Machine. when deploy Android mobile App

Using Jdeveloper 11.1.2.3.0.... with Mobile App plugin.
I am working on deploying an Andriod mobile app to the emulator and most of the time I get the following....
Deployment failed due to one or more errors returned by 'C:\Temp\adt-bundle-windows-x86\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Once in a great while I get it to work and the app deploys but 90% of the time I get this error.
I do start the emulator up before I even fire up JDeveloper so the emulator is up and running OK when i go to delpoy.
Any suggestions?
Thanks!

Hi.
Usually, this happens when there is no JDK in the PATH system variable. JDeveloper and WLS will work, but some external tools will fail. Can you please ensure that you have a reference to the <tt>bin</tt> subfolder of a Java SE 6 JDK in it? You should get something like this when you execute <tt>java -version</tt> on the command line:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)Best Regards,
Frédéric.

Similar Messages

  • "Could not create the Java virtual machine." when max-heap-size is 926Mb

    We received "Could not create the Java virtual machine." when the max-heap-size provided exceeded 926 Mb in XP PC. We found the below mentioned link which confirms that this is a bug
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6945136
    But the problem is that the issue does not get recreated in all the XP PCs. Increasing the max heap size to greater than 926 works fine in some XP PCs.
    Could there be any configuration related issues for this problem...

    If you can't find any difference in your java versions or overall runtime configurations, it's quite possible that the bug doesn't have the complete picture--it might be more subtle than the conditions described. Maybe it works with certain versions of certain lower level DLLs. Maybe it has some dependency on which services are running. Maybe the order in which certain components got installed put one version of something vs. another further ahead in a CLASSPATH, LD_LIBRARY_PATH, etc. variable.
    Or maybe it's as simple as you're not running the version of Java you think you are on all those boxes, as jschell suggests.
    Regardless of the reason why it happens to work on some configurations, you found that it fails on some, and that failure is in fact a known bug. So it shouldn't surprise you that it fails at least sometimes, and the fact that it works sometimes has been rendered irrelevant. Unless you're doing research into the specific cause of this issue.

  • Unrecognized option: -jrockit Could not create the Java virtual machine.

    Hi All,
    I hv running 64bit Linux RedHat 5 , having Peopletools 8.49.19 installed jdk 1.5. weblogic 9.2 .. Installation of Weblogic and PIA done completely without any error .. but when i m gonna start ( ./startPIA ) it gives an error ..
    Attempting to start WebLogic Server PIA
    No activity will be logged to this window.
    Server activity will be logged to /....../pt849/webserv/peoplesoft/servers/PIA/logs/PIA_*
    PID for WebLogic Server PIA is: 5162
    PIA_stderr.log  report
    Unrecognized option: -jrockit
    Could not create the Java virtual machine.
    can you please guide the solution that can help me to resolve this error ..
    Thanx ..

    Configuring Domains to Use the Latest Version of JRockit
    If you are using the JRockit SDK, after you install an upgrade patch or run an Upgrade installer, Oracle recommends that you upgrade your domains to use the latest production version of the JRockit SDK. Although the latest version of the JRockit SDK is installed by the upgrade patch or upgrade installer, your domains are not automatically configured to use it.
    To configure your domains to use the latest production version of the JRockit SDK, edit the following file:
    For Windows:
    MW_HOME\domain_location\domains\domain_name\bin\setDomainEnv.cmd
    For UNIX:
    MW_HOME/domain_location/domains/domain_name/bin/setDomainEnv.sh
    Replace all occurrences of the existing JRockit version with the latest production version of the JRockit SDK.
    For example, if you are upgrading from WebLogic Server 10.3.2 to WebLogic Server 10.3.3, replace
    jrockit_160_14_R27.6.5-32
    with
    jrockit_160_20_D1.0.1-2119
    You can determine the JRockit SDK version number to use for your WebLogic Server version by looking at the JRockit directory name in MW_HOME. The number to use is identical to the directory name.

  • Start up Error: "Could not create the Java virtual machine"

    I downloaded WebLogic Platform 10.3.0.0 (net_server103_win32.exe) and installed it on my Windows Vista laptop.
    I am unable to start the server.
    From Start menu I selected (WebLogic ServerExamples-->Start Examples Server)
    The following output displayed in the console window:
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\bea\wlserver_10.3\samples\server\examples\build\serverclasses;C:\be
    a\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\be
    a\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\be
    a\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea
    \JROCKI~1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSE
    RV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_1
    0.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1
    .5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\bea\WLSER
    V~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\bea\WLSERV~1.3\common\eval\p
    ointbase\lib\pbclient57.jar;C:\bea\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\bea\patch_wlw1030\profiles\default\native;C:\bea\patch_wls1030\profiles\
    default\native;C:\bea\patch_cie660\profiles\default\native;C:\bea\WLSERV~1.3\ser
    ver\native\win\32;C:\bea\WLSERV~1.3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\
    bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\Windows\system32;C:\Windows;C:\Windo
    ws\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\Program Files\Comm
    on Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLS
    hared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program File
    s\QuickTime\QTSystem\;C:\Program Files\Java\jre1.6.0\bin;C:\groovy\Groovy-1.5.7\
    bin;C:\Sun\SDK\bin;C:\Sun\SDK\jdk\bin;C:\bea\WLSERV~1.3\server\native\win\32\oci
    920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
    ompiled mode)
    Starting WLS with line:
    C:\bea\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Xverify:none -da -Dplat
    form.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=
    C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeD
    ev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patc
    h_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_wls1030\profil
    es\default\sysext_manifest_classpath;C:\bea\patch_cie660\profiles\default\sysext
    manifestclasspath -Dweblogic.Name=examplesServer -Djava.security.policy=C:\bea
    \WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    Could not create the Java virtual machine.
    Stopping PointBase server...
    PointBase server stopped.
    C:\bea\wlserver_10.3\samples\domains\wl_server>
    Does anyone have any suggestions on how to troubleshoot this problem?
    Thank you,
    B. Regan

    I do not know how to modify any startup parameters. I am new to WebLogic and downloaded and installed the server for the first time yesterday. I used all of the defaults for the install. To start the server I am using Windows Start menu like this:
    Start-->All Programs-->Oracle WebLogic-->WebLogic Server 10gR3-->Examples-->Start Examples Server
    A command prompt window opens and the messages I described earlier display in the window.
    These were the messages when I used another command window to call the example server domain's bin\setDomainEnv.cmd script and then execute java -version (as suggested in the earlier post):
    C:\bea\wlserver_10.3\samples\domains\wl_server>java -version
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
    ompiled mode)
    I see now that when I go to
    Start-->All Programs-->Oracle WebLogic-->WebLogic Server 10gR3-->Examples
    that there is an option to "Stop Example Server" When I choose that option another command window opens, a couple of messages scroll by, there's a pause at a "connecting to t3://localhost:7001" then a bunch of message flash by and the command window disappears. So I can't capture the output of that command.
    I tried rebooting my laptop but no change in the behavior.
    There is some good news. I tried starting the Medical Records Server. That command succeeded. I will see what I can learn through using the Medical Records Server and ignore the Examples Server for now.
    Thank you for the suggestions.
    B.Regan

  • Could not create the Java virtual machine

    Hello...
    This is my jdev version 11.1.1.5.0
    When I am running my project i am getting this type of error so what can i do for that
    Here is that error:
    *** Using port 7101 ***
    "C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;C:\Program Files\Java\jdk1.6.0_16;.;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;D:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_16\bin;.;;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Process exited.

    Yesterday when i run that project at that time it successful compile and got output.
    Today morning when i login in my PC and again i run that project once from there i am getting that massage......

  • Error : "Could not create the Java Virtual Machine"

    Hi,
    i am beginner in java. I am doing project making a small embedded linux system to run java app.
    first i install JDK on my host (i686-linux 2.6.16-openSuse 10.1) and JRE on my target (i686-linux 2.4.32), both are version 1-5-. then I try to make the "Hello World!" program ,test it on the host, works fine.
    then i put on my target system, but it didnt work. the error message was:
    There was an error trying to initialize the HPI library
    Please check your installation. Hotspot does not work correctly
    when installed in the JDK 1.2 Linux Production Release, or
    with any JDK 1.1.x release.
    Could not create the Java virtual machine. thanks for any help and suggestion for the newbee

    Maybe this older thread is of help:
    http://forum.java.sun.com/thread.jspa?threadID=643395

  • Unrecognized option: -server  Could not create the Java virtual machine.

    Hi
    I'm running JBoss 4.0 with JDK 1.5.0_12 (or could use 1.2.1 or 1.4.2) but when I try run.bat I get the following error
    Unrecognized option: -server Could not create the Java virtual machine.
    IfI try removing -server I get a different message
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0)
    Hope you can help. Really need to get this going ASAP
    Thanks
    Geri

    Hi all,
    Thanks for responding.
    This is what I get when I did the following:
    $java -version
    java version "1.2.2"
    Solaris VM (build Solaris_JDK_1.2.2_06, native threads, sunwjit)
    $which java
    /usr/bin/java
    The java version was definitely not what I expected as I had installed the Java(TM) 2 Runtime Environment 1.3.1 and no Java hotspot was found even though I had already installed it. Maybe it because I did not install them correctly.
    How do I get rid of the older version and replace it with a newer one?
    I noticed that in later versions of J2SE, Hotspot VM was said to have been incorporated in it. But there are no guides on how to get Hotspot up and running, it will be great if anyone of you can guide me on this or point me to a site that can help me.
    Please bear with me as I am still very new to this. Thanks!

  • Unrecognized option could not create the java virtual machine

    Hi
    I created a project using NetBeans. To run it from command line, i used clean and build.
    Then I entered the pathname as shown in the auto-generated readme file.
    However i get the following error message when trying to run it from command line:
    unrecognized option: -
    could not create the java virtual machine
    what did i do wrong?
    Thanks for your answers!

    solved.. i had a typo -.-

  • Osdm error 'could not create the Java virtual machine.'

    Running on Windows XP. SQL Developer reports Java(TM) Platform=1.5.0_06
    I downloaded and unzipped the osdm early adopter release,but when I double click on the osdm.exe, I get a dialog box titled"Java Virtual Machine Launcher" with the error:
    could not create the Java virtual machine.
    I'm don't know where to begin to troubleshoot this problem.
    Is there a log,trace,error file somewhere?
    Do I need something specific in my path or an environment variable set?

    Thanks Jim, for helping and the support. I'll respond to a few things in this thread for the rest of the forum.
    Feedback
    Let's start with the feedback and support. As Rene said, he is working at answering all queries coming into the feedback application. This means reviewing the issues, working with the developers and logging bugs. Each comment and query in that application is addressed and users can go back in an review the feedback for their own comments in the application too. We have had considerable interest and downloads, about which we are very excited, and this means there are lots of queries. Rene is addressing all these, and as I type, there are no comments in that application that have not been addressed. Not all are closed, as there are some outstanding issues, but each user who has submitted a comment shold have received at least one email.
    The Team
    I'm reluctant to comment about which part of the product is built in which country, but will say that SQL Developer has been a small team, with the greater percentage of developers living outside the US from the outset. I love working in the team including the wide diversity of locales and cultures and also think that because we live across multiple time zones, we can help users most times of the day or night. We are very privileged to have had the modeling team join us and I'm sure you'll get to know them in time too. If you are interested, the team stretches across a few states in the US, Ireland, Northern Ireland,England, Belgium, Bulgaria, India and China!
    Now to the problem. - Java virtual machine
    1. There is a choice of download, either with the JDK or without. If you download the build with the JDK, there should be no problem, as the product knows where to find the jdk. I'm not sure I see which of these 2 downloads was used. So that would be useful information to have.
    2. If you use the build without the JDK, then Data Modeling looking for the detail in your path.(Unlike in SQL Developer where we prompt you) You can test to see what is in your path by starting a command line, or command prompt and typing java -version. This will tell you what version of java is being looked for and used by Data Modeling.
    If you do not have a JDK, then you can download and install that as described on the download page.
    Troubleshooting
    We want to release SQL Developer Data Modeling as a standalone tool (i.e. what you are testing today) or underpinned by a repository. So our main goal is to ensure that we have a solid stable and usable product for production. The plan is to follow production with a much tighter integration to the underlying SQL Developer framework.
    Regards
    Sue

  • JRockit 'could not create the Java virtual machine'

    I installed JRockit (build R28.1.4-7-144370-1.6.0_26-20110617-2130-linux-x86_64) on a server SLES11SP1 (x86_64), but I got the following erros when I tried to run java command:
    /usr/lib64/jrockit-jdk1.6.0_26-R28.1.4-4.0.1/bin # ./java
    [WARN ][codegc ] Could not acquire 64KB of code memory.
    [WARN ][codegc ] 0B committed previously.
    Could not create the Java virtual machine.
    Any idea?

    When you do ./java you usually get some output such as:
    [oracle@edu-wls-rh bin]$ ./java
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -d32          use a 32-bit data model if available
        -d64          use a 64-bit data model if available
        -jrockit      to select the "jrockit" VM
        -client       to select the "client" VM
        -server       to select the "server" VM  [synonym for the "jrockit" VM]
                      The default VM is jrockit.
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A : separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose[:class|gc|jni]
                      enable verbose output
        -version      print product version and exit
        -version:<value>
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -jre-no-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
        -ea[:<packagename>...|:<classname>]
        -enableassertions[:<packagename>...|:<classname>]
                      enable assertions
        -da[:<packagename>...|:<classname>]
        -disableassertions[:<packagename>...|:<classname>]
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
        -agentlib:<libname>[=<options>]
                      load native agent library <libname>, e.g. -agentlib:hprof
                        see also, -agentlib:jdwp=help and -agentlib:hprof=help
        -agentpath:<pathname>[=<options>]
                      load native agent library by full pathname
        -javaagent:<jarpath>[=<options>]
                      load Java programming language agent, see java.lang.instrument
        -splash:<imagepath>
                      show splash screen with specified imageNote the usage, which means have to use something like: ./java -Xms1024m -Xmx1024m -Xgc:throughput package.MyMainClass

  • "Could not create the Java Virtual Machine" while running javaw -p

    Hi All,
    I have installed the JDK in system. After installing when I run javaw -p i am getting below error.
    "Could not create the Java Virtual Machine"?. Can any one please help me?. I tried two or three times?. Due to that I am not able to use tools to write Java Code?
    Please provide your helps.
    Thanks
    Thamayanthi

    Windows XP, I have checked the path variable also, see
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\Program Files\QuickTime\QTSystem\;
    JAVA_HOME = C:\Program Files\Java
    Eclipse : Eclipse with Jboss
    Any other thing I missing?
    Where I can check from where eclipse is taking Java?
    Thanks

  • Could not create the Java virtual machine What happen?

    all,good day!
    i use tomcat7 and JRockit JVM;
    tomcat7 version info:
    Server version: Apache Tomcat/7.0.27
    Server built: Mar 31 2012 03:43:36
    Server number: 7.0.27.0
    OS Name: Linux
    OS Version: 2.6.32-220.el6.x86_64
    Architecture: amd64
    JVM Version: 1.6.0_02-b05
    JVM Vendor: BEA Systems, Inc.
    JRockit JVM version info:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Oracle JRockit(R) (build R28.2.2-7-148152-1.6.0_29-20111221-2104-linux-x86_64, compiled mode)
    in R28 jrdoc ,The -XgcPrio option is deprecated in Oracle JRockit R28. The option works in R28, but Oracle recommends that you use -Xgc instead. For more information, see -Xgc;
    in -Xgc option info lists the garbage collection modes that i can specify with the -Xgc option. pausetime mode in which the option;
    but,but,i use -Xgc:pausetime in my tomcat7;tomcat startup error:
    The configuration of the JVM attributes in Tomcat in catalina.sh
    export JAVA_OPTS="-server -Xms25G -Xmx25G -XgcPrio:pausetime -XpauseTarget=200"
    the error info:
    [ERROR] Argument error: -Xgc:pausetime
    [ERROR] pausetime is not a valid garbage collector name for -Xgc.
    Valid options are: singlecon, gencon, genpar or parallel (singlepar).
    [WARN ] No unit entered for pause time target, assuming ms.
    Could not create the Java virtual machine.
    what's wrong in my configuration ?
    Edited by: 944618 on 2012-7-5 上午4:26

    I would add the jvm flag -showversion next to the -Xgc:pausetime flag, so you will see which JVM you're actually running.
    Also, the following part of your post is a bit inconsistent, which jvm flag are you actally using?
    "but,but,i use -Xgc:pausetime in my tomcat7;tomcat startup error:
    The configuration of the JVM attributes in Tomcat in catalina.sh
    export JAVA_OPTS="-server -Xms25G -Xmx25G -XgcPrio:pausetime -XpauseTarget=200"
    the error info:
    [ERROR] Argument error: -Xgc:pausetime"
    The error output you posted looks like the error you would get from a R27 version of JRockit.

  • Agent Process Throws Error  - Could not create the Java virtual machine

    We are trying to run a WAN test but the server which hosts required SW is kind of older version
    OATS controller version installed is 9.3
    Agent version same 9.3 v27628
    Java version its showing for 9.3 is - 6.0_24
    I got this error message on Agent machine
    Your CPU does not support the SSE2 instruction set required to run JRockit.
    INFO | jvm 5 | 2011/11/11 10:44:11 | Could not create the Java virtual machine.
    ERROR | wrapper | 2011/11/11 10:44:11 | JVM exited while loading the application.
    FATAL | wrapper | 2011/11/11 10:44:11 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
    FATAL | wrapper | 2011/11/11 10:44:11 | There may be a configuration problem: please check the logs.
    STATUS | wrapper | 2011/11/11 10:44:11 | <-- Wrapper Stopped
    The Agent machine details are
    Intel Pentium III
    1.4Ghz , 2.00GB RAM
    Windows server 2003
    Can you please tell me if this server is not compatible for running version 9.3.
    Or let me know what other problem you see.. I will check the user guide to check compatibility too.
    Thanks for looking.

    Where do i change the path.. i change it in config file in anget manager folder.
    then Agent process started working.. but as we try to test it its still pointing to JRockit thing
    can u please tell me where should we set the path.. only in config file or there are env entires too?
    Thanks

  • Could not create the Java virtual machine error during installation

    Hi,
    We are doing an ERP 2005 Installation on AIX 5.2 ML08 with DB2 as the
    database.During "Import ABAP" Phase of the installation we are getting
    the below error.
    ========================================================================ERROR 2007-03-12 13:35:30
    CJS-30022 Program 'Migration Monitor' exits with error code 1. For
    details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2007-03-12 13:35:30
    FCO-00011 The step runMigrationMonitor with step key
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was
    executed with status ERROR .
    ========================================================================
    In "import_monitor.java.log" below entries are there
    Unrecognized option: -Xj9
    JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
    Could not create the Java virtual machine.
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-jar] [-options] jarfile [args...]
    (to execute a jar file)
    Java Version is as below
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3)
    (JIT enabled: jitc))
    Regards,
    Sumi

    Hi all,
    I just checked the note 716927 again - it refers to note 1024539.
    That one says you should use SR7 and activate J9 technology
    so make sure you have the java version
    "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build
    caix64142ifx-20061222 (ifix 113727: SR7 + 112603)"
    and that the environment variable
    IBM_JAVA_OPTIONS=-Xj9
    is set for user <sid>adm
    After the installation, make sure that the JVM parameters are set as described in the note 1024539.
    By the way: it doesn't work if you use any other Java SDK (e.g. from Sun), as AIX has it's own one.
    Best regards,
    Cornelia

  • Exception  Could not create the Java virtual machine

    Hello All,
    OS: AIX 5.3 IBM
    DB: 10g
    Using putty to connect to the server.
    xclock is running.
    ORACLE_HOME & SID are set.
    oracle:>java -version
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411ifx-20040810 (141SR3) (JIT enabled: jitc))
    oracle:>echo $PATH
    /usr/bin:/etc:/usr/sbin:/usr/ucb/:/u08/ora10g/sid/db/bin:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:.
    I am trying to create dbconsole as below:
    Pwd
    oracle:>pwd
    /ORACLE_HOME/bin
    oracle:>./emca
    Exception Could not create the Java virtual machine.
    DN

    for example.
    setenv JAVAHOME /usr/local/redhat/packages/usr.local/java/jdk1.4.0_01

Maybe you are looking for

  • How to create a callback function module

    Hi all, I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_ I created a sample function module and try to create entries in

  • Certificate and Webservices

    Hi. I'm tring to use UTL_DBWS package to comunicate with a webservice but when I execute my function I get this error: javax.net.ssl.SSLHandshakeException.    : sun.security.validator.ValidatorException: No trusted certificate found I believe this ha

  • Import/Export from Excel ?

    Many revisions of Nokia PC Suite ago, using my PC I used to be able to import my phones address book to a .CSV file...open it in Excel....tidy it up neatly using Excel....save it as a .CSV file...and then export it back to my phone. I've been without

  • Blending Mode: Hue; any suggestions where this option is located?

    Following a tutorial on youtube a technique is mentioned to use to one color into another; Blending Mode: Hue. Does anyone know where this option is located in Photoshop Elements 6.0?

  • Protecting J2ee source code

    hi How I can protect my source code from a decompilation in a J2ee environment. I search a effective means for protecting the source code, and that is not a handicap in term of performances. I must to crypted the source code or to use an obfuscator (