944,013 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 7270
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
May 14th, 2007
0

Importing a library

Expand Post »
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rinko is offline Offline
12 posts
since Apr 2007
May 14th, 2007
0

Re: Importing a library

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)
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
May 14th, 2007
0

Re: Importing a library

and why's he using NB 4.1? 5.5 is available and 6.0 in beta.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
May 14th, 2007
0

Re: Importing a library

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rinko is offline Offline
12 posts
since Apr 2007
May 14th, 2007
0

Re: Importing a library

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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
May 14th, 2007
0

Re: Importing a library

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
May 15th, 2007
0

Re: Importing a library

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rinko is offline Offline
12 posts
since Apr 2007
May 15th, 2007
0

Re: Importing a library

Click to Expand / Collapse  Quote originally posted by rinko ...
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.

Click to Expand / Collapse  Quote originally posted by rinko ...
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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
May 17th, 2007
0

Re: Importing a library

Why not Eclipse ?
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 720
Failure as a human
~s.o.s~ is offline Offline
8,872 posts
since Jun 2006
May 17th, 2007
0

Re: Importing a library

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.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: JLabel visible delay
Next Thread in Java Forum Timeline: Java communication with Internet





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC