openjdk no-cacao
- This topic has 2 replies, 2 voices, and was last updated 13 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › openjdk no-cacao
Tagged: openjdk cacao bitbake
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
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’.
OK, thank you for the info.
Regards,
Mariano Lasala