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 6731697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:33:35+00:00 2026-05-26T10:33:35+00:00

I just started working on a new Eclipse Android project and want to make

  • 0

I just started working on a new Eclipse Android project and want to make use of classes in the java.awt.geom package. I have OpenJVM 1.6 AND sun 1.6 jdk installed, both from debian’s repositories. When I try to import the package, it says that the import cannot be resolved (in fact, Eclipse’s auto-complete only shows awt and awt.font).

I am beyond confused as to why this is, as I looked at the JRE system libraries set up in my Eclipse by doing: Window > Preferences > Java > Installed JREs > Edit... and I see that I have rt.jar included, and when I locate the jar on disk and examine it’s contents with jar ft rt.jar, I see that it contains java/awt/geom classes.

Does anybody know why I can’t import this package in Eclipse?

Thanks

  • 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-26T10:33:36+00:00Added an answer on May 26, 2026 at 10:33 am

    Android doesn’t strictly use the JRE libraries. Some of them are available and some of them aren’t, depending on what the Android SDK includes. Android projects are built against the Android SDK, which (as it appears) doesn’t have that library.

    For the official list of what the Android SDK does include, go to the source: Google, and checkout the “Reference” tab for the specific version of Android you’re building against.

    This causes some confusion, I know. While much of the Android SDK uses many of the familiar things from the official (or Open) JDK, they’re technically not the same.

    Also, one of the answers to Why does Android use Java? explains that the source code for Android is Java (in terms of the language syntax, structure, etc.), but when compiled to bytecode, it doesn’t use the JDK.

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

Sidebar

Related Questions

I'm an emacs user who just started working for a new company where eclipse
I just started working on a new project and I can't set the build
I am pretty new to image capturing using java. Just started working in java.
I just started working on a new project that already contains a .svn folder
I have just started working with a new Coldfusion project, well the project is
I just started working on a new project with a ton of existing code,
I just started working on my first Visual Studio project, and I imported all
I have just started learning CXF. I made a maven archetype project through eclipse.
I've just started working on a new codebase where each class contains a shared_ptr
So, I've just started working with a new Joomla site, and something we've added

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.