Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7702203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:10:29+00:00 2026-05-31T23:10:29+00:00

I store Guava Library and a testing file Test.java in C:\Program Files\Java\jdk1.6.0_25\bin and execute

  • 0

I store Guava Library and a testing file Test.java in C:\Program Files\Java\jdk1.6.0_25\bin and execute following commands in command prompt:

enter image description here

When I remove the import commands from my code, program execute properly (last command). Can anybody help me where is the problem because it is showing errors with imports.

My code is following:

import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;

public class Test {
    public static void main(String[] args) {
        try {
            String key = "hello";
            Multimap myMap = HashMultimap.create();
            myMap.put(key, 1);
            myMap.put(key, 5000);
            System.out.println(myMap.get(key));
        }
        catch (Exception e) {
            System.out.println(e);
        }
    }
}

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:10:30+00:00Added an answer on May 31, 2026 at 11:10 pm

    It looks like you’re missing a period in guava-11.0.2.jar. Your console appears to indicate that you’re typing guava-11.0.2jar, without a period between the 2 and the jar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java file Test.java (below) which uses Guava's HashMultiMap (downloaded from http://code.google.com/p/guava-libraries/
I use the following guava cache to store messages for a specific time waiting
STORE = { item : function() { } }; STORE.item.prototype.add = function() { alert('test
I store file’s attributes (size, update time…) in database. So the problem is how
I store my templates as files, and would like to have the opportunity to
I store such sqls in a text file: insert into table ...; ... insert
To store uploaded files by users on remote server inside disk folder I change
i store (non equidistant) time series as tables in hdf5 files using the H5TB
I store my connection-string in XML file. Then i use it in powershell script.
To store the functions of a class in an array the following link http://sourcemaking.com/design_patterns/state/cpp/1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.