Click to See Complete Forum and Search --> : Package importing


definition
April 20th, 2005, 05:06 AM
hey guys this is going to sound really dumb but i need help importing a package into Jbuilder, basically ive downloaded jusb and need to know how to get the compiler to recognise my

import usb.core.*;


do i have to set the path at all?
how to i import in jbuilder?

dlorde
April 20th, 2005, 10:15 AM
If the package is a jar file, it must go on the classpath. How to do this in JBuilder is explained in the JBuilder documentation (see Building applications - Managing Paths : Adding Archives (http://info.borland.com/techpubs/jbuilder/jbuilder2005/bajb/pathmgmt.html#archives)).

You don't need to know it if you know where to find it...

definition
April 20th, 2005, 11:51 AM
thanks for your reply dude, it was problem with jbuilder I restarted and it popped up as an option to include the package, nevermind.