Change java:exec to use the new menus
Remove switch menu