Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 23rd, 2001, 01:12 PM
roman987 roman987 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 17 roman987 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 53 sec
Reputation Power: 0
.jar file

Hi, I have a question. I got a Test.jar file from a Vendor. This Test.jar file contains 2 classes

Class A{

public void getTime()

}



Class B{

public void setTime()

}


The vendor did not give me the A.class and B.class files. My question is how to I call those classes through Test.jar file. If I had .class files I know how to call them, but I had never used .jar .

Please help.
Thanks
roman987@aol.com

Reply With Quote
  #2  
Old October 29th, 2001, 10:57 PM
ehsiung ehsiung is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Pittsburgh, PA
Posts: 3 ehsiung User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do you mean your vendor shipped you A.java and B.java in the
jar file? If so, you can extract them from the jar file and compile
them to A.class and B.class by yourself. A jar file is really just a
zip file so you can use tools like gunzip and WinZip.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > .jar file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway