Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

GlobalPlatform utility in Java

802338Feb 14 2014 — edited Feb 18 2014

Hello,

With more easily available JavaCard-s with default keys and even some interesting open source JavaCard applications around on Github and elsewhere, I grew upset with the fact that managing JavaCard applications on a card was a PITA with open source software and all those small gpshell snippets around that required to maintain a constant memory picture of half page of hex strings and re-editing...

... I thus created one new(er) utility that at this point of time is IMHO stable enough to be used by others too, and is "better than the rest" when used from command line.

Since almost all JavaCard developers already have Java on their workstations, having a tool in Java is also more natural than C. The codebase borrows heavily from GPJ (as still being licensed LGPL3) but to some extent is a significant re-write (and includes MIT/LGPL code).

Nevertheless here it is: https://github.com/martinpaljak/GlobalPlatform

The utility is also frequently tested with a bunch of different recent-and-decent JavaCard's that are easily available from the web (the list is currently incomplete, must do bookkeeping, please update if you can):

https://github.com/martinpaljak/GlobalPlatform/wiki/TestedCards

With the overall goal of making it easy for anyone to start tinkering and to demystify smart card development (if you're after lots of hex with matrix style, do use the -debug option). Thus if you have any questions or suggestions regarding usability and "DWIM", please do let me know (I'm not a frequent visitor to this forum, so please use github issues if possible, otherwise expect a delay of few days or even weeks).

Best,

Martin

Comments

Dude!
Answer
VirtualBox can run VMs created by VMware Workstation or Server.

RHEL/CentOS/OEL:
# sudo yum install qemu

Ubuntu, Debian:
# sudo apt-get install qemu

1. Convert a VMWare Image to VirtualBox Image:
# qemu-img convert vmware.vmdk /tmp/vbox.bin

2. Use VBoxManage to convert image:
# VBoxManage convertdd /tmp/vbox.bin vbox.vdi

- Start Virtual Box
- Goto File > Virtual Disk Manager
- Click Add.  Locate and select the copied .vmdk file. Click OK.
- Create a New VM as usual using the added vmdk file
- Boot the VM


To convert virtualbox image in to vmware image you can use following:

1. Convert .vdi file in to .raw file
# VBoxManage internalcommands converttoraw vbox.vdi vbox.raw

2. Convert .raw file into .vmdk
# qemu-img convert -O vmdk vbox.raw test.vmdk
Marked as Answer by 732975 · Sep 27 2020
732975
Genius! Thank you Markus!
I've used VMware fusion (which is for mac, as you know it), but will that make any difference from the ones
created by VMware Workstation or Server ?

Edited by: user1175367 on Jul 28, 2010 3:49 PM
732975
comments as above.
Dude!
I do not use WMware Fusion on my Macbook Pro anymore since I needed Firewire support and therefore use rEFlt with native triple boot now.

Q.app, which is Qemu for MacOSX. It can be found here:
http://www.kju-app.org/

Qemu supports the following formats: qcow2 vvfat vpc bochs dmg cloop vmdk qcow host_device raw
# qemu-img.exe convert -O vmdk hdd.vdi hdd.vmdk

VMware provides a tool called VMware Converter. VMware Converter eases interoperability among VMware hosted products (Workstation, VMware Server, VMware Player, and Fusion), VirtualCenter-managed ESX Server 3.x and 2.5.x, and unmanaged ESX Server 3.x.

http://www.vmware.com/support/converter/doc/releasenotes_conv302.html

It's for Windows platform only, but below can be used to convert a Windows system running inside Virtualbox to WMware fusion on Mac.
http://www.vmware.com/download/fusion/windows_to_mac.html
732975
thank you
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 18 2014
Added on Feb 14 2014
4 comments
2,487 views