Examples of SpeakerNPC


Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests buying daisies seed from Jenny.
   */
  @Test
  public void testSellingDaisiesSeed() {
    final SpeakerNPC npc = getNPC("Jenny");
    final Engine en = npc.getEngine();

    assertTrue(en.step(player, "hi"));
    assertEquals("Greetings! I am Jenny, the local miller. If you bring me some #grain, I can #mill it into flour for you.", getReply(npc));

    equipWithMoney(player, 20);
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests for hiAndBye.
   */
  @Test
  public void testHiAndBye() {
    final SpeakerNPC npc = getNPC("Fleur");
    final Engine en = npc.getEngine();

    assertTrue(en.step(player, "hi Fleur"));
    assertEquals("Hi! Are you here to #trade?", getReply(npc));

    assertTrue(en.step(player, "bye"));
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

    assertEquals("weapons_collector2", wc.getSlotName());
  }

  @Test
  public final void rejectQuest() {
    SingletonRepository.getNPCList().add(new SpeakerNPC("Balduin"));
    final WeaponsCollector2 wc = new WeaponsCollector2();
    wc.addToWorld();
    final SpeakerNPC npc = wc.getNPC();
    final Engine en = npc.getEngine();
    final Player pl = PlayerTestHelper.createPlayer("player");

    // set previous quest to done
    pl.setQuest("weapons_collector", "done");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

        getReply(npc));
  }

  @Test
  public final void doQuest() {
    SingletonRepository.getNPCList().add(new SpeakerNPC("Balduin"));
    final WeaponsCollector2 wc = new WeaponsCollector2();
 
    wc.addToWorld();
    final SpeakerNPC npc = wc.getNPC();
    final Engine en = npc.getEngine();
    final Player pl = PlayerTestHelper.createPlayer("player");

    // set previous quest to done
    pl.setQuest("weapons_collector", "done");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

    final Player player2 = PlayerTestHelper.createPlayer("player2");
    processor.addPlayer(player2);
    zone.add(player2);

    final NPC npc = new SpeakerNPC("npc");
    zone.add(npc);
  }
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests for hiAndbye.
   */
  @Test
  public void testHiAndbye() {
    final SpeakerNPC npc = getNPC("Tad");
    final Engine en = npc.getEngine();
    en.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertTrue(npc.isTalking());
    assertEquals(SSSHH_COME_HERE, getReply(npc));
    en.step(player, "task");
    assertTrue(npc.isTalking());
    assertEquals(
        "I'm not feeling well... I need to get a bottle of medicine made. Can you fetch me an empty #flask?",
        getReply(npc));
    en.step(player, "flask");
    assertTrue(npc.isTalking());
    assertEquals("You could probably get a flask from #Margaret.", getReply(npc));
    en.step(player, ConversationPhrases.GOODBYE_MESSAGES.get(0));
    assertFalse(npc.isTalking());
    assertEquals("Bye.", getReply(npc));
  }
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests for hiNoAndHiAgain.
   */
  @Test
  public void testHiNoAndHiAgain() {
    final SpeakerNPC npc = getNPC("Tad");
    final Engine en = npc.getEngine();
    en.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertTrue(npc.isTalking());

    en.step(player, "task");
    assertTrue(npc.isTalking());
    assertEquals(
        "I'm not feeling well... I need to get a bottle of medicine made. Can you fetch me an empty #flask?",
        getReply(npc));
    en.step(player, "No");
    assertTrue(npc.isTalking());
    assertEquals("Oh, please won't you change your mind? *sneeze*", getReply(npc));
    en.step(player, ConversationPhrases.GOODBYE_MESSAGES.get(0));
    assertFalse(npc.isTalking());
    assertFalse(player.hasQuest(QUEST_SLOT));
    assertEquals("Bye.", getReply(npc));
    en.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertTrue(npc.isTalking());
    assertEquals(MedicineForTadTest.SSSHH_COME_HERE, getReply(npc));
    en.step(player, ConversationPhrases.GOODBYE_MESSAGES.get(0));
  }
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests for quest.
   */
  @Test
  public void testQuest() {
    final SpeakerNPC tad = getNPC("Tad");
    final Engine engineTad = tad.getEngine();
    engineTad.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertTrue(tad.isTalking());
    assertEquals(SSSHH_COME_HERE, getReply(tad));
    engineTad.step(player, "task");
    assertTrue(tad.isTalking());
    assertEquals(
        "I'm not feeling well... I need to get a bottle of medicine made. Can you fetch me an empty #flask?",
        getReply(tad));
    engineTad.step(player, "yes");
    assertTrue(player.hasQuest(QUEST_SLOT));
    engineTad.step(player, ConversationPhrases.GOODBYE_MESSAGES.get(0));
    assertFalse(tad.isTalking());
    assertEquals("Bye.", getReply(tad));

    final StackableItem flask = new StackableItem("flask", "", "", null);
    flask.setQuantity(1);
    flask.setID(new ID(2, ZONE_NAME));
    player.getSlot("bag").add(flask);
    assertTrue(player.isEquipped("flask"));
    engineTad.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertTrue(tad.isTalking());
    assertEquals(
        "Ok, you got the flask! Here take this money to cover your expense. Now, I need you to take it to #ilisa... she'll know what to do next.",
        getReply(tad));
    assertTrue(player.hasQuest(QUEST_SLOT));
    assertEquals("ilisa", player.getQuest(QUEST_SLOT));
    engineTad.step(player, ConversationPhrases.GOODBYE_MESSAGES.get(0));

    final SpeakerNPC ilisa = getNPC("Ilisa");
    final Engine engineIlisa = ilisa.getEngine();
    engineIlisa.step(player, ConversationPhrases.GREETING_MESSAGES.get(0));
    assertEquals(
        "Ah, I see you have that flask. #Tad needs medicine, right? Hmm... I'll need a #herb. Can you help?",
        getReply(ilisa));
    engineIlisa.step(player, "yes");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

  /**
   * Tests for buyFlower.
   */
  @Test
  public void testBuyFlower() {
    final SpeakerNPC npc = getNPC("Fleur");
    final Engine en = npc.getEngine();

    assertTrue(en.step(player, "hi"));
    assertEquals("Hi! Are you here to #trade?", getReply(npc));

    assertTrue(en.step(player, "job"));
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC

   */
  @Test
  public void testQuest() {
    // first the basics, get a task, and deliver the pizza
   
    final SpeakerNPC leander = SingletonRepository.getNPCList().get("Leander");
    en = leander.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(leander));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(leander));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(leander));
    en.step(player, "yes");
    assertTrue(getReply(leander).startsWith("You must bring this Pizza "));
    en.step(player, "eliza");
    assertTrue(player.isEquipped("pizza"));
    assertEquals("Eliza works for the Athor Island ferry service. You'll find her at the docks south of the Ados swamps.", getReply(leander));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(leander));
    assertTrue(player.hasQuest(questSlot));
   
    // we choose to make it so that he had asked us to take a pizza to a specific npc so we have to remove the
    // old pizza and add the correct new flavour of pizza
   
    player.drop("pizza");
    Item item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza del Mare")
    player.getSlot("bag").add(item);
   
    final SpeakerNPC eliza = SingletonRepository.getNPCList().get("Eliza");
    en = eliza.getEngine();
    int xp = player.getXP();
    player.setQuest(questSlot, "Eliza;" + System.currentTimeMillis());
    en.step(player, "hi");
    assertEquals("Welcome to the #ferry service to #Athor #island! How can I #help you?", getReply(eliza));
    en.step(player, "pizza");
    // [16:55] kymara earns 30 experience points.
    assertEquals("Incredible! It's still hot! Here, buy something nice from these 170 pieces of gold!", getReply(eliza));
    assertFalse(player.isEquipped("pizza"));
    assertTrue(player.isEquipped("money"));
    assertThat(player.getXP(), greaterThan(xp));
    en.step(player, "bye");
    assertEquals("Goodbye!", getReply(eliza));
   
    // try saying pizza when you don't have one nor a quest for one
    en.step(player, "hi");
    assertEquals("Welcome to the #ferry service to #Athor #island! How can I #help you?", getReply(eliza));
    en.step(player, "pizza");
    assertEquals("A pizza? Where?", getReply(eliza));
    en.step(player, "bye");
    assertEquals("Goodbye!", getReply(eliza));
   
    SpeakerNPC npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
    // test rejecting quest
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "no");
    assertEquals("Too bad. I hope my daughter #Sally will soon come back from her camp to help me with the deliveries.", getReply(npc1));
    en.step(player, "sally");
    assertEquals("My daughter Sally might be able to help you get ham. She's a scout, you see; I think she's currently camped out south of Or'ril Castle.", getReply(npc1));
    en.step(player, "bye.");
    assertEquals("Bye.", getReply(npc1));
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "jenny");
    assertEquals("Jenny owns a mill in the plains north and a little east of Semos.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
    assertTrue(player.hasQuest(questSlot));
   
    npc1 = SingletonRepository.getNPCList().get("Jenny");
    en = npc1.getEngine();
    xp = player.getXP();
    // testing taking too long to bring the pizza
    player.setQuest(questSlot, "Jenny;0");
    // we choose to make it so that he had asked us to take a pizza to a specific npc so we have to remove the
    // old pizza and add the correct new flavour of pizza
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Margherita")
    player.getSlot("bag").add(item);
   
    en.step(player, "hi");
    assertEquals("Greetings! I am Jenny, the local miller. If you bring me some #grain, I can #mill it into flour for you.", getReply(npc1));
    en.step(player, "pizza");
    assertFalse(player.isEquipped("pizza"));
    assertTrue(player.isQuestCompleted(questSlot));
    assertThat(player.getXP(), greaterThan(xp));
    // [16:58] kymara earns 5 experience points.
    assertEquals("It's a shame. Your pizza service can't deliver a hot pizza although the bakery is just around the corner.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
   
    // ok, we've already tested getting pizza orders but now we're trying different npcs
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Katinka");
    en = npc1.getEngine();
    player.setQuest(questSlot, "Katinka;" + System.currentTimeMillis());
    // we choose to make it so that he had asked us to take a pizza to a DIFFERENT npc than Katinka
    // so we have to remove the
    // old pizza and add the WRONG new flavour of pizza
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Margherita")
    player.getSlot("bag").add(item);
   
    // on time
    en.step(player, "hi");
    assertEquals("Welcome to the Ados Wildlife Refuge! We rescue animals from being slaughtered by evil adventurers. But we need help... maybe you could do a #task for us?", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("No, thanks. I like Pizza Vegetale better.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Goodbye!", getReply(npc1));
   
    // player find correct pizza
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Vegetale")
    player.getSlot("bag").add(item);
   
    en.step(player, "hi");
    assertEquals("Welcome to the Ados Wildlife Refuge! We rescue animals from being slaughtered by evil adventurers. But we need help... maybe you could do a #task for us?", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("Yay! My Pizza Vegetale! Here, you can have 100 pieces of gold as a tip!", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Goodbye!", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "fidorea");
    assertEquals("Fidorea lives in Ados city. She is a makeup artist. You'll need to walk east from here.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Napoli")
    player.getSlot("bag").add(item);
   
    npc1 = SingletonRepository.getNPCList().get("Fidorea");
    en = npc1.getEngine();
    player.setQuest(questSlot, "Fidorea;" + System.currentTimeMillis());
    // on time
    en.step(player, "hi");
    assertEquals("Hi, there. Do you need #help with anything?", getReply(npc1));
    en.step(player, "pizza");
    // [16:59] kymara earns 20 experience points.
    assertEquals("Thanks a lot! You're a born pizza deliverer. You can have these 150 pieces of gold as a tip!", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye, come back soon.", getReply(npc1));
    assertFalse(player.isEquipped("pizza"));
   
    // try taking any pizza to fidorea when we didn't have a quest slot activated
    item = ItemTestHelper.createItem("pizza");
    player.getSlot("bag").add(item);
    player.removeQuest(questSlot);
    assertFalse(player.hasQuest(questSlot));
   
    en.step(player, "hi");
    assertEquals("Hi, there. Do you need #help with anything?", getReply(npc1));
    en.step(player, "pizza");
    // The flavor won't match
    assertEquals("No, thanks. I like Pizza Napoli better.", getReply(npc1));
    assertTrue(player.isEquipped("pizza"));
    en.step(player, "bye");
    assertEquals("Bye, come back soon.", getReply(npc1));
    // put the extra one on the ground now, we don't want it
    player.drop("pizza");
   
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "jenny");
    assertEquals("Jenny owns a mill in the plains north and a little east of Semos.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
    // we choose to make it so that he had asked us to take a pizza to a specific npc so we have to remove the
    // old pizza and add the correct new flavour of pizza
   
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Margherita")
    player.getSlot("bag").add(item);
    npc1 = SingletonRepository.getNPCList().get("Jenny");
    en = npc1.getEngine();
    player.setQuest(questSlot, "Jenny;" + System.currentTimeMillis());
    // on time
    en.step(player, "hi");
    assertEquals("Greetings! I am Jenny, the local miller. If you bring me some #grain, I can #mill it into flour for you.", getReply(npc1));
    en.step(player, "pizza");
    // [17:00] kymara earns 10 experience points.
    assertEquals("Ah, you brought my Pizza Margherita! Very nice of you! Here, take 20 coins as a tip!", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "katinka");
    assertEquals("Katinka takes care of the animals at the Ados Wildlife Refuge. That's north east of here, on the way to Ados city.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Katinka");
    en = npc1.getEngine();
   
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Vegetale")
    player.getSlot("bag").add(item);
    // be late
    player.setQuest(questSlot, "Katinka;0");
   
    en.step(player, "hi");
    assertEquals("Welcome to the Ados Wildlife Refuge! We rescue animals from being slaughtered by evil adventurers. But we need help... maybe you could do a #task for us?", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("Eek. I hate cold pizza. I think I'll feed it to the animals.", getReply(npc1));
    // [17:10] kymara earns 10 experience points.
    en.step(player, "bye");
    assertEquals("Goodbye!", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();
   
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "cyk");
    assertEquals("Cyk is currently on holiday on Athor Island. You'll easily recognize him by his blue hair. Go South East to find Athor ferry.", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
    player.setQuest(questSlot, "Cyk;" + System.currentTimeMillis());
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Hawaii")
    player.getSlot("bag").add(item);
    // test ask leander for task again before completing last
    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "pizza");
    assertEquals("I need someone who helps me delivering pizza. Maybe you could do that #task.", getReply(npc1));
    en.step(player, "task");
    assertEquals("You still have to deliver a pizza to Cyk, and hurry!", getReply(npc1));
    en.step(player, "bye");
    assertEquals("Bye.", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Cyk");
    en = npc1.getEngine();
    // on time
    en.step(player, "hi");
    assertEquals("Hello, player.", getReply(npc1));
    en.step(player, "pizza");
    // [17:10] kymara earns 50 experience points.
    assertEquals("Wow, I never believed you would really deliver this half over the world! Here, take these Pizza Hawaii bucks!", getReply(npc1));
   
    npc1 = SingletonRepository.getNPCList().get("Leander");
    en = npc1.getEngine();

    en.step(player, "hi");
    assertEquals("Hallo! Glad to see you in my kitchen where I make #pizza and #sandwiches.", getReply(npc1));
    en.step(player, "task");
    assertEquals("I need you to quickly deliver a hot pizza. If you're fast enough, you might get quite a nice tip. So, will you do it?", getReply(npc1));
    en.step(player, "yes");
    assertTrue(getReply(npc1).startsWith("You must bring this Pizza "));
    en.step(player, "haizen");
    assertEquals("Haizen is a magician who lives in a hut near the road to Ados. You'll need to walk east and north from here.", getReply(npc1));
   
    player.drop("pizza");
    item = ItemTestHelper.createItem("pizza");
    item.setInfoString("Pizza Diavolo")
    player.getSlot("bag").add(item);
   
    npc1 = SingletonRepository.getNPCList().get("Haizen");
    en = npc1.getEngine();
    player.setQuest(questSlot, "Haizen;" + System.currentTimeMillis());
    // on time
    en.step(player, "hi");
    assertEquals("Greetings! How may I help you?", getReply(npc1));
    en.step(player, "pizza");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.