/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
//package com.oracle.java.corelibs;

/**
 *
 * @author ababroy
 */
import sun.misc.BASE64Decoder; // once this gets fixed we are hoping to use java 8's Base64 
/* Name of the class has to be "Main" only if the class is public. */ 
public class Main { 
public static void main(String[] args) throws java.lang.Exception { 
// your code goes here 
String encodedString = "ohAmCN+16W4="; 
BASE64Decoder decoder = new BASE64Decoder(); 
byte[] decodedBytes; 
decodedBytes = decoder.decodeBuffer(encodedString); 
System.out.println(new String(decodedBytes, "UTF-8")); 

} 
} 