Importing a library

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2007
Posts: 12
Reputation: rinko is an unknown quantity at this point 
Solved Threads: 0
rinko rinko is offline Offline
Newbie Poster

Importing a library

 
0
  #1
May 14th, 2007
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?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,241
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 491
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Importing a library

 
0
  #2
May 14th, 2007
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)
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Importing a library

 
0
  #3
May 14th, 2007
and why's he using NB 4.1? 5.5 is available and 6.0 in beta.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 12
Reputation: rinko is an unknown quantity at this point 
Solved Threads: 0
rinko rinko is offline Offline
Newbie Poster

Re: Importing a library

 
0
  #4
May 14th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,241
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 491
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Importing a library

 
0
  #5
May 14th, 2007
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
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Importing a library

 
0
  #6
May 14th, 2007
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 12
Reputation: rinko is an unknown quantity at this point 
Solved Threads: 0
rinko rinko is offline Offline
Newbie Poster

Re: Importing a library

 
0
  #7
May 15th, 2007
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
Last edited by rinko; May 15th, 2007 at 6:19 am. Reason: Additional line
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,241
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 491
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Importing a library

 
0
  #8
May 15th, 2007
Originally Posted by rinko View Post
What should I use instead of NetBeans?
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.

Originally Posted by rinko View Post
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
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
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,638
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 470
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Importing a library

 
0
  #9
May 17th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,241
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 491
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Importing a library

 
0
  #10
May 17th, 2007
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.
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC