java - Import JScience Measure into NetBeans -


i have basic question. trying use measurement functionality in jscience. downloaded .jar files (http://java.net/projects/jscience/downloads) created new library of .jar files loaded.

my "tree" is: enter image description here

my import statement is:

import javax.measure; 

the compiler complains package javax.measure not exist. doing wrong?

thank you

the syntax importing in java is:

for individual class:

import com.mypackage.classname; 

for entire package:

import com.mypackage.*; 

to import entire measure package, can use:

import javax.measure.*; 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -