Skip to content

My cup of JAVA Mystery Cache

Hidden : 11/5/2013
Difficulty:
3 out of 5
Terrain:
1.5 out of 5

Size: Size:   other (other)

Join now to view geocache location details. It's free!

Watch

How Geocaching Works

Please note Use of geocaching.com services is subject to the terms and conditions in our disclaimer.

Geocache Description:

Have a cup of java, and solve that puzzle!

The cache is NOT at the listed coordinate, you know the rule, solve the puzzle and grab the cache.

For me, there are 3 meanings for "JAVA".

1. Coffee
In some countries, including the United States, "Java" can refer to coffee. The Indonesian phrase Kopi Jawa refers not only to the origin of the coffee, but is used to distinguish a style of strong, black, and very sweet coffee.
The Dutch began cultivation of coffee trees on Java (part of the Dutch East Indies) in the 17th century and coffee has been exported globally since.
Java's Arabica coffee production is centered on the Ijen Plateau, at the eastern end of Java, at an altitude of more than 1,400 meters. The coffee is primarily grown on large estates built by the Dutch in the 18th century. The five largest are Blawan (also spelled Belawan or Blauan), Jampit (or Djampit), Pancoer (or Pancur), Kayumas and Tugosari, covering in all more than 4,000 hectares

2. Java Road
Java Road (Chinese: 渣華道) is a street in North Point on Hong Kong Island, Hong Kong.
The road, completed in 1933, is named after the Dutch shipping firm Koninklijke Java-China Paketvaart Lijnen (爪哇輪船公司) - itself named for the island of Java in Indonesia - which had its operational headquarters there for much of the 20th Century. The company provided sea routes between Hong Kong, Shanghai, Jakarta, Bandung, Surabaya and elsewhere. The Chinese name of the road was originally 爪哇道.

3. Computer Programming Language
Java is a computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another.


The puzzle:
/*
* ******************************PROGRAM DESCRIPTION*****************************
* Cache Name : My cup of JAVA
* GC Code : GC4RGDG
* Input argument : 1. What's the street number of building at listed coordinate?
* 2. What's the highest altitude (m) of Ijen?
* Creation Date : 2013/11/05
* Creator : wanrex
* ******************************************************************************
*/

import java.math.*;

public class MyCupOfJava {

public static void main(String[] args) {
  BigDecimal input1 = new BigDecimal(args[0]);
  BigDecimal input2 = new BigDecimal(args[1]);
BigDecimal offset = new BigDecimal("30");

  BigDecimal bd_product = input1.multiply(input2.add(offset).multiply(input2.add(offset)));
  String s_product = bd_product.toString();


  System.out.print("Final Coordinate : ");
  System.out.print("N22 17.");
  System.out.print(s_product.substring(7, 8));
  System.out.print(s_product.substring(2, 3));
  System.out.print(s_product.substring(1, 2));
  System.out.print(" E114 12.");
  System.out.print(s_product.substring(4, 5));
  System.out.print(s_product.substring(3, 4));
  System.out.print(s_product.substring(7, 8));
  }

}

You can check your answers for this puzzle on GeoChecker.com.


Flag Counter



Additional Hints (Decrypt)

Purfg yriry

Decryption Key

A|B|C|D|E|F|G|H|I|J|K|L|M
-------------------------
N|O|P|Q|R|S|T|U|V|W|X|Y|Z

(letter above equals below, and vice versa)