| | |
Importing a library
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2007
Posts: 12
Reputation:
Solved Threads: 0
Hello to all users,
I am using a NetBeans IDE 4.1. I want to import packages that are packed in a zip file. I open the project window, then with right click on the project icon I selected properties and then in libraray menu i added the zip file. Then, I tried to import packages from that zip file in my source code, but I always received a message "package does not exist". What especially puzzles me that during writing command import and name of the packages after every dot the windows pops up showing listing names of the all subclasses that cannot be recognized later!!!
What should I do?
I am using a NetBeans IDE 4.1. I want to import packages that are packed in a zip file. I open the project window, then with right click on the project icon I selected properties and then in libraray menu i added the zip file. Then, I tried to import packages from that zip file in my source code, but I always received a message "package does not exist". What especially puzzles me that during writing command import and name of the packages after every dot the windows pops up showing listing names of the all subclasses that cannot be recognized later!!!
What should I do?
Can you elaborate more what you trying to achive?
Packages in zip file? If you download it something from internet you can drop down the link so we can see it (as long it is not illegal)
Packages in zip file? If you download it something from internet you can drop down the link so we can see it (as long it is not illegal)
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Apr 2007
Posts: 12
Reputation:
Solved Threads: 0
Link is:
http://www.vividsolutions.com/jump/
Why is the version of NetBeans so important? I imported already few libraries with this version, and I did not have problems.
http://www.vividsolutions.com/jump/
Why is the version of NetBeans so important? I imported already few libraries with this version, and I did not have problems.
You need to extract the zip which you downloaded(jump-1.2.zip) in lib you have all jar files which are required for this application and in the doc folder you find some documentation which also include JUMP Installation Guide.pdf with instructions.
I think that zip little messy, but as long it does what you expect to do its fine
I think that zip little messy, but as long it does what you expect to do its fine
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
the version of NB could very well be important.
Not only does NB suck in general and do later versions suck a bit less than older ones, but older versions may not work with the JVM needed to use modern libraries.
Not only does NB suck in general and do later versions suck a bit less than older ones, but older versions may not work with the JVM needed to use modern libraries.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Apr 2007
Posts: 12
Reputation:
Solved Threads: 0
What should I use instead of NetBeans?
To Peter_Budo:
I have not found any Instalation Guide. Could you tell me where you found the installation instructions?
In NetBeans do I have to additionally to add CLASSPATH or everything can be done through Library Manager
To Peter_Budo:
I have not found any Instalation Guide. Could you tell me where you found the installation instructions?
In NetBeans do I have to additionally to add CLASSPATH or everything can be done through Library Manager
Last edited by rinko; May 15th, 2007 at 6:19 am. Reason: Additional line
I use JCreator on Windows platform, you can buy full version for something like £30 or get free LightEdition, but then it is my choice.
I went to the website to which you provided link. Downloaded jump-1.2.zip. Extracted with WinRar and got 3 folders bin(binnary), doc(documentation) and exc(executable).
Executable contains all JAR file which are required to run Jump. In general for Windows you will use CLASSPATH in System Properties>Advanced>Enviroment Variables to tell JVM where to look for the libraries (to get System Properties do right mouse click on My Computer and select Properties)
Binnary should contains actual source code which you may change and recompile if you want, in this case there was something with Ants, but not sure as I did not worked with it yet. However I did not see any hint of coding just some unknow file extensions to me.
Documentation has few pdf with instalation instructions, user manual and licence plus some stuff in txt format. So it is hear where I found that instalation instructions.
PS: I hope you have same version of Jump like I downloaded
•
•
•
•
To Peter_Budo:
I have not found any Instalation Guide. Could you tell me where you found the installation instructions?
In NetBeans do I have to additionally to add CLASSPATH or everything can be done through Library Manager
Executable contains all JAR file which are required to run Jump. In general for Windows you will use CLASSPATH in System Properties>Advanced>Enviroment Variables to tell JVM where to look for the libraries (to get System Properties do right mouse click on My Computer and select Properties)
Binnary should contains actual source code which you may change and recompile if you want, in this case there was something with Ants, but not sure as I did not worked with it yet. However I did not see any hint of coding just some unknow file extensions to me.
Documentation has few pdf with instalation instructions, user manual and licence plus some stuff in txt format. So it is hear where I found that instalation instructions.
PS: I hope you have same version of Jump like I downloaded
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Why not Eclipse ?
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Fair? I never tried Eclipse had no need as JCreator always worked for me, just install confirm path to instalation to Java you wish to use and codeeeeeeeeeeee it
Not saying that Eclipse is bad, just never used it.
Not saying that Eclipse is bad, just never used it.
Last edited by peter_budo; May 17th, 2007 at 4:11 pm.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Other Threads in the Java Forum
- Previous Thread: JLabel visible delay
- Next Thread: Java communication with Internet
| Thread Tools | Search this Thread |
Tag cloud for Java
@param add android api apple applet application arguments array arrays automation bank binary binarytree bluetooth bold chat chatprogramusingobjects class classes client code compare component coordinates database digit draw eclipse editor error event exception fractal game givemetehcodez graphics gui guidancer health html ide image input int integer integration j2me jarfile java javac javame javaprojects jmf jni jpanel julia keytool learningresources linux list loop map method methods mobile netbeans newbie nonstatic number oracle pattern print problem program programming project projectideas recursion scanner screen server set sharepoint size sms socket sort sorting sql sqlserver string swing test text-file threads time tree web windows






