Creating a Linux virtual machine on dynamic vhdx file creates huge file on formating

Hello,
we just created a virtual machine on Windows Server 2012 R2 on a dynamic vhdx file.
When the operating system (Redhat 5) formats the filesystem (100GB of size), then the vhdx file expands to 21 GB, although no data is written to the disk.
Did someone experience a similar issue? And how to avoid such space waste. If we write additional data in the virtual machine, then the vhdx expands again and gets even bigger then the 21 GB.
Thanks,
Thomas

~~
The RedHat 6.5 is not supported guest system,
~
RHEL 6.5 in VM on Hyper-V is even _certified_ solution
~
P.S. About .vhdx itself  and BlockSizeBytes 1MB  ( 32Mb as default )  see next message
P.P.S.
~ ~
"So RedHat itself supports the virtual machine, but Microsoft not?"
Depends upon how you define the word 'support'.  Microsoft has never supported any Linux operating system in the manner that it supports software it has written.  In this case, support means providing fixes to the software code.  That is pretty
standard across the board.  RedHat does not support Microsoft applications or software, either.
However, if you mean the Microsoft supports the running of the RedHat operating system within Hyper-V, the answer is yes.  In those cases where it is not obvious that a problem is occurring in Microsoft's integration components, it will work with RedHat
to determine where the error lies.  If the cooperative effort between Microsoft and RedHat determines the problem is with Microsoft code, Microsoft will fix (support) it.  If it is determined that the problem is not with Microsoft code, RedHat will
make the determination as to whether or not to fix (support) it.
.:|:.:|:. tim
~ ~
https://www.redhat.com/promo/svvp/
==
Red Hat Enterprise Linux and Microsoft Windows Virtualization Interoperability
In February 2009 Red Hat and Microsoft signed reciprocal agreements
to enable cross-certification of the companies' virtualization
platforms.  . . .   . As a result, customers are able to
deploy heterogeneous virtualization environments comprising Microsoft
Windows and Red Hat Enterprise Linux with full technical support
available from both companies.
The completed certifications include:
Certification of Windows Server 2008 Hyper-V, Microsoft Hyper-V
Server 2008, Windows Server 2008 R2 Hyper-V and Microsoft Hyper-V Server
2008 R2 host with Red Hat Enterprise Linux 5.2, 5.3, and 5.4 guests.
Customers with valid support agreements receive cooperative technical support for:
 . . . , and
running Red Hat Enterprise Linux virtualized on Windows Server 2008 Hyper-V.
==
Hyper-V Supported Virtual Machines and Guest Operating Systems
==
Supported guest operating systems
Server guest operating system (Linux) on Hyper-V in Windows Server 2008 R2
Editions
Virtual processors
CentOS 5.5-5.9
x86 edition and x64 edition
1, 2, 3, or 4
CentOS 6.0-6.4
x86 edition and x64 edition
1, 2, 3, or 4
Red Hat Enterprise Linux 5.5-5.8
x86 edition and x64 edition
1, 2, 3, or 4
Red Hat Enterprise Linux 5.9
Red Hat certified.
x86 edition and x64 edition
1, 2, 3, or 4
Red Hat Enterprise Linux 6.0-6.3.
x86 edition and x64 edition
1, 2, 3, or 4
Red Hat Enterprise Linux 6.4
Red Hat certified.
x86 edition and x64 edition
1, 2, 3, or 4
SUSE Linux Enterprise Server 10 with Service Pack 4
x86 edition and x64 edition
1, 2, 3, or 4
SUSE Linux Enterprise Server 11 with Service Pack 1, Service Pack 2 or Service Pack 3
x86 edition and x64 edition
1, 2, 3, or 4
Ubuntu 12.04 and 12.10
x86 edition and x64 edition
1, 2, 3, or 4
Ubuntu 13.04 and 13.10
x86 edition and x64 edition
1, 2, 3, or 4
Oracle Linux 6.4
Note
Oracle Linux is only supported when running the Red Hat Compatible Kernel.
x86 edition and x64 edition
1, 2, 3, or 4
==
 +
==
CentOS 5.7 – 5.8
Drivers: IDE, SCSI, and networking
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are distributed through a download available at
http://www.microsoft.com/en-us/download/details.aspx?id=34603
CentOS 5.9
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
CentOS 6.0 - 6.3
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are distributed through a download available at
http://www.microsoft.com/en-us/download/details.aspx?id=34603
CentOS 6.4
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Red Hat Enterprise Linux 5.7- 5.8
Drivers: IDE, SCSI, and networking
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are distributed through a download available at
http://www.microsoft.com/en-us/download/details.aspx?id=34603
Red Hat Enterprise Linux 5.9
Red Hat certified
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Red Hat Enterprise Linux 6.0 – 6.3
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are distributed through a download available at
http://www.microsoft.com/en-us/download/details.aspx?id=34603
Red Hat Enterprise Linux 6.4
Red Hat certified
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
SUSE Linux Enterprise Server 11 with Service Pack 2 and Service Pack 3
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Open SUSE 12.1
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Ubuntu 12.04 and 12.10
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Ubuntu 13.04 and 13.10
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Oracle Linux 6.4
Drivers: IDE, SCSI, networking, and mouse
Services: Time synchronization, operating system shutdown, and heartbeat
Integration services are built-in and do not require a separate download and installation.
Note
Oracle Linux is only supported when running the Red Hat Compatible Kernel.
==

Similar Messages

  • Backing Up Hyper-V Virtual Machines with dynamic vhdx disks attached

    Hi folks.
    Can i  make an online backup
    for a virtual machine that has a hard drive
    attached  dynamic vhdx running on
    windows server 2012 r2?
    Regards

    I think we should try to duplicate this using diskshadow.exe to create a persistent snapshot and manually copy a VM.
    1) On the hyper-V host open an administrative command prompt.
    2) Run diskshadow.exe - and after it starts enter the following commands as written except for the drive letters used:
       Diskshadow> Set Verbose on
       Diskshadow> Set context Persistent
       Diskshadow> Add Volume X: ALIAS xvol    (Where
    X: is the drive letter of the volume containing the Hyper-V guests you want to make a snapshot for)
       Diskshadow> Begin backup
       Diskshadow> create                   
       Diskshadow>end backup
       DiskShadow> Expose %xvol% S:              (Where S: is a free drive letter)
    3) Now Go into explorer and copy out VM's from the S: Drive which is the live shadow copy and see if that duplicates your problem.
    When you are done, delete the shadow copy in diskshadow using the following command.
       DiskShadow>Delete shadows exposed S:  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Virtual Machine Manager database was not created

    Hi
    I Use this
    link to Install SYVM 2012 SP1 on My lab .
    But When i got section "Install VMM", The installation Give me the following error .
    The Virtual Machine Manager database was not created.
    The Virtual Machine Manager database was not created. Delete VirtualManagerDataBase.mdf and VirtualManagerDataBase_log.ldf if they exist at or use a unique name for the database. Also, verify that disk quota management is not enabled for the drive where the database is being created. Then run Setup again.
    how to fix it ?
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:

    I also disable the firewall on SQL Server , but doesn't work .
    Now i Create data base manually and i can cross that error , but it stop with this new error
    Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
    Facebook:

  • 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.

  • 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.

  • 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

  • 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

  • IDM's config.sh failed on "Could not create the Java virtual machine"

    I have OL5.7 32bit(Oracle Linux) set 2.5GB RAM. Installed rcu11.1.1.5's schemas, wls10.3.5, idm11.1.1.2.0 and patched to tdm11.1.1.5.0
    I tried to configure IDM's components OID, OVD and ODSM and to create the domain for these.
    ORACLE_HOME=/u01/app/oracle/FM/Oracle_IDM1
    <ORACLE_HOME>/bin/config.sh
    error msg:
    >
    [oracle@buoel57 bin]$ ./config.sh
    Starting Fusion Middleware Configuration Wizard
    ORACLE_HOME set as /u01/app/oracle/FM/Oracle_IDM1
    PATH set as /u01/app/oracle/FM/Oracle_IDM1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/home/oracle/bin
    LD_LIBRARY_PATH set as /u01/app/oracle/FM/Oracle_IDM1/lib
    Starting Oracle Universal Installer...
    Checking swap space: must be greater than 500 MB. Actual 4191 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-11-24_10-07-38AM. Please wait ...[oracle@buoel57 bin]$
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    [oracle@buoel57 bin]$
    >
    Java info
    >
    [oracle@buoel57 bin]$ which java
    /u01/app/oracle/FM/jdk160_24/bin/java
    [oracle@buoel57 bin]$ 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)
    [oracle@buoel57 bin]$
    >
    Where should I start to look?
    The log as follow, no much info
    >
    [oracle@buoel57 logs]$ more installActions2011-11-24_12-04-36PM.log
    The file oraparam.ini could not be found at /u01/app/oracle/FM/Oracle_IDM1/bin/../oui/bin/oraparam.ini
    Using paramFile: /u01/app/oracle/FM/Oracle_IDM1/oui/oraparam.ini
    Checking swap space: must be greater than 500 MB. Actual 4191 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    The number of files bootstrapped for the jre is 699.
    The number of files bootstrapped for the oui is 100.
    Using the umask value '027' available from oraparam.ini
    Execvp of the child jre : the cmdline is /tmp/OraInstall2011-11-24_12-04-36PM/jre/bin/java, and the argv is
    /tmp/OraInstall2011-11-24_12-04-36PM/jre/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2011-11-24_12-04-36PM/oui/lib/linux
    -Doracle.installer.oui_loc=/tmp/OraInstall2011-11-24_12-04-36PM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/u01/app/oracle/FM/Oracle_IDM1/oui/bin
    -Doracle.installer.jre_loc=../../jre
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=/tmp/OraInstall2011-11-24_12-04-36PM/prereq
    -Doracle.installer.unixVersion=2.6.32-200.13.1.el5uek
    -mx1024m
    -XX:MaxPermSize=1024m
    -cp
    /tmp/OraInstall2011-11-24_12-04-36PM::/tmp/OraInstall2011-11-24_12-04-36PM/ext/jlib/enginehelp.jar:/tmp/OraInstall2011-11-24_12-04-3
    6PM/ext/jlib/dms.jar:/tmp/OraInstall2011-11-24_12-04-36PM/ext/jlib/commonutils.jar:/tmp/OraInstall2011-11-24_12-04-36PM/ext/jlib/mes
    sage.jar:/tmp/OraInstall2011-11-24_12-04-36PM/ext/jlib/glassfish.jaxb.xjc_1.2.0.0_2-1-7.jar:/tmp/OraInstall2011-11-24_12-04-36PM/ext
    lib/ojmisc.jar:/tmp/OraInstall2011-11-24_12-04-36PM/oui/jlib/xml.jar:/tmp/OraInstall2011-11-24_12-04-36PM/oui/jlib/srvm.jar:/tmp/Ora
    Install2011-11-24_12-04-36PM/oui/jlib/classes12.jar
    oracle.sysman.oio.oioc.OiocOneClickInstaller
    UnixGroups="{oinstall,dba,}"
    -scratchPath
    /tmp/OraInstall2011-11-24_12-04-36PM
    -sourceType
    network
    -timestamp
    2011-11-24_12-04-36PM
    -weblogicConfig
    ORACLE_HOME=/u01/app/oracle/FM/Oracle_IDM1
    -invPtrLoc
    /u01/app/oracle/FM/Oracle_IDM1/oraInst.loc
    -oneclick
    -Doracle.config.mode=true
    [oracle@buoel57 logs]$
    [oracle@buoel57 logs]$

    Looks like you do not have enough free memory to create the 1GB Java VM you are trying to create. Have you checked that the server has enough free RAM?

  • Create Hyper-V Virtual Machines with Windows PowerShell searching on hostname

    Dear,
    I’m a starter with PowerShell scripting an I’m looking for a script to create Hyper-V Virtual Machines with Windows PowerShell. The idea behind the script is that when I run the script its first searching for the hostname. I’m migrating 24 locations and each
    location have a different hostname like xxx-SRV001. The script needs to use the first 3 signs from the hostname in this case “xxx” and create 2 VM's with below info:
    Virtual Machine 1 2048MB
    Virtual Machine 2 4096MB
    Location D:\VM\
    I can create VM's with Powershell into Hyper-V so only a script to first searching for the first 3 characters of the hostname is enough.
    Example:
    It's the intention that when the script runs it's looking for the hostname. As example we have hostname 000-SRV001
    If the script see the first 3 characters of the hostname, in this case 000 he need to create 2 VMs with name xxx-SRV002 and xxx-SRV004
    I think it must be something with 
    $hostname = "Get-WmiObject -computername $Machine Win32_Computersystem"
    But then when i'm asking for $hostname he must give me back the hostname and if the hostname is 1 of the 24 locations then he need to create 2 vm's in Hyper-V with above info.
    Can you help me or do you have a script for this? 

    Juste use :
    $vram = 1GB*$vRam
    You not need the "
    Do you have any error with the creation of the VM?
    # Variables
    $VMName = Import-Csv "C:\HyperV\input.csv"
    $VHD = 40GB
    $VMLOC = "C:\HyperV"
    $vSwitch = "External"
    $ISO = "C:\ISO\WinServer2012R2.iso"
    $LocationCode = $env:COMPUTERNAME.Split("-")[0]
    # Create VM Folder
    MD $VMLOC -ErrorAction SilentlyContinue
    Foreach ($VM in $VMNames)
    $Name = $VM.name
    [int64]$vRam = $vm.vram
    $vram = 1GB*$vRam
    $VMName = $LocationCode+$Name
    # Create Virtual Machine
    New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VMLOC\$VMName\Virtual Harddisks\$VMName.vhdx" -NewVHDSizeBytes $VHD -SwitchName $vSwitch
    # Configure Virtual Machines
    Set-VMDvdDrive -VMName $VMName -Path $ISO
    Start-VM $VMName
    # Configure Virtual Machines
    Set-VMDvdDrive -VMName $VMName -Path $ISO
    Start-VM $VMName
    Error message 
    New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
    Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID 8F5F32D7-F1A0-4A68-8B01-CA6661869A1E)
    A parameter that is not valid was passed to the operation.
    At line:20 char:5
    + New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:23 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:24 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:27 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:28 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    New-VM : '003' failed to modify device 'Memory'. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
    Invalid startup memory amount assigned for '003'. The minimum amount of memory you can assign to this virtual machine is '32' MB. (Virtual machine ID C0FC835E-36D4-462E-BD21-69A75A808E2F)
    A parameter that is not valid was passed to the operation.
    At line:20 char:5
    + New-VM -Name $VMName -Path $VMLOC -MemoryStartupBytes $vRam -NewVHDPath "$VM ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VM], VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:23 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:24 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand
    Set-VMDvdDrive : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:27 char:5
    + Set-VMDvdDrive -VMName $VMName -Path $ISO
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Set-VMDvdDrive], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.SetVMDvdDriveCommand
    Start-VM : A parameter is invalid. Hyper-V was unable to find a virtual machine with name 003.
    At line:28 char:5
    + Start-VM $VMName
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (003:String) [Start-VM], VirtualizationInvalidArgumentException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.StartVMCommand

  • Not able to connect Azure Linux Virtual Machine with Putty

    Hi,
    I am not bale to connect Azure Linux Virtual Machine with Putty... Error shows "Network error: connection timed out".
    Please help.
    Thanks,
    Techsol
    Thanks, Kk

    Hi TechSol01,
    Thanks for posting here.
    I suggest you to try the below steps
    On a computer running a Windows operating system, you might want to use an SSH client such as PuTTY. For more information, see the
    PuTTY Download Page.
    On a computer running a Linux operating system, you might want to use an SSH client such as OpenSSH. For more information, see
    OpenSSH.
    If it is the endpoint configuration, you can go to the portal and add port 22, (it should already be there by default). 
    Now if it is locked out of the VM because of the firewall on the VM, which is called iptables , You won't be able to connect to the VM,
    If you haven’t configured the port 22. You may have to follow the below steps :
    A = Original VM (Inaccessible VM)
    B = New VM (New Temp VM)
    1)  Stop VM  A via the Azure management portal
    2) Delete VM A BUT select “keep the attached disks”
    3) Once the lease is cleared, attach the Data Disk from A to VM B via the Azure Portal, Virtual Machines, Select “B”, Attach Disk
    4) On VM “B” eventually the disk will attach and you can then mount it.
    5) Locate the drive name to mount, on VM “B” look in relevant log file note each linux is slightly different.
    grep SCSI /var/log/kern.log (ubuntu)
    grep SCSI /var/log/messages (centos, suse, oracle)
    6) Mount the attached disk onto mountpoint /tempmount
    df -h
    mkdir /tempmount
    mount /dev/sdc1 /tempmount
    df –h
    7) Now you should be able to clear the rules set from the configuration file of the firewall, by accessing it
    through /tempmount
    Let me know if this works
    Girish Prajwal

  • 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

  • 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......

  • 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

  • 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!

Maybe you are looking for