|
-
Oct 13th, 2005, 11:22 PM
#1
Thread Starter
Frenzied Member
confused about JAR files
I created a JAR file with some classes on it. My question is...how do i use it? How do I use or import the classes in the JAR file to the application i'm writing? Do i use the JAR file as is or am I always suppose to extract ?
-
Oct 13th, 2005, 11:31 PM
#2
Thread Starter
Frenzied Member
Re: confused about JAR files
also...will i need to do something about the set paths and stuff
-
Oct 14th, 2005, 02:34 PM
#3
Frenzied Member
Re: confused about JAR files
Believe this is it, but not sure:
javac.exe -classpath <pathtofile><jarname>.jar;. <program>.java
-
Oct 15th, 2005, 12:40 AM
#4
New Member
Re: confused about JAR files
Well, First you have to set classpath from the files, class can be access nad ya you need to import it as well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|