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

  • Home
  • SEARCH
  • 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 8586315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:16:53+00:00 2026-06-11T22:16:53+00:00

I am not sure if my question is more related about Ubuntu or Java,

  • 0

I am not sure if my question is more related about Ubuntu or Java, so pardon me!

I am trying to compile a java program but I get the following error:

package javax.comm does not exist

I have downloaded the required package comm.jar but I do not know how/where should I install/copy this file.

I read somewhere that this should be in CLASSPATH folder but I dont have this folder.

This is what I get for java -version I guess this means I have already installed Java in my system:

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

I also have these folders in /usr/lib/jvm/ :

default-java             java-1.7.0-openjdk-i386  java-6-openjdk-i386
java-1.6.0-openjdk       java-6-openjdk           java-7-openjdk-common
java-1.6.0-openjdk-i386  java-6-openjdk-common    java-7-openjdk-i386
  • 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-06-11T22:16:54+00:00Added an answer on June 11, 2026 at 10:16 pm

    Typically you specify the classpath when you start your java program with the switch
    java -cp your.jar xxxx.java

    But you can also permanently add it to your java installation by copying the jar to the default-java/jre/lib/ext folder.

    Finally take a look at this question: Setting multiple jars in java classpath

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

Sidebar

Related Questions

I'm not sure this question is appropriate here but I hope I could get
Not entirely sure my question title describes what I want to do, but couldn't
I am not sure if this question is already answered. But here it goes:
I'm not sure if this question fits properly, but I'm wondering in tile-based games,
I'm not sure whether this question belongs on StackOverflow or SuperUser, but here goes
I'm not sure if this question has been asked before but are there any
I'm not quite sure stackoverflow is a place for such a general question, but
Note - may be more related to computer organization than software, not sure. I'm
This is an easy question but I am not sure the correct jargon to
I have 2 tables (there are more but un related to question) optionValue and

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.