Solved

what is javax

Posted on 2002-07-01
2
4,964 Views
Last Modified: 2013-11-23
In looking at java code, sometimes i see:
import java.foo2
sometimes i see:
import javax.foo1

what's the significance of javax and opposed to java?
0
Comment
Question by:omom
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 50 total points
ID: 7122429
This indicates that the library in question is an extension (hence x) to the standard API. Such libraries should be placed in <JAVA_HOME>/jre/lib/ext, then there are no classpath problems.
0
 
LVL 2

Expert Comment

by:Jack020800
ID: 24679903
but i tested if my jdk has the javax packages within its lib by trying to import some javax in some sample program, but it gave the same as expected error that, package javax.-- and so on does not exist..!
So i did lots of googling about where to get it, but in vein..people dont seem to be clear with their minds even with jre,jdk,sdk etc terminology.
Can u plz suggest how to get them or which version will support them?

Thanks & Regards
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question