• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5002
  • Last Modified:

what is javax

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?
1 Solution
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.
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now