• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with JarURLConnection

 
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The problem is that I want to get jar file for classes, no matter where it is located, and make it available to them; so that calling Jar classes from those classes is no problem. We do it all the time, but the jar file is usually in classpath. how to use Jar file not in class path? I have come across JarRunner and JarLoader classes, which one can find in Sun's tutorial about jar files.
It uses URL, JarUrlConnection and Class.load() to run executable jar file whether they are on the net or in your system.
eg:
I used:
java JarRunner file:/c:/Cafe/medical.jar
to run it from e:\myfolder
I think something similar can be done, right?

Thanx in Advance,

Maki Jav
 
Maki Jav
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Is my question too unclear or too tough or what?
I am waiting for a reply guys.


Thanx in Advance,

Maki Jav
[ March 25, 2005: Message edited by: Maki Jav ]
 
I want my playground back. Here, I'll give you this tiny ad for it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic