openjdk no-cacao

Home Forums MultiConnect OCG openjdk no-cacao

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2679
    Mariano Lasala
    Participant

    Hi there!

    As you know we’re continuously making proves with different devices and configurations and now that we successfully loaded a corecdp-openjdk-image we’d want to know if there is any reason for compiling openjdk with Cacao VM.

    What could happen if we make a bb file like this and try to load the rootfs.jffs2 file?:

    ************************************************************

    corecdp-openjdk-nocacao-image file BEGINS.

    ************************************************************

    require corecdp-base-image.bb

    # OpenJDK Java runtime

    IMAGE_INSTALL += “openjdk-6-jre”

    # OpenJDK Zero VM (default)

    IMAGE_INSTALL += “openjdk-6-vm-zero”

    export IMAGE_BASENAME = “corecdp-openjdk-nocacao-image”

    ************************************************************

    corecdp-openjdk-nocacao-image file ENDS.

    ************************************************************

    Regards,

    Mariano Lasala

    #3552
    Jesse Gilles
    Blocked

    You can do this, but the only reason really would be to save some space. You can select between the VMs on the fly when you run java on the device. Even if cacao is installed, zero is still the default VM when you run java. Run ‘java -help’ to see the list of options. You can run ‘java -zero’ or ‘java -cacao’.

    #3553
    Mariano Lasala
    Participant

    OK, thank you for the info.

    Regards,

    Mariano Lasala

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.